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');
|
require('load-grunt-tasks')(grunt);
|
||||||
grunt.loadNpmTasks('grunt-contrib-watch');
|
|
||||||
|
|
||||||
grunt.registerTask('default', []);
|
grunt.registerTask('default', []);
|
||||||
grunt.loadTasks('tasks');
|
grunt.loadTasks('tasks');
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"grunt": "^0.4.5",
|
"grunt": "^0.4.5",
|
||||||
"grunt-contrib-watch": "^0.6.1",
|
"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