This is a test project to showcase good React Native engineering practices
This project uses Expo Managed Workflow for faster development process and easier access to test and run the application, if you do not have Expo installed locally on your machine, please install it according to this doc.
- Clone this repository
git@github.com:Petr-tsvetkov31/rn-eng-challenge-emma.git
- Go into cloned project repository
cd rn-eng-challenge-emma
- Install JS dependencies
yarn install
- Run project on iOS
yarn ios
or Androidyarn android
simulator
yarn start
- starts react-native metro bundleryarn android
- starts the app in Android emulatoryarn ios
- starts the app in iOS simulatoryarn check-code
- formats, lints and running testsyarn test
- run tests
- This project is using TypeScript, ESLint and Prettier to in inform and correct some of errors and typos. I'm extending Expo's eslint config eslint-config-universe +
eslint-plugin-react-hooks
- To check before committing code I'm using husky + lint-staged