Make sure that you laptop is setup according to the React Native docs https://facebook.github.io/react-native/docs/getting-started
- Dependencies for iOS: node, watchman, cocoapods, xcode
- Dependencies for android: node, watchman, adoptopenjdk8, android studio
- Clone repo:
git clone git@github.com:phliem/RnContactsList.git - Go the project folder:
cd RnContactsList - Install all dependencies:
yarn install - Linking all dependencies:
cd ios && pod install
- To run the app on iOS:
yarn run ios - To run the app on android:
yarn run android
Using JEST (https://jestjs.io/) and ENZYME (https://airbnb.io/enzyme/)
- To run unit test :
yarn run test
- Run Eslint check:
yarn run lint - Run Flow check:
yarn run flow - Run avatars filenames cleanup and generate avatars map :
yarn run format-img