mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
6666df9fb8
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/46528 This is needed for a script that needs to switch over all possible type annotations in the codegen schema. Reviewed By: GijsWeterings Differential Revision: D62805189 fbshipit-source-id: 8fd113f4ad0b695b38e92b8d0fc45a991f597fb8
@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.