1.0.1 • Published 8 years ago

generator-babel-mocha-node v1.0.1

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

generator-babel-mocha-node NPM version Build Status Dependency Status

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:

  1. 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.
  2. write unit tests in Mocha and Chai assertions.
  3. 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