- setup
- setup:code-push
- android
- ios
- firebase
- start
- xcode
- code-push
- generate
- lint
- lint:fix
- format
- commit
- test
- postinstall
- prepare
yarn setupIt will run all the necessary scripts for your project. You need to run it as soon as right after initializing the project.
yarn setup:code-pushIt will create/update code push configuration files for your project.
yarn androidBuilds your app and starts it on a connected Android emulator or device.
yarn iosBuilds your app and starts it on iOS simulator.
yarn firebaseIt will select the firebase config file that matches the environment you choose.
yarn startStarts the server that communicates with connected devices.
yarn xcodeIt will open the xcworkspace in XCode.
yarn code-pushIt will release the update to the CodePush server.
yarn generate [folder_name] [target_dir]It will create a template folder with name is folder_name in the target_dir. By default, target_dir is src/features.
yarn lintIt will find problems in your project.
yarn lint:fixIt will find and fix problems in your project.
yarn formatIt will format all files supported by Prettier in your project.
yarn commitIt will create the prompts needed to start a commit.
yarn testIt will run all of the test cases.
These are the set of tasks which will run after every dependency installation. These tasks are:
-
It will run all of the patches defined in the patches directory. You can find the list of the patched dependencies here.
-
Update react-native-permissions podspec to link additional permission handlers.
-
If you are running the project on MacOS, the it will automatically install the pods in the ios directory. If you are not on a MacOS machine, then it will skip the installing the pods.
It will automatically have Git hooks enabled after install.