generator-node-es6
v0.0.8
Published
An opinionated node module generator for yeoman
Downloads
16
Maintainers
Readme
Yeoman generator producing ES6 node modules
A node module generator for yeoman. Opinionated in the sense that it creates
- ES6 node modules, no transpiling via babel
- Uses yarn for dependency management
- Uses Mocha for testing
- Uses Unexpected for assertions
- Uses TestDouble for mocking
- eslint with airbnb rules ( with some minor tweaks )
- installs a pre-commit hook to ensure lint and tests are executed before a commit
Install it
Install the generator with npm:
$ npm install -g yo generator-node-es6
Use it
Usage of the generator is via yo
$ yo node-es6
Answer the questions and celebrate that a new node module is generated for you.
Contribute
- Clone the repository
- Add your awesome feature
- make sure to add tests
- use
npm link
to use your new version locally - Create a pull request
TODO
- use cache to save answers
- submodule generator for tests
- submodule generator for hapi-plugin
- submodule generator for hapi-plugin test
- submodule generator for hapi api