create-babelrc
v1.0.0
Published
create .babelrc using package.json
Downloads
1,428
Maintainers
Readme
create-babelrc
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