summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnike Arni <aarni@thoughtworks.com>2016-12-27 15:38:37 -0200
committerAnike Arni <aarni@thoughtworks.com>2016-12-27 15:38:37 -0200
commit0a64456b53b2b7d3ea67005892332416f6b2c5ba (patch)
tree36a5de2a031f541041c696e823ea9a5736fe9c6b
parentdf7c34ec46cf4f11699a4a673d6bffe50a5b216e (diff)
Clarifies how js files are compiled by creating separate npm task
-rw-r--r--web-ui/package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/web-ui/package.json b/web-ui/package.json
index 8453d7e1..24c4e91f 100644
--- a/web-ui/package.json
+++ b/web-ui/package.json
@@ -56,7 +56,8 @@
"handlebars-watch": "watch 'npm run handlebars' app/templates",
"compass": "compass compile",
"compass-watch": "compass watch",
- "build": "npm run clean && npm run handlebars && webpack --colors --progress && npm run add_git_version && npm run compass",
+ "build": "npm run clean && npm run handlebars && npm run build-js && npm run add_git_version && npm run compass",
+ "build-js": "webpack --colors --progress",
"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",