From: Mike Sherov Date: Thu, 20 Dec 2012 01:18:58 +0000 (-0500) Subject: Make sure Jenkins can grunt jQuery right from npm install X-Git-Tag: 1.9.0rc1~26 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=34946b3d63afb6943febe0ac4be4dcecc739729d;p=jquery.git Make sure Jenkins can grunt jQuery right from npm install --- 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": []