create-babelrc

1.0.0 • Public • Published

create-babelrc

Build Status styled with prettier

create .babelrc using package.json

Install

$ npm install --global create-babelrc

Usage

package.json

{
  "devDependencies": {
    "babel-plugin-transform-class-properties": "^6.24.1",
    "babel-preset-env": "^1.6.0",
    "babel-preset-flow": "^6.23.0"
  }
}
$ create-babelrc
Created .babelrc
 
{ presets: [ 'env''flow' ],
  plugins: [ 'transform-class-properties' ] }

.babelrc

{
  "presets": ["env", "flow"],
  "plugins": ["transform-class-properties"]
}

CLI

$ create-babelrc --help
 
  create .babelrc using package.json
 
  Usage
    $ create-babelrc
 
  Options
    --overwrite, -o    Overwrite .babelrc
 
  Examples
    $ create-babelrc

License

MIT © akameco

Package Sidebar

Install

npm i create-babelrc

Weekly Downloads

9

Version

1.0.0

License

MIT

Unpacked Size

4.97 kB

Total Files

6

Last publish

Collaborators

  • akameco