summaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-04-20 15:47:09 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-04-20 15:47:09 +0200
commit6f031190a70cae0ee2165f5513b9e708d3b0d787 (patch)
tree09ce075038aa4d77cb468f92796543b23b417504 /server/sonar-web
parente2eaf5b29dfacc75554cee7b8e9c52cfec659ee1 (diff)
downloadsonarqube-6f031190a70cae0ee2165f5513b9e708d3b0d787.tar.gz
sonarqube-6f031190a70cae0ee2165f5513b9e708d3b0d787.zip
add npm scripts
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/package.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/sonar-web/package.json b/server/sonar-web/package.json
index 18bf2c5b21c..8016430a694 100644
--- a/server/sonar-web/package.json
+++ b/server/sonar-web/package.json
@@ -34,6 +34,12 @@
"engines": {
"node": "~0.8 || ~0.10"
},
+ "scripts": {
+ "build-fast": "./node_modules/.bin/grunt dev",
+ "build": "./node_modules/.bin/grunt build",
+ "test": "./node_modules/.bin/grunt test",
+ "coverage": "./node_modules/.bin/grunt testCoverage"
+ },
"sources": "src/main/",
"assets": "src/main/webapp/"
}