]> source.dussan.org Git - jquery.git/commitdiff
Make sure Jenkins can grunt jQuery right from npm install
authorMike Sherov <mike.sherov@gmail.com>
Thu, 20 Dec 2012 01:18:58 +0000 (20:18 -0500)
committerMike Sherov <mike.sherov@gmail.com>
Thu, 20 Dec 2012 01:18:58 +0000 (20:18 -0500)
Gruntfile.js
package.json

index d0b3f1e0f0e287c0adfecf486339673f51d327e0..68be0ecc9383fbce06b0eb4b3074e4ec1229b301 100644 (file)
@@ -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");
index e758e0813c3132dddb3c1796775c746458c546a0..d6fcdc82c8a97eae0944497ae7dbf8583ce5cf7c 100644 (file)
@@ -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": []