summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBilal Budhani <bilal@bigbinary.com>2016-06-06 04:39:42 +0530
committerMarc Cornellà <marc.cornella@live.com>2016-06-06 01:09:42 +0200
commitdeb992b8aa493ecd4cb13ceb32aa848909bbcefa (patch)
treeb136033dfa3cf08bd7cb2b1668248689c3bf25ed
parentdc222704dfac09f7b5eaa8befd7afc39c69e51c5 (diff)
downloadzsh-deb992b8aa493ecd4cb13ceb32aa848909bbcefa.tar.gz
zsh-deb992b8aa493ecd4cb13ceb32aa848909bbcefa.tar.bz2
zsh-deb992b8aa493ecd4cb13ceb32aa848909bbcefa.zip
Adds ReactNative plugin :iphone: (#5018)
-rw-r--r--plugins/react-native/README.md14
-rw-r--r--plugins/react-native/react-native.plugin.zsh6
2 files changed, 20 insertions, 0 deletions
diff --git a/plugins/react-native/README.md b/plugins/react-native/README.md
new file mode 100644
index 000000000..78bfb6844
--- /dev/null
+++ b/plugins/react-native/README.md
@@ -0,0 +1,14 @@
+# React Native
+
+**Maintainer:** [BilalBudhani](https://github.com/BilalBudhani)
+
+### List of Aliases
+
+Alias | React Native command
+------|---------------------
+**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"*
+
diff --git a/plugins/react-native/react-native.plugin.zsh b/plugins/react-native/react-native.plugin.zsh
new file mode 100644
index 000000000..7323f1d2e
--- /dev/null
+++ b/plugins/react-native/react-native.plugin.zsh
@@ -0,0 +1,6 @@
+alias rnand='react-native run-android'
+alias rnios4s='react-native run-ios --simulator "iPhone 4s"'
+alias rnios5='react-native run-ios --simulator "iPhone 5"'
+alias rnios5s='react-native run-ios --simulator "iPhone 5s"'
+alias rnios='react-native run-ios'
+