|
@@ -134,13 +134,13 @@
|
|
|
},
|
|
},
|
|
|
"scripts": {
|
|
"scripts": {
|
|
|
"devinstall": "npm cache clean && npm install && npm prune",
|
|
"devinstall": "npm cache clean && npm install && npm prune",
|
|
|
- "webpack": "webpack --config webpack.config.js",
|
|
|
|
|
- "webpack-login": "webpack --config webpack.config.login.js",
|
|
|
|
|
- "webpack-workers": "webpack --config webpack.config.workers.js",
|
|
|
|
|
- "webpack-npm": "webpack --config webpack.config.npm.js",
|
|
|
|
|
|
|
+ "webpack": "webpack --config ${HUE_WEBPACK_CONFIG:-webpack.config.js}",
|
|
|
|
|
+ "webpack-login": "webpack --config ${HUE_WEBPACK_CONFIG_LOGIN:-webpack.config.login.js}",
|
|
|
|
|
+ "webpack-workers": "webpack --config ${HUE_WEBPACK_CONFIG_WORKERS:-webpack.config.workers.js}",
|
|
|
|
|
+ "webpack-npm": "webpack --config ${HUE_WEBPACK_CONFIG_NPM:-webpack.config.npm.js}",
|
|
|
"publish-gethue": "npm run webpack-npm && cd npm_dist && npm publish",
|
|
"publish-gethue": "npm run webpack-npm && cd npm_dist && npm publish",
|
|
|
- "dev": "webpack --watch -d",
|
|
|
|
|
- "dev-workers": "webpack --config webpack.config.workers.js --watch -d",
|
|
|
|
|
|
|
+ "dev": "webpack --watch --config ${HUE_WEBPACK_CONFIG:-webpack.config.js} -d",
|
|
|
|
|
+ "dev-workers": "webpack --config ${HUE_WEBPACK_CONFIG_WORKERS:-webpack.config.workers.js} --watch -d",
|
|
|
"less": "./node_modules/.bin/grunt less",
|
|
"less": "./node_modules/.bin/grunt less",
|
|
|
"less-dev": "./node_modules/.bin/grunt watch",
|
|
"less-dev": "./node_modules/.bin/grunt watch",
|
|
|
"less-lint": "stylelint \"desktop/core/src/desktop/static/desktop/less/**/*.less\"",
|
|
"less-lint": "stylelint \"desktop/core/src/desktop/static/desktop/less/**/*.less\"",
|