This project based on ejected Create React Native App.
There is a TypeScript, storybook support.
###Development
- Run
yarn
ornpm i
to install dependencies. - Run
npm run lint:watch
to start TSLinter in watch mode. - Run
npm run tsc
to start TypeScript in watch mode, which will watchsrc
folder and put compilation result intocompiled
folder. - Run
npm run storybook
ornpm run packager
to start RN packager with or without storybook support. - Run
npm run ios
ornpm run android
to run the app on device/emulator.
###Storybook
Run adb reverse tcp:7007 tcp:7007
command so that emulator could connect to the storybook server.