npm

Bring the best of OSS JavaScript development to your projects with npm Orgs - private packages & team management tools.Learn more »

generator-babel-init

2.0.0 • Public • Published

generator-babel-init NPM version Build Status Dependency Status

Initialize babel in your project, tailored to your needs.

Installation

First, install Yeoman and generator-babel-init using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-babel-init

Then initialize babel in your project using:

yo babel-init

You'll be asked what ECMAScript level you want to transpile (es2015, stage-#), what target you are transpiling to (es5, node4, node5, rollup), what additional syntaxes you'll be using (just react for now), if and how you want to polyfill the environment (none, babel-polyfill, or transform-runtime), and how you intend to use babel.

generator-babel-init will then setup your .babelrc and install the necessary npm packages.

License

MIT © Daniel Friesen

install

npm i generator-babel-init

Downloadsweekly downloads

0

version

2.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability