From 0a64456b53b2b7d3ea67005892332416f6b2c5ba Mon Sep 17 00:00:00 2001 From: Anike Arni Date: Tue, 27 Dec 2016 15:38:37 -0200 Subject: Clarifies how js files are compiled by creating separate npm task --- web-ui/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'web-ui') 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", -- cgit v1.2.3