diff options
author | Mike Sherov <mike.sherov@gmail.com> | 2012-12-19 20:18:58 -0500 |
---|---|---|
committer | Mike Sherov <mike.sherov@gmail.com> | 2012-12-19 20:18:58 -0500 |
commit | 34946b3d63afb6943febe0ac4be4dcecc739729d (patch) | |
tree | 81a60e1acdec35463316a92a6c5b5044df892a41 | |
parent | 3ffaa0fecb571f1c5a5d2ca212e9a009fe0571a4 (diff) | |
download | jquery-34946b3d63afb6943febe0ac4be4dcecc739729d.tar.gz jquery-34946b3d63afb6943febe0ac4be4dcecc739729d.zip |
Make sure Jenkins can grunt jQuery right from npm install
-rw-r--r-- | Gruntfile.js | 8 | ||||
-rw-r--r-- | package.json | 4 |
2 files changed, 7 insertions, 5 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index d0b3f1e0f..68be0ecc9 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -452,11 +452,9 @@ module.exports = function( grunt ) { }); // Load grunt tasks from NPM packages - grunt.loadNpmTasks( "grunt-compare-size" ); - grunt.loadNpmTasks( "grunt-git-authors" ); - grunt.loadNpmTasks( "grunt-update-submodules" ); - - // grunt contrib tasks + grunt.loadNpmTasks("grunt-compare-size"); + grunt.loadNpmTasks("grunt-git-authors"); + grunt.loadNpmTasks("grunt-update-submodules"); grunt.loadNpmTasks("grunt-contrib-watch"); grunt.loadNpmTasks("grunt-contrib-jshint"); grunt.loadNpmTasks("grunt-contrib-uglify"); diff --git a/package.json b/package.json index e758e0813..d6fcdc82c 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,9 @@ "url": "https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt" } ], + "scripts": { + "test" : "./node_modules/.bin/grunt" + }, "dependencies": {}, "devDependencies": { "grunt-compare-size": "0.3.1", @@ -30,6 +33,7 @@ "grunt-contrib-jshint": "~0.1.0", "grunt-contrib-uglify": "~0.1.0", "grunt": "~0.4.0rc4", + "grunt-cli": "0.1.6", "testswarm": "0.2.2" }, "keywords": [] |