Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1017 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 1017 Bytes

npm npm Dependency Status devDependency Status

gulp-lazy-init

Small lazy initializer for separated gulp tasks

install

npm install gulp-lazy-init --save-dev

Usage

const path = require('path');
const lazyTaskBuilder = require('gulp-lazy-init');
const ENABLE_LAZY = true; // by default
const task = lazyTaskBuilder(gulp, path.join(__dirname, '/gulp', ENABLE_LAZY));

gulp.task('test', 'test code of the project', [
  task('test-scripts')
]);