@visual-framework/vf-core
Version:
Common dependencies for the Visual Framework.
19 lines (13 loc) • 383 B
JavaScript
/**
* Expose vf-component gulp task as a JS module
* This makes dependency management a bit cleaner
*/
module.exports = function(gulp, path) {
const shell = require("gulp-shell");
const generatorPath = path.resolve(__dirname, "../../tools/vf-component-generator");
gulp.task("vf-component", shell.task(
["yo " + generatorPath]
));
return gulp;
};
;