diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-09-25 17:08:50 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-09-30 10:18:55 +0200 |
commit | a9a4c04df49c8ae0eb94898701fb151b8e722768 (patch) | |
tree | 60554cd57a6871b47f7d5b6c42960111cf7045e1 /server/sonar-web/package.json | |
parent | 3e8b829a8b43f1c023cf90375edb50ba49f8e7b9 (diff) | |
download | sonarqube-a9a4c04df49c8ae0eb94898701fb151b8e722768.tar.gz sonarqube-a9a4c04df49c8ae0eb94898701fb151b8e722768.zip |
use nvm to install node.js 4, add mocha tests
Diffstat (limited to 'server/sonar-web/package.json')
-rw-r--r-- | server/sonar-web/package.json | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/server/sonar-web/package.json b/server/sonar-web/package.json index 7255e643d9a..0aede03a2f9 100644 --- a/server/sonar-web/package.json +++ b/server/sonar-web/package.json @@ -5,6 +5,9 @@ "repository": "SonarSource/sonarqube", "license": "LGPL-3.0", "devDependencies": { + "babel": "^5.8.23", + "backbone": "^1.1.2", + "chai": "^3.3.0", "grunt": "0.4.5", "grunt-babel": "5.0.1", "grunt-cli": "0.1.13", @@ -21,15 +24,18 @@ "grunt-text-replace": "0.4.0", "intern": "3.0.0", "jit-grunt": "0.9.1", + "jquery": "2.1.4", + "jsdom": "^6.5.1", + "mocha": "^2.3.3", + "react": "0.13.3", "sinon": "^1.15.4", - "time-grunt": "1.2.1" + "sinon-chai": "^2.8.0", + "time-grunt": "1.2.1", + "underscore": "1.8.3" }, "scripts": { "build-fast": "./node_modules/.bin/grunt build-fast", "build": "./node_modules/.bin/grunt build", - "build-test": "./node_modules/.bin/grunt build-test", - "build-coverage": "./node_modules/.bin/grunt build-coverage", - "test": "./node_modules/.bin/grunt test", - "coverage": "./node_modules/.bin/grunt coverage" + "test": "./node_modules/.bin/mocha --opts tests/mocha.opts tests" } } |