Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save basketofsoftkittens/6af24e812b35a241c9a00c6c8d7a17f9 to your computer and use it in GitHub Desktop.
Save basketofsoftkittens/6af24e812b35a241c9a00c6c8d7a17f9 to your computer and use it in GitHub Desktop.
Important react native commands
/*
* These commands assume you have a local android project, local ios project, and the node-react-mobile
* project installed locally in this type of directory structure
* -\flipagram-android
* -\node-react-mobile
* -\flipagram-ios
// bundling the code and putting it in the android codebase
NODE_ENV=production gulp bundle:android && gulp move:android
// bundling the code and putting it in the ios codebase
NODE_ENV=production gulp bundle:ios && gulp move:ios
// downloading the locales from smartling
gulp locale:download && gulp locale:compile && gulp locale:move
// running the app locally
npm run start
// running the tests
npm run test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment