Merge pull request #284 from twbs/load-grunt-tasks
use load-grunt-tasks to load Grunt tasks
This commit is contained in:
Коммит
9c36accbd6
|
@ -85,11 +85,7 @@ module.exports = function(grunt) {
|
||||||
});
|
});
|
||||||
|
|
||||||
// Load the plugins
|
// Load the plugins
|
||||||
grunt.loadNpmTasks('grunt-contrib-concat');
|
require('load-grunt-tasks')(grunt, {scope: 'devDependencies'});
|
||||||
grunt.loadNpmTasks('grunt-contrib-copy');
|
|
||||||
grunt.loadNpmTasks('grunt-contrib-sass');
|
|
||||||
grunt.loadNpmTasks('grunt-contrib-watch');
|
|
||||||
grunt.loadNpmTasks('grunt-jekyll');
|
|
||||||
|
|
||||||
|
|
||||||
// Default task(s).
|
// Default task(s).
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
"grunt-contrib-nodeunit": "~0.3.0",
|
"grunt-contrib-nodeunit": "~0.3.0",
|
||||||
"grunt-contrib-sass": "~0.7.1",
|
"grunt-contrib-sass": "~0.7.1",
|
||||||
"grunt-contrib-watch": "~0.5.3",
|
"grunt-contrib-watch": "~0.5.3",
|
||||||
"grunt-jekyll": "~0.4.1"
|
"grunt-jekyll": "~0.4.1",
|
||||||
|
"load-grunt-tasks": "~0.4.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче