Basic configuration for TypeScript + React-Native projects to get you started quickly (hopefully).
- Latest Node/NPM
- Latest Yarn
- Install react-native CLI
npm install -g react-native - (Optional) Install VS Code
-
Clone project
-
cdinto project &npm install -
(Optional) For VS Code:
- Install TS lint extension
- Install react-native tools extension
Run npm run build to generate the build scripts and watch for changes.
Run react-native run-android to run the application on an Android device or emulator.
npm test to run tests and generate coverage report.
npm run clean to clean your dist folder.
npm run lint to run TSlint on your source code.
Started/Forked from: Microsoft TS-RN Starter