Socket
Socket
Sign inDemoInstall

generator-es2015

Package Overview
Dependencies
556
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    generator-es2015

ES2015 projects with BabelJS, Mocha and Istanbul


Version published
Weekly downloads
1
Maintainers
1
Install size
43.0 MB
Created
Weekly downloads
 

Readme

Source

generator-es2015

travis build coveralls report npm package MIT license twitter link

Generate ES2015 projects that transpile your code using BabelJS and can directly be tested with Mocha and Istanbul.

get started

This generator assumes you have nodejs and npm installed (get it at nodejs.org), as well as yeoman (get it with [sudo] npm i -g yo).

Install the es2015 generator globally to quickly start new projects wherever you want:

[sudo] npm i -g generator-es2015

Then start the new project with

yo es2015

the project

yo es2015 creates a project where your es2015 sources are located in src/main and the es2015 tests are located in src/test.

npm start

compiles everything from src/main to lib/ and everything from src/test to test/.

npm test

does the same but also runs the tests from test/ against the generated code in app/ (so don't worry if you don't get 100% test coverage, babeljs adds code to make your es2015 stuff happen in es5).

license

This project is MIT-licensed.

Keywords

FAQs

Last updated on 16 Jun 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc