{"name":"babel-preset-react-app","version":"10.1.0","description":"Babel preset used by Create React App","repository":{"type":"git","url":"git+https://github.com/facebook/create-react-app.git","directory":"packages/babel-preset-react-app"},"license":"MIT","bugs":{"url":"https://github.com/facebook/create-react-app/issues"},"dependencies":{"@babel/core":"^7.16.0","@babel/plugin-proposal-class-properties":"^7.16.0","@babel/plugin-proposal-decorators":"^7.16.4","@babel/plugin-proposal-nullish-coalescing-operator":"^7.16.0","@babel/plugin-proposal-numeric-separator":"^7.16.0","@babel/plugin-proposal-optional-chaining":"^7.16.0","@babel/plugin-proposal-private-methods":"^7.16.0","@babel/plugin-proposal-private-property-in-object":"^7.16.7","@babel/plugin-transform-flow-strip-types":"^7.16.0","@babel/plugin-transform-react-display-name":"^7.16.0","@babel/plugin-transform-runtime":"^7.16.4","@babel/preset-env":"^7.16.4","@babel/preset-react":"^7.16.0","@babel/preset-typescript":"^7.16.0","@babel/runtime":"^7.16.3","babel-plugin-macros":"^3.1.0","babel-plugin-transform-react-remove-prop-types":"^0.4.24"},"gitHead":"6254386531d263688ccfa542d0e628fbc0de0b28","homepage":"https://github.com/facebook/create-react-app#readme","_id":"babel-preset-react-app@10.1.0","_nodeVersion":"22.13.0","_npmVersion":"lerna/4.0.0/node@v22.13.0+arm64 (darwin)","dist":{"integrity":"sha512-f9B1xMdnkCIqe+2dHrJsoQFRz7reChaAHE/65SdaykPklQqhme2WaC08oD3is77x9ff98/9EazAKFDZv5rFEQg==","shasum":"e367f223f6c27878e6cc28471d0d506a9ab9f96c","tarball":"http://registry-npm.ywwl.com/babel-preset-react-app/download/babel-preset-react-app-10.1.0.tgz","fileCount":10,"unpackedSize":20759,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCpkKaiHYSKJ7TrbCUDMEJUrJd/jfkjkySBkQigr78VvAIga3d36C3HCT5LwHoud/n2gVilQinweLIlBoND1mjVXtk="}],"size":5496,"noattachment":false,"key":"/babel-preset-react-app/-/babel-preset-react-app-10.1.0.tgz"},"_npmUser":{"name":"rickhanlonii","email":"rickhanlonii@gmail.com"},"directories":{},"maintainers":[{"name":"fb","email":"opensource+npm@fb.com"},{"name":"timer","email":"timer150@gmail.com"},{"name":"iansu","email":"ian@iansutherland.ca"},{"name":"ianschmitz","email":"ianschmitz@gmail.com"},{"name":"rickhanlonii","email":"rickhanlonii@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/babel-preset-react-app_10.1.0_1739582305847_0.007293462487691693"},"_hasShrinkwrap":false,"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":1739582306068,"_cnpm_publish_time":1739582306068,"dist-tags":{"canary":"9.1.0-next.61","latest":"10.1.0","next":"10.1.0-next.43"}}