0.5.2 • Published 8 years ago

npm-module-es6-boilerplate v0.5.2

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

npm-module-es6-boilerplate

Boilerplate to write npm modules in ES6 and distribute vanilla ES5 code. This package will work seamlessly on any platform that supports ES5.

Build Status Coverage Status

Included

  • 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.

Getting started

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

Testing

This boilerplate uses Facebook Jest. Add a directory named __tests__ at any level and start writing tests.

yarn test