We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2eb31fb + 0877a51 commit 95b031aCopy full SHA for 95b031a
2 files changed
Gruntfile.js
@@ -56,11 +56,8 @@ module.exports = function(grunt) {
56
}
57
});
58
59
- grunt.loadNpmTasks('grunt-contrib-copy');
60
- grunt.loadNpmTasks('grunt-contrib-clean');
61
- grunt.loadNpmTasks('grunt-contrib-watch');
62
- grunt.loadNpmTasks('grunt-contrib-sass');
63
- grunt.loadNpmTasks('grunt-contrib-jshint');
+ // load all grunt tasks
+ require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
64
65
//load the patternlab task
66
grunt.task.loadTasks('./builder/');
package.json
@@ -8,6 +8,7 @@
8
"grunt-contrib-sass": "~0.2.2",
9
"grunt-contrib-copy": "~0.4.0",
10
"grunt-contrib-jshint": "~0.4.0",
11
- "grunt-contrib-clean": "~0.5.0"
+ "grunt-contrib-clean": "~0.5.0",
12
+ "matchdep": "~0.3.0"
13
14
0 commit comments