Boilerplate to write npm modules in ES6 and distribute vanilla ES5 code. This package will work seamlessly on any platform that supports ES5.
- babel - Transpile ES6
- Jest - Tests made easy and includes coverage report
- Coveralls - Ensure that all your new code is fully covered, and see coverage trends emerge.
- Travis - Deploy with Confidence.
- Auto publish to npm on every build.
git clone git@github.com:ygnr/npm-module-es6-boilerplate.git
cd npm-module-es6-boilerplate # Change current directory to the newly created one
yarn install # Install dependencies
This boilerplate uses Facebook Jest. Add a
directory named __tests__
at any level and start writing tests.
yarn test