mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Add load-grunt-tasks package dependency
Cherry picked from abfa210adf
commit
This commit is contained in:
parent
22120cea66
commit
7e5c2cb6e8
@ -1,5 +1,4 @@
|
|||||||
module.exports = function( grunt ) {
|
module.exports = function( grunt ) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function readOptionalJSON( filepath ) {
|
function readOptionalJSON( filepath ) {
|
||||||
@ -138,13 +137,7 @@ module.exports = function( grunt ) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Load grunt tasks from NPM packages
|
// Load grunt tasks from NPM packages
|
||||||
grunt.loadNpmTasks( "grunt-compare-size" );
|
require( "load-grunt-tasks" )( grunt );
|
||||||
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" );
|
|
||||||
|
|
||||||
// Integrate jQuery specific tasks
|
// Integrate jQuery specific tasks
|
||||||
grunt.loadTasks( "build/tasks" );
|
grunt.loadTasks( "build/tasks" );
|
||||||
|
@ -39,6 +39,7 @@
|
|||||||
"grunt-jscs-checker": "~0.2.3",
|
"grunt-jscs-checker": "~0.2.3",
|
||||||
"grunt-jsonlint": "~1.0.1",
|
"grunt-jsonlint": "~1.0.1",
|
||||||
"gzip-js": "0.3.2",
|
"gzip-js": "0.3.2",
|
||||||
|
"load-grunt-tasks": "~0.2.0",
|
||||||
"testswarm": "~1.1.0",
|
"testswarm": "~1.1.0",
|
||||||
"requirejs": "~2.1.9",
|
"requirejs": "~2.1.9",
|
||||||
"which": "~1.0.5"
|
"which": "~1.0.5"
|
||||||
|
Loading…
Reference in New Issue
Block a user