Skip to content

Latest commit

 

History

History

generator-babel-template

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

@my-dish/generator-babel-template

Create .babelrc.

Usage

$ npm i -g @my-dish/generator-babel-template
$ yo

Presets

  • babel-preset-env(default: on)
  • babel-preset-stage-1(default: on)
  • babel-preset-stage-2
  • babel-preset-stage-3
  • babel-preset-flow
  • babel-preset-react

Output

{
  "presets": [
    [
      "env",
      {
        "modules": false
      }
    ],
    "stage-1"
  ]
}