From cfcfbcfc08b513879da5bb150e0a8bfd90ddb26b Mon Sep 17 00:00:00 2001 From: Jesse Katsumata Date: Fri, 3 Apr 2020 18:52:54 +0900 Subject: [PATCH] docs: add README and specify file in package.json --- packages/react-native-codegen/README.md | 14 ++++++++++++++ packages/react-native-codegen/package.json | 10 +++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 packages/react-native-codegen/README.md diff --git a/packages/react-native-codegen/README.md b/packages/react-native-codegen/README.md new file mode 100644 index 00000000000000..fe7238736dbb2a --- /dev/null +++ b/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 diff --git a/packages/react-native-codegen/package.json b/packages/react-native-codegen/package.json index 426b2126c030c7..3fa8cceef40e26 100644 --- a/packages/react-native-codegen/package.json +++ b/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" + } }