aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSindre Sorhus <sindresorhus@gmail.com>2013-10-25 20:02:04 +0200
committerOleg <markelog@gmail.com>2013-11-07 22:09:33 +0100
commit7e5c2cb6e8f4fbcb57a4795e8a3e40d7cd706466 (patch)
treed60f3553b282e3f3a8790b04ed42ecb9e0326834
parent22120cea66ad88f83b96535416f5baab605fe530 (diff)
downloadjquery-7e5c2cb6e8f4fbcb57a4795e8a3e40d7cd706466.tar.gz
jquery-7e5c2cb6e8f4fbcb57a4795e8a3e40d7cd706466.zip
Add load-grunt-tasks package dependency
Cherry picked from abfa210adfaee28e2496d7749d675d157d8e6c9d commit
-rw-r--r--Gruntfile.js9
-rw-r--r--package.json1
2 files changed, 2 insertions, 8 deletions
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"