{"name":"babel-preset-react-app","version":"3.0.0-alpha.0d0536f9","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.4.0","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.0d0536f9","scripts":{},"_shasum":"7c1e372645a2f195d7892aa75482a63dd1ff6be0","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"dist":{"shasum":"7c1e372645a2f195d7892aa75482a63dd1ff6be0","tarball":"http://registry-npm.ywwl.com/babel-preset-react-app/download/babel-preset-react-app-3.0.0-alpha.0d0536f9.tgz","integrity":"sha512-4AzrLEnpHiDCg0sBoB/sGqnWF9znyO6FSWvgpjtIDLXFDKcb7gkg7GfvraB27Rb9Z/DdRZbYbWoIu+57tPLUyg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOibQqqSuJIdBDpU5JbEzPZkXlZvo5LraoQWlUHG/9uAIgQOSwh9aJAEjN8d0Z+5pNuyCqPDQ89R9n06eOG4LxQoY="}],"size":2683,"noattachment":false,"key":"/babel-preset-react-app/-/babel-preset-react-app-3.0.0-alpha.0d0536f9.tgz"},"maintainers":[{"name":"fson","email":"ville.immonen@iki.fi"},{"name":"gaearon","email":"dan.abramov@gmail.com"},{"name":"timer","email":"timer150@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/babel-preset-react-app-3.0.0-alpha.0d0536f9.tgz_1495109342260_0.26887492020614445"},"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":1495109344176,"_cnpm_publish_time":1495109344176,"dist-tags":{"canary":"9.1.0-next.61","latest":"10.1.0","next":"10.1.0-next.43"}}