mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
e1575857dd
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49102 Moves this script one level up. In the next diff, will be used to support execution of scripts themselves, as well as `packages/`. Changelog: [Internal] Reviewed By: cipolleschi Differential Revision: D68960279 fbshipit-source-id: 7b62420c269dc1c1366ac9a827db078d34cb86c5
@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.