0.0.10 • Published 10 years ago

generator-es v0.0.10

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

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
0.0.10

10 years ago

0.0.9

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago