Grunt loadNpmTasks snippet
Use npm module matchdep then load in you grunt tasks by filtering through the node modules you have installed in your project with:
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
Written by Shaun Dunne
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Js
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#