aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/package.json
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-12-28 13:01:19 +0100
committerStas Vilchik <vilchiks@gmail.com>2015-12-28 13:01:19 +0100
commitd7ea0a8b14b8649144f7bfbff055f207d954d6c9 (patch)
tree239e0e3d4f385e4399a6c606050ba0f992b10124 /server/sonar-web/package.json
parent593c11c6de3a82245d2ff5b8d9b79872fe607d6f (diff)
downloadsonarqube-d7ea0a8b14b8649144f7bfbff055f207d954d6c9.tar.gz
sonarqube-d7ea0a8b14b8649144f7bfbff055f207d954d6c9.zip
improve web build scripts (fixes issue with NODE_ENV on windows)5.4-M2
Diffstat (limited to 'server/sonar-web/package.json')
-rw-r--r--server/sonar-web/package.json6
1 files changed, 2 insertions, 4 deletions
diff --git a/server/sonar-web/package.json b/server/sonar-web/package.json
index f534b133727..51ce13d71d5 100644
--- a/server/sonar-web/package.json
+++ b/server/sonar-web/package.json
@@ -36,9 +36,7 @@
"gulp-cssnano": "2.0.0",
"gulp-if": "2.0.0",
"gulp-less": "3.0.3",
- "gulp-plumber": "1.0.1",
"gulp-rename": "1.2.2",
- "gulp-sourcemaps": "1.6.0",
"gulp-util": "3.0.6",
"handlebars": "2.0.0",
"handlebars-loader": "1.1.4",
@@ -71,8 +69,8 @@
"yargs": "3.27.0"
},
"scripts": {
- "build-fast": "gulp --fast && webpack",
- "build": "NODE_ENV=PRODUCTION gulp && webpack -p",
+ "build-fast": "gulp build:dev",
+ "build": "gulp build",
"test": "mocha --opts tests/mocha.opts tests",
"coverage": "babel-node node_modules/.bin/isparta cover --root 'src/main/js' --include-all-sources --excludes '**/libs/**' --dir 'target/coverage' node_modules/.bin/_mocha -- --opts tests/mocha.opts tests",
"lint": "eslint src/main/js"