Metro configuration for React Native.
- Types
- ESM
- License
- MIT
- Install Size
- 6 kB(31.3 MB)
- Vulns
- 0
- Published
$
npm install @react-native/metro-config$
pnpm add @react-native/metro-config$
yarn add @react-native/metro-config$
bun add @react-native/metro-config$
deno add npm:@react-native/metro-config$
vlt install @react-native/metro-config$
vp add @react-native/metro-config@react-native/metro-config
Installation
yarn add --dev @react-native/js-polyfills metro-config @react-native/metro-babel-transformer metro-runtime @react-native/metro-config
Note: We're using yarn to install deps. Feel free to change commands to use npm 3+ and npx if you like
Testing
To run the tests in this package, run the following commands from the React Native root folder:
yarnto install the dependencies. You just need to run this onceyarn jest packages/metro-config.