gulp.task("test", function() { gulp.src("./test/view/*.js") .pipe(phantom({ ext: ".json" })) .pipe(gulp.dest("./test/data/")); });
gulp.task('phantom', () => { gulp.src('./phantom/tasks/*.js') .pipe(phantom()) .pipe(gulp.dest("./data/")); });