harno-build
Module that help to build you node.js apps
Last updated a year ago by harnosoft .
SEE LICENSE IN LICENSE · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install harno-build 
SYNC missed versions from official npm registry.

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 devDependencies
const gulp = require('gulp')
const Build = require('harno-build').default
// here you can overwrite default config values
const config = {
  unitTestsCoverage: {
    thresholds: {
      lines: 90,
      functions: 90,
      branches: 90,
      statements: 90
    }
  }
}

const build = new Build(config)
build.initGulpTasks(gulp)

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

License

License

Current Tags

  • 0.0.9                                ...           latest (a year ago)

3 Versions

  • 0.0.9                                ...           a year ago
  • 0.0.8                                ...           a year ago
  • 0.0.7                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 5
Dependencies (22)
Dev Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |