{"_id":"@brunolemos/babel-preset-react-app","_rev":"1-749da24cdf95656ea78cd1d79f09043c","name":"@brunolemos/babel-preset-react-app","dist-tags":{"latest":"5.0.6"},"versions":{"5.0.6":{"name":"@brunolemos/babel-preset-react-app","version":"5.0.6","description":"Babel preset used by Create React App","repository":{"type":"git","url":"git+https://github.com/facebook/create-react-app.git"},"license":"MIT","bugs":{"url":"https://github.com/facebook/create-react-app/issues"},"dependencies":{"@babel/core":"7.1.0","@babel/plugin-proposal-class-properties":"7.1.0","@babel/plugin-proposal-object-rest-spread":"7.0.0","@babel/plugin-syntax-dynamic-import":"7.0.0","@babel/plugin-transform-classes":"7.1.0","@babel/plugin-transform-destructuring":"7.0.0","@babel/plugin-transform-flow-strip-types":"7.0.0","@babel/plugin-transform-react-constant-elements":"7.0.0","@babel/plugin-transform-react-display-name":"7.0.0","@babel/plugin-transform-runtime":"7.1.0","@babel/preset-env":"7.1.0","@babel/preset-react":"7.0.0","@babel/preset-typescript":"7.1.0","@babel/runtime":"7.0.0","babel-loader":"8.0.4","babel-plugin-dynamic-import-node":"2.2.0","babel-plugin-macros":"2.4.2","babel-plugin-transform-react-remove-prop-types":"0.4.18"},"homepage":"https://github.com/facebook/create-react-app#readme","_id":"@brunolemos/babel-preset-react-app@5.0.6","_npmVersion":"6.4.1","_nodeVersion":"8.11.4","_npmUser":{"name":"brunolemos","email":"bruno@brunolemos.org"},"dist":{"integrity":"sha512-j4M1NOoQdM6tMk2N3WBkN8UuiIXygiO8X8khaSqFAQPMttDliFLoDIpAUHf0/pAeU68eaX0zUOZ/tZbpPljC9w==","shasum":"353441725e4f2a05c7b708837d106691c453eb01","tarball":"https://registry.npmjs.org/@brunolemos/babel-preset-react-app/-/babel-preset-react-app-5.0.6.tgz","fileCount":10,"unpackedSize":17930,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbz1urCRA9TVsSAnZWagAA4WcQAJiqH3PMsMFDOMNYS3hp\nZxi19Mdgd5A9FAFvFOTJRn7m9cB3n9n52r9ortHS1Y2EWXq7FsWv8XlA5MZ2\n+64SoagDEm7IDIw4P4Kdohcn1Q2JnEZYmBurIgyOa5BWNJ0Cp1ZRTi/YcVRY\n6dkaSACxcZPjF+3anKZG9QKVjs8aiU3M0VassG67UaNz9RZzn99dEdolL6UL\n/PzCAaUpmxrLE1j17EUzoTB71CUwqrnd07KDtHH2cg4W6tBC8tmhWaTlDkDn\nUWgDty+5pfLWyLwGAMBkCkKxLXhDgdD6s+TmSOjZzfvh7BufteKLyq87IahY\nU6Ba2WziEVgup6HyTM4xTDSfzUuAprOGb4V351LwbR/NaiPi/5RFK6MHDLbP\nMPG1GK4lj4lawmhw+MJFqFetcU45gMKbPY/ajjE+u2T/a1HahgsiLJocha2y\nsjszQTBUe5dkLWKjOWvj7GMPi9wMTrmP0q/BgrR/+Vi8lGI67XbT3f88vXmU\nr/S+38zWRfFvBwzMPZEUf/di31NWgI6W9VjBOsKElOrDLaFjGWsDxTreS2za\niRo1SoU+CDvathOpOD1DtmEMPZydJDgELcCzWnp6xkNy0XY1kTrcoT9PcNfb\nEMe8nccqfOfZa1tSPFupw+JjnSynFJdVNawVoZ8irhI7ukgkUaC+M5yeq+b3\ngwBV\r\n=QVgW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMJfw7x02vs6OfVZEc7VIrdGoitNqoelpSpOksns6b5gIhAP6kvujyjAfU1UuG0U6kh0jv7RgQ925AeEqNSc/G59Y1"}]},"maintainers":[{"name":"brunolemos","email":"bruno@brunolemos.org"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-preset-react-app_5.0.6_1540316074751_0.547228877563747"},"_hasShrinkwrap":false}},"time":{"created":"2018-10-23T17:34:34.598Z","5.0.6":"2018-10-23T17:34:34.877Z","modified":"2022-04-04T20:49:24.257Z"},"maintainers":[{"name":"brunolemos","email":"bruno@brunolemos.org"}],"description":"Babel preset used by Create React App","homepage":"https://github.com/facebook/create-react-app#readme","repository":{"type":"git","url":"git+https://github.com/facebook/create-react-app.git"},"bugs":{"url":"https://github.com/facebook/create-react-app/issues"},"license":"MIT","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://github.com/facebook/create-react-app/blob/master/README.md#getting-started) – How to create a new app.\n- [User Guide](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md) – 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 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```js\n{\n  \"presets\": [\"react-app\"]\n}\n```\n\nThis preset uses the `useBuiltIns` option with [transform-object-rest-spread](http://babeljs.io/docs/plugins/transform-object-rest-spread/) and [transform-react-jsx](http://babeljs.io/docs/plugins/transform-react-jsx/), which assumes that `Object.assign` is available or polyfilled.\n\n## Usage with Flow\n\nFlow is enabled by default. Make sure you have a `.flowconfig` file at the root directory. You can also use the `flow` option on `.babelrc`:\n\n```\n{\n  \"presets\": [[\"react-app\", { \"flow\": true, \"typescript\": false }]]\n}\n```\n\n## Usage with TypeScript\n\nTypeScript is enabled by default. Make sure you have a `tsconfig.json` file at the root directory. You can also use the `typescript` option on `.babelrc`:\n\n```\n{\n  \"presets\": [[\"react-app\", { \"flow\": false, \"typescript\": true }]]\n}\n```\n","readmeFilename":"README.md"}