Small lazy initializer for separated gulp tasks
npm install gulp-lazy-init --save-dev
const path = require('path');
const task = require('gulp-lazy-init')(gulp, path.join(__dirname, '/gulp'));
exports.test = task.series(
task('test-scripts'),
task.series(
task('test-scripts'),
task('test-scripts'),
),
task.parallel(
task.series(
task('test-scripts'),
task('test-scripts'),
),
task('test-scripts'),
task('test-scripts'),
),
task('test-scripts'),
);