{"name":"babel-preset-react-app","version":"10.1.0-next.43","license":"MIT","_id":"babel-preset-react-app@10.1.0-next.43","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"}],"homepage":"https://github.com/facebook/create-react-app#readme","bugs":{"url":"https://github.com/facebook/create-react-app/issues"},"dist":{"shasum":"56160d52039704259c4cc72ea55ef276d4acff8a","tarball":"http://registry-npm.ywwl.com/babel-preset-react-app/download/babel-preset-react-app-10.1.0-next.43.tgz","fileCount":10,"integrity":"sha512-4QEteSrHDbllsj/w+eZCYtd9tXW5MBVudJAmobhm8ewpfGS85JchKfeQRuCQmpee/ogkIyv74jwOt8pZnbnQfA==","signatures":[{"sig":"MEQCIEXgLMJYZZkBHOHbukIeJq2UwEnTQgx9jkDprL1kIXmvAiAJHS8Xmea1zrszdOTOF74PDblZQY2FU1v3LxuOk+jNjQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20776,"size":5503,"noattachment":false,"key":"/babel-preset-react-app/-/babel-preset-react-app-10.1.0-next.43.tgz"},"gitHead":"b961be37929c9dd340aff94cb92debf700a9aeba","_npmUser":{"name":"rickhanlonii","email":"rickhanlonii@gmail.com"},"repository":{"url":"git+https://github.com/facebook/create-react-app.git","type":"git","directory":"packages/babel-preset-react-app"},"_npmVersion":"lerna/4.0.0/node@v22.13.0+arm64 (darwin)","description":"Babel preset used by Create React App","directories":{},"_nodeVersion":"22.13.0","dependencies":{"@babel/core":"^7.16.0","@babel/runtime":"^7.16.3","@babel/preset-env":"^7.16.4","@babel/preset-react":"^7.16.0","babel-plugin-macros":"^3.1.0","@babel/preset-typescript":"^7.16.0","@babel/plugin-transform-runtime":"^7.16.4","@babel/plugin-proposal-decorators":"^7.16.4","@babel/plugin-proposal-private-methods":"^7.16.0","@babel/plugin-proposal-class-properties":"^7.16.0","@babel/plugin-proposal-numeric-separator":"^7.16.0","@babel/plugin-proposal-optional-chaining":"^7.16.0","@babel/plugin-transform-flow-strip-types":"^7.16.0","@babel/plugin-transform-react-display-name":"^7.16.0","babel-plugin-transform-react-remove-prop-types":"^0.4.24","@babel/plugin-proposal-private-property-in-object":"^7.16.7","@babel/plugin-proposal-nullish-coalescing-operator":"^7.16.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/babel-preset-react-app_10.1.0-next.43_1739570711891_0.6251540855812123","host":"s3://npm-registry-packages-npm-production"},"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":1739570712061,"_cnpm_publish_time":1739570712061,"dist-tags":{"canary":"9.1.0-next.61","latest":"10.1.0","next":"10.1.0-next.43"}}