summaryrefslogtreecommitdiff
path: root/web-ui/package.json
diff options
context:
space:
mode:
authorAnike Arni <aarni@thoughtworks.com>2016-12-27 15:15:39 -0200
committerAnike Arni <aarni@thoughtworks.com>2016-12-27 15:15:39 -0200
commitcb4522fa47d5e46312d53a62654f58c4a53c8cc2 (patch)
tree2bc07218610e051fddd8f745c173965198ae0ec7 /web-ui/package.json
parent411e1f8cfa06fbd049fb055a4f453b56acdb7153 (diff)
Add webpack compilation to build, fix aliases, and add babel
Diffstat (limited to 'web-ui/package.json')
-rw-r--r--web-ui/package.json11
1 files changed, 8 insertions, 3 deletions
diff --git a/web-ui/package.json b/web-ui/package.json
index 5739dc29..8453d7e1 100644
--- a/web-ui/package.json
+++ b/web-ui/package.json
@@ -5,9 +5,13 @@
"repository": "https://github.com/pixelated-project/pixelated-user-agent",
"private": true,
"devDependencies": {
+ "babel": "^6.5.2",
+ "babel-core": "^6.21.0",
+ "babel-loader": "^6.2.10",
+ "babel-preset-es2015": "^6.18.0",
"bower": "1.7.9",
"dompurify": "^0.8.4",
- "flight": "0.0.2",
+ "flightjs": "^1.5.1",
"font-awesome": "^4.7.0",
"foundation": "^4.2.1-1",
"handlebars": "^4.0.5",
@@ -40,7 +44,8 @@
"requirejs": "2.2.0",
"typeahead.js": "^0.11.1",
"utf8": "^2.1.2",
- "watch": "0.19.1"
+ "watch": "0.19.1",
+ "webpack": "^1.14.0"
},
"scripts": {
"test": "npm run jshint --silent && npm run build --silent && karma start --single-run $GRUNT_OPTS",
@@ -51,7 +56,7 @@
"handlebars-watch": "watch 'npm run handlebars' app/templates",
"compass": "compass compile",
"compass-watch": "compass watch",
- "build": "npm run clean && npm run handlebars && npm run add_git_version && npm run compass",
+ "build": "npm run clean && npm run handlebars && webpack --colors --progress && npm run add_git_version && npm run compass",
"jshint": "jshint --config=.jshintrc app test",
"clean": "rm -rf .tmp/ 'dist/*' app/js/generated/hbs/* app/css/*",
"buildmain": "node_modules/requirejs/bin/r.js -o config/buildoptions.js",