Created
October 26, 2017 22:39
-
-
Save basketofsoftkittens/6af24e812b35a241c9a00c6c8d7a17f9 to your computer and use it in GitHub Desktop.
Important react native commands
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
/* | |
* 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