Make sure Jenkins can grunt jQuery right from npm install

This commit is contained in:
Mike Sherov 2012-12-19 20:18:58 -05:00
parent 3ffaa0fecb
commit 34946b3d63
2 changed files with 7 additions and 5 deletions

View File

@ -452,11 +452,9 @@ module.exports = function( grunt ) {
}); });
// Load grunt tasks from NPM packages // Load grunt tasks from NPM packages
grunt.loadNpmTasks( "grunt-compare-size" ); grunt.loadNpmTasks("grunt-compare-size");
grunt.loadNpmTasks( "grunt-git-authors" ); grunt.loadNpmTasks("grunt-git-authors");
grunt.loadNpmTasks( "grunt-update-submodules" ); grunt.loadNpmTasks("grunt-update-submodules");
// grunt contrib tasks
grunt.loadNpmTasks("grunt-contrib-watch"); grunt.loadNpmTasks("grunt-contrib-watch");
grunt.loadNpmTasks("grunt-contrib-jshint"); grunt.loadNpmTasks("grunt-contrib-jshint");
grunt.loadNpmTasks("grunt-contrib-uglify"); grunt.loadNpmTasks("grunt-contrib-uglify");

View File

@ -21,6 +21,9 @@
"url": "https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt" "url": "https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt"
} }
], ],
"scripts": {
"test" : "./node_modules/.bin/grunt"
},
"dependencies": {}, "dependencies": {},
"devDependencies": { "devDependencies": {
"grunt-compare-size": "0.3.1", "grunt-compare-size": "0.3.1",
@ -30,6 +33,7 @@
"grunt-contrib-jshint": "~0.1.0", "grunt-contrib-jshint": "~0.1.0",
"grunt-contrib-uglify": "~0.1.0", "grunt-contrib-uglify": "~0.1.0",
"grunt": "~0.4.0rc4", "grunt": "~0.4.0rc4",
"grunt-cli": "0.1.6",
"testswarm": "0.2.2" "testswarm": "0.2.2"
}, },
"keywords": [] "keywords": []