Boilerplate of Javascript library development with Gulp to publish to NPM.
This boilerplate provides an automatic Javascript(ES6/ES2015)
library
development environment with Gulp
to publish your library to NPM
.
- lint (eslint)
- transpile (ES6->ES5)
- test (mocha and chai)
- coverage (istanbul)
- package (minify)
- Installed
yarn
ornpm
. - Installed
gulp
globally. - (Optional) Had your account of
NPM
.
- Clone this repository via
git
. - Install modules via
yarn install
ornpm install
. - Start
gulp
and Enjoy developing your library. - Add it to
index.js
if you done - (Optional) Execute
npm publish
to publish it to NPM if you done.
- We must use 'gulp-mocha@^3.0.1' (not latest version) because of its issue. See this.