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": []