]> source.dussan.org Git - jquery.git/commitdiff
Add load-grunt-tasks package dependency
authorSindre Sorhus <sindresorhus@gmail.com>
Fri, 25 Oct 2013 18:02:04 +0000 (20:02 +0200)
committerOleg <markelog@gmail.com>
Thu, 7 Nov 2013 21:09:33 +0000 (22:09 +0100)
Cherry picked from abfa210adfaee28e2496d7749d675d157d8e6c9d commit

Gruntfile.js
package.json

index d9e94003b5e807ab230c8053a6153c45b2973b70..91ee255c9ea1367e54b6211fca8de5b86e4a7fec 100644 (file)
@@ -1,5 +1,4 @@
 module.exports = function( grunt ) {
-
        "use strict";
 
        function readOptionalJSON( filepath ) {
@@ -138,13 +137,7 @@ module.exports = function( grunt ) {
        });
 
        // Load grunt tasks from NPM packages
-       grunt.loadNpmTasks( "grunt-compare-size" );
-       grunt.loadNpmTasks( "grunt-git-authors" );
-       grunt.loadNpmTasks( "grunt-contrib-watch" );
-       grunt.loadNpmTasks( "grunt-contrib-jshint" );
-       grunt.loadNpmTasks( "grunt-contrib-uglify" );
-       grunt.loadNpmTasks( "grunt-jsonlint" );
-       grunt.loadNpmTasks( "grunt-jscs-checker" );
+       require( "load-grunt-tasks" )( grunt );
 
        // Integrate jQuery specific tasks
        grunt.loadTasks( "build/tasks" );
index a4e4425305f05b780c07864e72fd4d15b6178c06..e1db1978f967017349fc5b3e624067afa62149a1 100644 (file)
@@ -39,6 +39,7 @@
     "grunt-jscs-checker": "~0.2.3",
     "grunt-jsonlint": "~1.0.1",
     "gzip-js": "0.3.2",
+    "load-grunt-tasks": "~0.2.0",
     "testswarm": "~1.1.0",
     "requirejs": "~2.1.9",
     "which": "~1.0.5"