This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// gulpfile.js | |
// load all gulp tasks using matchdep | |
// matching the `gulp*` pattern to include gulp itself | |
require('matchdep') | |
.filterDev('gulp*') //by default it loads the nearest package.json | |
.forEach(function(module) { | |
global[module.replace(/^gulp-/, '')] = require(module); | |
}); |