babel-npm-boilerplate
A Boilerplate for creating NPM packages using Babel, ESLint, Mocha and Chai
What's inside
Minimal structure for a npm package source.
- Babel 6
- Mocha
- ESLint
- Isparta
Installation
Clone this repo or download using npm
npm install babel-npm-boilerplate --save
Usage
npm run test
to run testsnpm run test-cov
to generate test coveragenpm run build
to transform es6/es7 to es5 by Babelnpm run clean
to clean build/
directorynpm run lint
to lint js using ESLint in Airbnb's Javascript style
Liscense
MIT