Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

codegen: add README and specify file in package.json #28507

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 14 additions & 0 deletions packages/react-native-codegen/README.md
@@ -0,0 +1,14 @@
# react-native-codegen

[![Version][version-badge]][package]

## 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*

[version-badge]: https://img.shields.io/npm/v/react-native-codegen?style=flat-square
[package]: https://www.npmjs.com/package/react-native-codegen
10 changes: 7 additions & 3 deletions packages/react-native-codegen/package.json
@@ -1,15 +1,19 @@
{
"version": "0.0.1",
"name": "react-native-codegen",
"version": "0.0.1",
"description": "⚛️ Code generation tools for React Native",
"homepage": "https://github.com/facebook/react-native/tree/master/packages/react-native-codegen",
"repository": {
"type": "git",
"url": "git@github.com:facebook/react-native.git"
},
"license": "MIT",
"files": [
"src"
],
"dependencies": {
"flow-parser": "^0.121.0",
"jscodeshift": "^0.7.0",
"nullthrows": "^1.1.1"
},
"license": "MIT"
}
}