Skip to content

Commit

Permalink
Merge pull request #17 from joemcgill/master
Browse files Browse the repository at this point in the history
Load all grunt tasks using matchdep
  • Loading branch information
Brian Muenzenmeyer authored and geoffp committed Feb 23, 2018
1 parent 4bb871b commit 6f9241f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
7 changes: 2 additions & 5 deletions packages/patternengine-node-mustache/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,8 @@ module.exports = function(grunt) {
}
});

grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.loadNpmTasks('grunt-contrib-jshint');
// load all grunt tasks
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);

//load the patternlab task
grunt.task.loadTasks('./builder/');
Expand Down
3 changes: 2 additions & 1 deletion packages/patternengine-node-mustache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"grunt-contrib-sass": "~0.2.2",
"grunt-contrib-copy": "~0.4.0",
"grunt-contrib-jshint": "~0.4.0",
"grunt-contrib-clean": "~0.5.0"
"grunt-contrib-clean": "~0.5.0",
"matchdep": "~0.3.0"
}
}

0 comments on commit 6f9241f

Please sign in to comment.