Skip to content

Instantly share code, notes, and snippets.

@catalinmiron
Created February 19, 2020 08:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save catalinmiron/5d295a2eea8917c987dfb0284f8dc310 to your computer and use it in GitHub Desktop.
Save catalinmiron/5d295a2eea8917c987dfb0284f8dc310 to your computer and use it in GitHub Desktop.
Uni install expo+npm
// 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