Use load-grunt-tasks

This commit is contained in:
Ben Word
2014-02-21 22:08:43 -06:00
parent 7b255992cf
commit 94cc2949a2
2 changed files with 3 additions and 9 deletions

View File

@@ -129,14 +129,7 @@ module.exports = function(grunt) {
}); });
// Load tasks // Load tasks
grunt.loadNpmTasks('grunt-contrib-clean'); require('load-grunt-tasks')(grunt);
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');
// Register tasks // Register tasks
grunt.registerTask('default', [ grunt.registerTask('default', [

View File

@@ -32,6 +32,7 @@
"grunt-contrib-watch": "~0.5.3", "grunt-contrib-watch": "~0.5.3",
"grunt-contrib-less": "~0.8.1", "grunt-contrib-less": "~0.8.1",
"grunt-wp-assets": "~0.2.1", "grunt-wp-assets": "~0.2.1",
"grunt-modernizr": "~0.5.1" "grunt-modernizr": "~0.5.1",
"load-grunt-tasks": "~0.3.0"
} }
} }