From: Sindre Sorhus Date: Fri, 25 Oct 2013 18:02:04 +0000 (+0200) Subject: Add load-grunt-tasks package dependency X-Git-Tag: 1.11.0-beta2~34 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7e5c2cb6e8f4fbcb57a4795e8a3e40d7cd706466;p=jquery.git Add load-grunt-tasks package dependency Cherry picked from abfa210adfaee28e2496d7749d675d157d8e6c9d commit --- diff --git a/Gruntfile.js b/Gruntfile.js index d9e94003b..91ee255c9 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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" ); diff --git a/package.json b/package.json index a4e442530..e1db1978f 100644 --- a/package.json +++ b/package.json @@ -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"