mirror of
https://github.com/react/react-native.git
synced 2026-09-28 13:23:09 +08:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/56024 Switch js/react-native-github/packages/react-native-codegen/package.json to use hermes instead of babel Changelog: [internal] Reviewed By: SamChou19815 Differential Revision: D95878474 fbshipit-source-id: 566e054abedc7062c34e1ea68f592071c2a83c6b
@react-native/codegen
Installation
yarn add --dev @react-native/codegen
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/react-native-codegen.