generator-node-puzzle-babel

Generator for babel files and packages

Usage no npm install needed!

<script type="module">
  import generatorNodePuzzleBabel from 'https://cdn.skypack.dev/generator-node-puzzle-babel';
</script>

README

Build Status CircleCI Build Status Coverage Status codecov

generator-node-puzzle-babel

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

Install

npm install --global generator-node-puzzle-babel

Usage

yo node-puzzle-babel

Extending generator

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

Options

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