{"name":"babel-preset-react-app","version":"3.0.0-alpha.60ae2b6d","description":"Babel preset used by Create React App","repository":{"type":"git","url":"git+https://github.com/facebookincubator/create-react-app.git"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/facebookincubator/create-react-app/issues"},"files":["index.js"],"dependencies":{"babel-plugin-dynamic-import-node":"1.0.2","babel-plugin-syntax-dynamic-import":"6.18.0","babel-plugin-transform-class-properties":"6.24.1","babel-plugin-transform-object-rest-spread":"6.23.0","babel-plugin-transform-react-constant-elements":"6.23.0","babel-plugin-transform-react-jsx":"6.24.1","babel-plugin-transform-react-jsx-self":"6.22.0","babel-plugin-transform-react-jsx-source":"6.22.0","babel-plugin-transform-regenerator":"6.24.1","babel-plugin-transform-runtime":"6.23.0","babel-preset-env":"1.5.2","babel-preset-react":"6.24.1"},"peerDependencies":{"babel-runtime":"^6.23.0"},"homepage":"https://github.com/facebookincubator/create-react-app#readme","_id":"babel-preset-react-app@3.0.0-alpha.60ae2b6d","scripts":{},"_shasum":"99b1791e67d9081ee0124830d6bfc6db61fc29fe","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.1.2","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"dist":{"shasum":"99b1791e67d9081ee0124830d6bfc6db61fc29fe","tarball":"http://registry-npm.ywwl.com/babel-preset-react-app/download/babel-preset-react-app-3.0.0-alpha.60ae2b6d.tgz","integrity":"sha512-G49X6Z9qRep1tsa0zVIr/PrjjzF9stK/OIOrn2b0aORKIsLREcKZKJvZSlYAtTa5VrUCVkbNCVyrrEOJiNWB8g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIETgTYgCj51iw24eRRLN5FMxz+CqpVF4nVPhMwQ6IB5AAiEAwL5Si1u6LobRZkl7lNk4/eOAoR7EaMvzyGFO46gW2mo="}],"size":3371,"noattachment":false,"key":"/babel-preset-react-app/-/babel-preset-react-app-3.0.0-alpha.60ae2b6d.tgz"},"maintainers":[{"email":"timer150@gmail.com","name":"timer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"dan.abramov@gmail.com","name":"gaearon"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-preset-react-app-3.0.0-alpha.60ae2b6d.tgz_1498662784625_0.4529502750374377"},"directories":{},"readme":"# babel-preset-react-app\n\nThis package includes the Babel preset used by [Create React App](https://github.com/facebook/create-react-app).<br>\nPlease refer to its documentation:\n\n- [Getting Started](https://facebook.github.io/create-react-app/docs/getting-started) – How to create a new app.\n- [User Guide](https://facebook.github.io/create-react-app/) – How to develop apps bootstrapped with Create React App.\n\n## Usage in Create React App Projects\n\nThe easiest way to use this configuration is with [Create React App](https://github.com/facebook/create-react-app), which includes it by default. **You don’t need to install it separately in Create React App projects.**\n\n## Usage Outside of Create React App\n\nIf you want to use this Babel preset in a project not built with Create React App, you can install it with the following steps.\n\nFirst, [install Babel](https://babeljs.io/docs/setup/).\n\nThen install babel-preset-react-app.\n\n```sh\nnpm install babel-preset-react-app --save-dev\n```\n\nThen create a file named `.babelrc` with following contents in the root folder of your project:\n\n```json\n{\n  \"presets\": [\"react-app\"]\n}\n```\n\nThis preset uses the `useBuiltIns` option with [transform-object-rest-spread](https://babeljs.io/docs/plugins/transform-object-rest-spread/) and [transform-react-jsx](https://babeljs.io/docs/plugins/transform-react-jsx/), which assumes that `Object.assign` is available or polyfilled.\n\n## Usage with Flow\n\nMake sure you have a `.flowconfig` file at the root directory. You can also use the `flow` option on `.babelrc`:\n\n```json\n{\n  \"presets\": [[\"react-app\", { \"flow\": true, \"typescript\": false }]]\n}\n```\n\n## Usage with TypeScript\n\nMake sure you have a `tsconfig.json` file at the root directory. You can also use the `typescript` option on `.babelrc`:\n\n```json\n{\n  \"presets\": [[\"react-app\", { \"flow\": false, \"typescript\": true }]]\n}\n```\n\n## Absolute Runtime Paths\n\nAbsolute paths are enabled by default for imports. To use relative paths instead, set the `absoluteRuntime` option in `.babelrc` to `false`:\n\n```\n{\n  \"presets\": [[\"react-app\", { \"absoluteRuntime\": false }]]\n}\n```\n","publish_time":1498662785654,"_cnpm_publish_time":1498662785654,"dist-tags":{"canary":"9.1.0-next.61","latest":"10.1.0","next":"10.1.0-next.43"}}