mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
d380bb8473
Summary: X-link: https://github.com/facebook/metro/pull/1024 Pull Request resolved: https://github.com/facebook/react-native/pull/38228 Changelog: [General][Changed] - Move react-native-babel-transformer and react-native-babel-preset from Metro to React Native repo. Metro Changelog: **[Breaking]** - Remove `metro-react-native-babel-transformer` and `metro-react-native-babel-preset`, to be published as `react-native/metro-babel-transformer` and `react-native/babel-preset` instead. This diff does the following: - Move `metro/packages/metro-react-native-babel-preset` to `react-native/packages/react-native-babel-preset`. - Rename `metro-react-native-babel-preset` package to `react-native/babel-preset`. - Move `metro/packages/metro-react-native-babel-transformer` to `react-native/packages/react-native-babel-transformer`. - Rename `metro-react-native-babel-transformer` package to `react-native/metro-babel-transformer`. - Upadate dependencies. Reviewed By: robhogan Differential Revision: D46977466 fbshipit-source-id: 32478f63a0442b61a1804f12ef814c8b29d7f8bb
64 lines
2.5 KiB
JSON
64 lines
2.5 KiB
JSON
{
|
|
"name": "@react-native/babel-preset",
|
|
"version": "0.73.15",
|
|
"description": "Babel preset for React Native applications",
|
|
"main": "src/index.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:facebook/react-native.git"
|
|
},
|
|
"keywords": [
|
|
"babel",
|
|
"preset",
|
|
"react-native"
|
|
],
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@babel/core": "^7.20.0",
|
|
"@babel/plugin-proposal-async-generator-functions": "^7.0.0",
|
|
"@babel/plugin-proposal-class-properties": "^7.18.0",
|
|
"@babel/plugin-proposal-export-default-from": "^7.0.0",
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.0",
|
|
"@babel/plugin-proposal-numeric-separator": "^7.0.0",
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.20.0",
|
|
"@babel/plugin-proposal-optional-catch-binding": "^7.0.0",
|
|
"@babel/plugin-proposal-optional-chaining": "^7.20.0",
|
|
"@babel/plugin-syntax-dynamic-import": "^7.8.0",
|
|
"@babel/plugin-syntax-export-default-from": "^7.0.0",
|
|
"@babel/plugin-syntax-flow": "^7.18.0",
|
|
"@babel/plugin-syntax-nullish-coalescing-operator": "^7.0.0",
|
|
"@babel/plugin-syntax-optional-chaining": "^7.0.0",
|
|
"@babel/plugin-transform-arrow-functions": "^7.0.0",
|
|
"@babel/plugin-transform-async-to-generator": "^7.20.0",
|
|
"@babel/plugin-transform-block-scoping": "^7.0.0",
|
|
"@babel/plugin-transform-classes": "^7.0.0",
|
|
"@babel/plugin-transform-computed-properties": "^7.0.0",
|
|
"@babel/plugin-transform-destructuring": "^7.20.0",
|
|
"@babel/plugin-transform-flow-strip-types": "^7.20.0",
|
|
"@babel/plugin-transform-function-name": "^7.0.0",
|
|
"@babel/plugin-transform-literals": "^7.0.0",
|
|
"@babel/plugin-transform-modules-commonjs": "^7.0.0",
|
|
"@babel/plugin-transform-named-capturing-groups-regex": "^7.0.0",
|
|
"@babel/plugin-transform-parameters": "^7.0.0",
|
|
"@babel/plugin-transform-react-display-name": "^7.0.0",
|
|
"@babel/plugin-transform-react-jsx": "^7.0.0",
|
|
"@babel/plugin-transform-react-jsx-self": "^7.0.0",
|
|
"@babel/plugin-transform-react-jsx-source": "^7.0.0",
|
|
"@babel/plugin-transform-runtime": "^7.0.0",
|
|
"@babel/plugin-transform-shorthand-properties": "^7.0.0",
|
|
"@babel/plugin-transform-spread": "^7.0.0",
|
|
"@babel/plugin-transform-sticky-regex": "^7.0.0",
|
|
"@babel/plugin-transform-typescript": "^7.5.0",
|
|
"@babel/plugin-transform-unicode-regex": "^7.0.0",
|
|
"@babel/template": "^7.0.0",
|
|
"babel-plugin-transform-flow-enums": "^0.0.2",
|
|
"react-refresh": "^0.4.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@babel/core": "*"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
}
|
|
}
|