mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
8acb2b3a3e
Summary: `babel/preset-env` pulls in a number of unused deps, like `caniuse-lite` (3 MiB) that knows about which browsers support certain features. We do not ship to browsers and always know which version of node we are using, so we don't need to pull this in. I changed `jscodeshift` to optionally depend on `babel/preset-env` instead of always pulling it in. This reduces node_modules by 7 MiB. Changelog: [Internal] Reviewed By: yungsters Differential Revision: D21374475 fbshipit-source-id: 6f55e96e990ec0ca12f17bb3657bfa5429796b93
20 lines
481 B
JSON
20 lines
481 B
JSON
{
|
|
"name": "react-native-codegen",
|
|
"version": "0.0.2",
|
|
"description": "⚛️ Code generation tools for React Native",
|
|
"homepage": "https://github.com/facebook/react-native/tree/master/packages/react-native-codegen",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:facebook/react-native.git"
|
|
},
|
|
"license": "MIT",
|
|
"files": [
|
|
"src"
|
|
],
|
|
"dependencies": {
|
|
"flow-parser": "^0.121.0",
|
|
"jscodeshift": "^0.9.0",
|
|
"nullthrows": "^1.1.1"
|
|
}
|
|
}
|