From https://github.com/t0-app/t1
git clone https://github.com/t0-app/t1 && yarn
Doc - https://rickandmortyapi.com/documentation/#rest
script | description |
---|---|
yarn web |
for running on browser |
yarn ios |
for running on iOS simulator |
yarn android |
for running on Android simulator |
yarn ts:check |
for checking typescript |
yarn lint |
for checking lint |
yarn lint:fix |
for checking and fix lint |
yarn test |
for testing |
yarn test:debug |
for testing with logs |
yarn test:final |
for running on Android simulator |
yarn ci:check |
group of lint, ts and test (used on precommit) |
yarn sb:load |
when a new component or screen is added it loads to storybook |
base-comp:new CompName |
for creating a new component with name CompName |
base-screen:new ScreenName |
for creating a new screen with name ScreenName |
git checkout -b Feature/ROC-36
git add .
git commit -m "refact: color map"
git push
Install Prettier - Code format extenstion on VS Code
https://docs.expo.dev/ https://docs.expo.dev/router/introduction/
Folder structure:
-
/app
-
/components
-
/data
-
/config
Packages:
- expo@49
- expo-router@2
- cross plataform
- ios
- android
- web
- typescript@5
- metro
- lint
- prettier
- styled-components
- jest
- storybook
- hygen
- react-query
- i18n
💡 main
branch keeps the chore structure for @t0-app/t1-app, on other branchs we add custom integrations like with-auth
, with-firebase
, with-tailwind
, etc
🤔 We could then rebase branchs from main and update the chore structure