@niftyco/babel-react

NiftyCo React Babel Preset


Keywords
babel, babel-preset, react
License
MIT
Install
npm install @niftyco/babel-react@1.1.0

Documentation

@NiftyCo/Babel-react

NiftyCo React Babel Preset

Install

$ npm install --save-dev @niftyco/babel-react

Usage

Via .babelrc

.babelrc

{
  "presets": ["@niftyco/babel-react"]
}

Via CLI

$ babel script.js --preset @niftyco/babel-react

Via Node API

require('babel-core').transform('code', {
  presets: ['@niftyco/babel-react'],
})