diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-10-02 15:51:15 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-10-14 10:28:59 +0200 |
commit | 15b2160babc5c35ede960b7d0e133acbec8c6c51 (patch) | |
tree | 6475ad0602bbe4d6dae895aae43d331726ab8c33 /server/sonar-web/package.json | |
parent | e51e9c9eb0145ea5e9d40453554c456585b79936 (diff) | |
download | sonarqube-15b2160babc5c35ede960b7d0e133acbec8c6c51.tar.gz sonarqube-15b2160babc5c35ede960b7d0e133acbec8c6c51.zip |
improve the web build system, introduce gulp and browserify
Diffstat (limited to 'server/sonar-web/package.json')
-rw-r--r-- | server/sonar-web/package.json | 75 |
1 files changed, 47 insertions, 28 deletions
diff --git a/server/sonar-web/package.json b/server/sonar-web/package.json index b555da9cf2c..798e66cfdf4 100644 --- a/server/sonar-web/package.json +++ b/server/sonar-web/package.json @@ -5,40 +5,59 @@ "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", - "grunt-concurrent": "1.0.0", - "grunt-contrib-clean": "0.6.0", - "grunt-contrib-concat": "0.5.1", - "grunt-contrib-copy": "0.8.0", - "grunt-contrib-handlebars": "0.9.2", - "grunt-contrib-less": "1.0.1", - "grunt-contrib-requirejs": "0.4.4", - "grunt-contrib-uglify": "0.9.1", - "grunt-contrib-watch": "0.6.1", - "grunt-rename": "^0.1.4", - "grunt-text-replace": "0.4.0", + "babel": "5.8.23", + "babelify": "6.3.0", + "backbone": "1.2.3", + "backbone.marionette": "2.4.3", + "blueimp-md5": "1.1.1", + "browserify": "11.2.0", + "browserify-shim": "3.8.10", + "chai": "3.3.0", + "del": "2.0.2", + "event-stream": "3.3.1", + "glob": "5.0.15", + "gulp": "3.9.0", + "gulp-browserify": "0.5.1", + "gulp-concat": "2.6.0", + "gulp-if": "2.0.0", + "gulp-less": "3.0.3", + "gulp-minify-css": "1.2.1", + "gulp-rename": "1.2.2", + "gulp-sourcemaps": "1.6.0", + "gulp-uglify": "1.4.2", + "handlebars": "2.0.0", + "hbsfy": "2.3.1", "intern": "3.0.0", - "isparta": "^3.0.4", - "jit-grunt": "0.9.1", + "isparta": "3.0.4", "jquery": "2.1.4", - "jsdom": "^6.5.1", - "mocha": "^2.3.3", - "moment": "^2.10.6", + "jsdom": "6.5.1", + "mocha": "2.3.3", + "moment": "2.10.6", "react": "0.13.3", - "sinon": "^1.15.4", - "sinon-chai": "^2.8.0", - "time-grunt": "1.2.1", - "underscore": "1.8.3" + "sinon": "1.15.4", + "sinon-chai": "2.8.0", + "underscore": "1.8.3", + "vinyl-buffer": "1.0.0", + "vinyl-source-stream": "1.1.0", + "watchify": "3.4.0", + "whatwg-fetch": "0.10.0", + "yargs": "3.27.0" }, "scripts": { - "build-fast": "./node_modules/.bin/grunt build-fast", - "build": "./node_modules/.bin/grunt build", + "build-fast": "gulp --fast", + "build": "gulp", "test": "./node_modules/.bin/mocha --opts tests/mocha.opts tests", "coverage": "./node_modules/.bin/babel-node ./node_modules/.bin/isparta cover --dir './target/coverage' --include '**/*.js' --include '**/*.jsx' ./node_modules/.bin/_mocha -- --opts tests/mocha.opts tests" + }, + "browserify-shim": { + "jquery": "global:jQuery", + "underscore": "global:_" + }, + "browserify": { + "transform": [ + "hbsfy", + "babelify", + "browserify-shim" + ] } } |