Harno-build
Npm module that helps you build your project
Install
npm install --save-dev harno-build
Usage
Create gulpfile.js in your project
// you should have gulp@4.0.0 in devDependenciesconst gulp = const Build = default// here you can overwrite default config valuesconst config = unitTestsCoverage: thresholds: lines: 90 functions: 90 branches: 90 statements: 90 const build = configbuild
API
new Build(config)
- config - object with user config values
Creates new build instance with its own configuration
build.initGulpTasks(gulp)
- gulp - instance of gulp@4.0.0
Inits all available gulp tasks
Default config values
All default config values are located at app/config.defaults.yml
Gulp tasks available
All available task and small description to them can be found in gulp default tasks
gulp # or gulp default