Created
February 19, 2020 08:41
-
-
Save catalinmiron/5d295a2eea8917c987dfb0284f8dc310 to your computer and use it in GitHub Desktop.
Uni install expo+npm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// In your bash/zsh/etc... | |
function universalInstall() { | |
echo "Running install with $@"; | |
echo "- react-native-gesture-handler\n- react-native-reanimated\n- react-native-screens\n- react-native-safe-area-context\n- @react-native-community/masked-view\n" | |
$@ install react-native-gesture-handler react-native-reanimated react-native-screens react-native-safe-area-context @react-native-community/masked-view; | |
} | |
// Usage | |
universalInstall expo | |
universalInstall npm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment