diff --git a/gulp/tasks/index.js b/gulp/tasks/index.js new file mode 100644 index 0000000000000000000000000000000000000000..59cecfc0c145685a9b00464ac076d24885e4db5f --- /dev/null +++ b/gulp/tasks/index.js @@ -0,0 +1,36 @@ +/** + * Dependencies + */ +const path = require('path'); +const modules = {}; + +/** + * Module body + */ +const load = function load(name) { + return require(path.resolve(__dirname, name)); +}; + +const tasks = [ + 'clean', + 'css', + 'browserify', + 'test', + 'xo', + 'rev', + 'manifest', + 'cleanup', + 'copy', + 'handlebars', + 'optimizejs', + 'optimizecss' +]; + +tasks.forEach(task => { + modules[task] = load(task); +}); + +/** + * Expose + */ +exports = module.exports = modules;