generator-babel-mocha-node
v1.0.1
Published
Yeoman generator to author node packages written in ES2015+
Downloads
4
Maintainers
Readme
generator-babel-mocha-node
Yeoman generator to author node packages written in ES2015+
Installation
First, install Yeoman and generator-babel-mocha-node using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-babel-mocha-node
Then generate your new project:
yo babel-mocha-node <appname>
After that you have a ready to run project that can:
- be written purely in ES2015 + all stage 3
features. Your project is still compatible with npm.
Every time you make a
npm publish
all your source code will be transpiled to ES5 and only that code will be published. - write unit tests in Mocha and Chai assertions.
- lint your code with ESLint.
Have a look at the package.json
for all available npm scripts.
Getting To Know Yeoman
- Yeoman has a heart of gold.
- Yeoman is a person with feelings and opinions, but is very easy to work with.
- Yeoman can be too opinionated at times but is easily convinced not to be.
- Feel free to learn more about Yeoman.
License
MIT