Load all grunt- tasks automatically
This commit is contained in:
parent
32521c22b7
commit
20d10c9338
2 changed files with 3 additions and 3 deletions
|
@ -22,8 +22,7 @@ module.exports = function(grunt) {
|
|||
}
|
||||
});
|
||||
|
||||
grunt.loadNpmTasks('grunt-trimtrailingspaces');
|
||||
grunt.loadNpmTasks('grunt-contrib-watch');
|
||||
require('load-grunt-tasks')(grunt);
|
||||
|
||||
grunt.registerTask('default', []);
|
||||
grunt.loadTasks('tasks');
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
"dependencies": {
|
||||
"grunt": "^0.4.5",
|
||||
"grunt-contrib-watch": "^0.6.1",
|
||||
"grunt-trimtrailingspaces": "^0.4.0"
|
||||
"grunt-trimtrailingspaces": "^0.4.0",
|
||||
"load-grunt-tasks": "^0.6.0"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue