]> source.dussan.org Git - sonarqube.git/commitdiff
add npm scripts
authorStas Vilchik <vilchiks@gmail.com>
Mon, 20 Apr 2015 13:47:09 +0000 (15:47 +0200)
committerStas Vilchik <vilchiks@gmail.com>
Mon, 20 Apr 2015 13:47:09 +0000 (15:47 +0200)
server/sonar-web/package.json

index 18bf2c5b21cc9df455ea3af61777c346bd785827..8016430a6945c6701331fd3bce76267cd5425eea 100644 (file)
   "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/"
 }