{"name":"babel-preset-react-app","version":"1.0.0-alpha.e756d73a","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-transform-class-properties":"6.16.0","babel-plugin-transform-es2015-destructuring":"6.16.0","babel-plugin-transform-es2015-parameters":"6.17.0","babel-plugin-transform-object-rest-spread":"6.16.0","babel-plugin-transform-react-constant-elements":"6.9.1","babel-plugin-transform-react-jsx-self":"6.11.0","babel-plugin-transform-react-jsx-source":"6.9.0","babel-plugin-transform-regenerator":"6.16.1","babel-plugin-transform-runtime":"6.15.0","babel-preset-env":"0.0.6","babel-preset-latest":"6.16.0","babel-preset-react":"6.16.0","babel-runtime":"6.11.6"},"homepage":"https://github.com/facebookincubator/create-react-app#readme","_id":"babel-preset-react-app@1.0.0-alpha.e756d73a","scripts":{},"_shasum":"72a236bf9636cc8b98cd26e0d79868abe0a3de26","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.1","_npmUser":{"name":"fson","email":"ville.immonen@iki.fi"},"dist":{"shasum":"72a236bf9636cc8b98cd26e0d79868abe0a3de26","tarball":"http://registry-npm.ywwl.com/babel-preset-react-app/download/babel-preset-react-app-1.0.0-alpha.e756d73a.tgz","integrity":"sha512-6L/qakNlMHI1ySaOVltmZD0530shxL8X8TED5XWWItoI4zxPy5ObHKETy0K1pLkBDxNq4kge5IUYU+uZ5PwxBA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/3ro999x0yE9I/c8+fj44YaiJDPZGTWwLk/W/dX7XOQIgKFenQ9yzLajLi8RPPQ+dLoaCabXCzGIdA1NWfUy/+DY="}],"size":2374,"noattachment":false,"key":"/babel-preset-react-app/-/babel-preset-react-app-1.0.0-alpha.e756d73a.tgz"},"maintainers":[{"name":"fson","email":"ville.immonen@iki.fi"},{"name":"gaearon","email":"dan.abramov@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/babel-preset-react-app-1.0.0-alpha.e756d73a.tgz_1477775823330_0.6461750557646155"},"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":1477775825309,"_cnpm_publish_time":1477775825309,"dist-tags":{"canary":"9.1.0-next.61","latest":"10.1.0","next":"10.1.0-next.43"}}