mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/51987 In this diff I'm adding flowTypes for codegen LIBRARY_GENERATORS changelog: [internal] internal Reviewed By: huntie Differential Revision: D76470808 fbshipit-source-id: 8e2bddeda1f9175fd25fee04f8fdd3cb7c7faa49
@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.