# harno-build

> Module that help to build you node.js apps

Latest version **0.0.9** (published 2019-01-10) · SEE LICENSE IN LICENSE license · 0 weekly downloads

## Install

```sh
npm install harno-build
pnpm add harno-build
yarn add harno-build
bun add harno-build
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.9 |
| Published | 2019-01-10 |
| First published | 2018-12-21 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN LICENSE |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 22 |
| Unpacked size | 90.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Harnosoft LLC |
| Maintainers | harnosoft |
| Keywords | babel, code-style, documentation, gulp, mocha, standard, swagger, test |

## Links

- npm: https://www.npmjs.com/package/harno-build
- Repository: https://gitlab.com/harnosoft/harno-build/harno-build
- Homepage: https://gitlab.com/harnosoft/harno-build/harno-build/#readme
- Issues: https://gitlab.com/harnosoft/harno-build/harno-build/issues
- npm.io page: https://npm.io/package/harno-build

## Dependencies (22)

- [nyc](https://npm.io/package/nyc.md) 13.1.0
- [opn](https://npm.io/package/opn.md) 5.4.0
- [chalk](https://npm.io/package/chalk.md) 2.4.1
- [esdoc](https://npm.io/package/esdoc.md) 1.1.0
- [mocha](https://npm.io/package/mocha.md) 5.2.0
- [gulp-if](https://npm.io/package/gulp-if.md) 2.0.2
- [through](https://npm.io/package/through.md) 2.3.8
- [babelify](https://npm.io/package/babelify.md) 10.0.0
- [fs-extra](https://npm.io/package/fs-extra.md) 7.0.1
- [gulp-bro](https://npm.io/package/gulp-bro.md) 1.0.3
- [lazypipe](https://npm.io/package/lazypipe.md) 1.0.2
- [standard](https://npm.io/package/standard.md) 12.0.1
- [gulp-gzip](https://npm.io/package/gulp-gzip.md) 1.4.2
- [browserify](https://npm.io/package/browserify.md) 16.2.3
- [gulp-babel](https://npm.io/package/gulp-babel.md) 8.0.0
- [gulp-mocha](https://npm.io/package/gulp-mocha.md) 6.0.0
- [gulp-uglify](https://npm.io/package/gulp-uglify.md) 3.0.1
- [gulp-connect](https://npm.io/package/gulp-connect.md) 5.7.0
- [harno-kernel](https://npm.io/package/harno-kernel.md) 0.0.8
- [swagger-parser](https://npm.io/package/swagger-parser.md) 6.0.2
- [esdoc-standard-plugin](https://npm.io/package/esdoc-standard-plugin.md) 1.0.0
- [esdoc-ecmascript-proposal-plugin](https://npm.io/package/esdoc-ecmascript-proposal-plugin.md) 1.0.0

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads

## Recent versions

- 0.0.9 (latest) — 2019-01-10
- 0.0.8 — 2018-12-29
- 0.0.7 — 2018-12-21

## README

# Harno-build

Npm module that helps you build your project

## Install
```console
npm install --save-dev harno-build
```

## Usage
Create gulpfile.js in your project
```js
// 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](app/config.defaults.yml)

## Gulp tasks available
All available task and small description to them can be found in gulp default tasks
```bash
 gulp
 # or
 gulp default
 ```

## License
[License](LICENSE)

---
_Source: https://npm.io/package/harno-build · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
