This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

generator-es

0.0.10 • Public • Published

generator-es

A yeoman-generator for ECMA Script apps using Babel ( ES6 / ES2015 )

What's included?

  • Build to ES5 (including babel-runtime)
  • ESLint
  • Unit testing using Mocha & Chai (w/Babel)
  • Code coverage with Istanbul, Coveralls & Travis
  • NPM ignores source & tests
  • GIT ignores build
  • Automatically build on changes (watch)

Installation

Install globally yeoman and this package

    npm install -g yo generator-es

Create your project's directory and CD into it.

    mkdir project && cd $_
    yo es

Run Tests

Just write ES6 files (JS) inside the test folder and then run:

npm test

if you want to generate code coverage reports, only enable the production environment var:

NODE_ENV=production npm test

Building

Just write ES6 files (JS) inside the src folder and then run:

npm run build

Watching

It automatically builds when you make changes inside the src and test folders.

npm run watch

Package Sidebar

Install

npm i generator-es

Weekly Downloads

2

Version

0.0.10

License

MIT

Last publish

Collaborators

  • etor