Update README for react-native plugin

Fix format and add a brief description
This commit is contained in:
Marc Cornellà 2016-12-17 22:44:25 +01:00 committed by GitHub
commit f5e0b1fa0e

View file

@ -1,18 +1,23 @@
# React Native # React Native plugin
**Maintainers:** This plugin adds completion for [`react-native`](https://facebook.github.io/react-native/).
[BilalBudhani](https://github.com/BilalBudhani) It also defines a few [aliases](#aliases) for the commands more frequently used.
[MauroPorrasP](https://github.com/mauroporrasp)
### List of Aliases To enable, add `react-native` to your `plugins` array in your zshrc file:
Alias | React Native command ```zsh
------|--------------------- plugins=(... react-native)
**rn** | *react-native* ```
**rns** | *react-native start*
**rnand** | *react-native run-android*
**rnios** | *react-native run-ios*
**rnios4s** | *react-native run-ios --simulator "iPhone 4s"*
**rnios5** | *react-native run-ios --simulator "iPhone 5"*
**rnios5s** | *react-native run-ios --simulator "iPhone 5s"*
## Aliases
| Alias | React Native command |
|:------------|:-----------------------------------------------|
| **rn** | `react-native` |
| **rns** | `react-native start` |
| _App testing_ |
| **rnand** | `react-native run-android` |
| **rnios** | `react-native run-ios` |
| **rnios4s** | `react-native run-ios --simulator "iPhone 4s"` |
| **rnios5** | `react-native run-ios --simulator "iPhone 5"` |
| **rnios5s** | `react-native run-ios --simulator "iPhone 5s"` |