0.0.1 • Published 9 years ago

generator-es2015 v0.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

generator-es2015

travis build coveralls report npm package MIT license twitter link

Generate ES2015 projects that transpile your code using BabelJS and can directly be tested with Mocha and Istanbul.

get started

This generator assumes you have nodejs and npm installed (get it at nodejs.org), as well as yeoman (get it with [sudo] npm i -g yo).

Install the es2015 generator globally to quickly start new projects wherever you want:

[sudo] npm i -g generator-es2015

Then start the new project with

yo es2015

the project

yo es2015 creates a project where your es2015 sources are located in src/main and the es2015 tests are located in src/test.

npm start

compiles everything from src/main to lib/ and everything from src/test to test/.

npm test

does the same but also runs the tests from test/ against the generated code in app/ (so don't worry if you don't get 100% test coverage, babeljs adds code to make your es2015 stuff happen in es5).

license

This project is MIT-licensed.

0.0.1

9 years ago