generator-babelrc

Yeoman generator for .babelrc

Usage no npm install needed!

<script type="module">
  import generatorBabelrc from 'https://cdn.skypack.dev/generator-babelrc';
</script>

README

Build Status Coverage Status

generator-babelrc

generator-babel creates .babelrc file with support for react plugins and installs the needed packages.

Install

npm install --global generator-babelrc

Usage

yo babel

Extending generator

this.composeWith(require.resolve('generator-babelrc'), {
  /* options */
});

Options

  • destination (String, default '') destination path for .babelrc file.
  • react (Boolean, default false) include react support.