File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
packages/patternengine-node-twig Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -56,11 +56,8 @@ module.exports = function(grunt) {
56
56
}
57
57
} ) ;
58
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' ) ;
59
+ // load all grunt tasks
60
+ require ( 'matchdep' ) . filterDev ( 'grunt-*' ) . forEach ( grunt . loadNpmTasks ) ;
64
61
65
62
//load the patternlab task
66
63
grunt . task . loadTasks ( './builder/' ) ;
Original file line number Diff line number Diff line change 8
8
"grunt-contrib-sass" : " ~0.2.2" ,
9
9
"grunt-contrib-copy" : " ~0.4.0" ,
10
10
"grunt-contrib-jshint" : " ~0.4.0" ,
11
- "grunt-contrib-clean" : " ~0.5.0"
11
+ "grunt-contrib-clean" : " ~0.5.0" ,
12
+ "matchdep" : " ~0.3.0"
12
13
}
13
14
}
You can’t perform that action at this time.
0 commit comments