npm-module-es6-boilerplate

0.5.2 • Public • Published

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

Package Sidebar

Install

npm i npm-module-es6-boilerplate

Weekly Downloads

0

Version

0.5.2

License

MIT

Last publish

Collaborators

  • ygnr