@react-native-school/react-native-typescript-template
v1.1.0
Published
A simple React Native template with testing, navigation, and code formatting setup. Written in TypeScript.
Downloads
54
Maintainers
Readme
React Native School React Native TypeScript Template
A simple React Native template with the following features:
- All TypeScript
- Eslint & Prettier configured
- React Navigation v6
- Testing Configured
- Simple project structure
- Small component library to get started with
It's easy to create a project, strip out the few components included, and still have the architecture in place to quickly start building an app.
Installation
Be sure to have the React Native CLI installed.
npx react-native init AppName --template @react-native-school/react-native-typescript-template
Usage
- Run on iOS:
yarn ios
ornpm run ios
- Run on Android:
yarn android
ornpm run android
- Compile TypeScript:
yarn tsc
- Run Tests:
yarn test
ornpm run test
- Lint Code:
yarn lint
ornpm run lint
- Format Code:
yarn format
ornpm run format
Screenshots
List Screen
Text Screen
Form Screen
Button Screen