Use load-grunt-tasks
This commit is contained in:
@@ -129,14 +129,7 @@ module.exports = function(grunt) {
|
||||
});
|
||||
|
||||
// Load tasks
|
||||
grunt.loadNpmTasks('grunt-contrib-clean');
|
||||
grunt.loadNpmTasks('grunt-contrib-jshint');
|
||||
grunt.loadNpmTasks('grunt-contrib-concat');
|
||||
grunt.loadNpmTasks('grunt-contrib-uglify');
|
||||
grunt.loadNpmTasks('grunt-contrib-watch');
|
||||
grunt.loadNpmTasks('grunt-contrib-less');
|
||||
grunt.loadNpmTasks('grunt-wp-assets');
|
||||
grunt.loadNpmTasks('grunt-modernizr');
|
||||
require('load-grunt-tasks')(grunt);
|
||||
|
||||
// Register tasks
|
||||
grunt.registerTask('default', [
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
"grunt-contrib-watch": "~0.5.3",
|
||||
"grunt-contrib-less": "~0.8.1",
|
||||
"grunt-wp-assets": "~0.2.1",
|
||||
"grunt-modernizr": "~0.5.1"
|
||||
"grunt-modernizr": "~0.5.1",
|
||||
"load-grunt-tasks": "~0.3.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user