@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.
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-templateUsage
- Run on iOS:
yarn iosornpm run ios - Run on Android:
yarn androidornpm run android - Compile TypeScript:
yarn tsc - Run Tests:
yarn testornpm run test - Lint Code:
yarn lintornpm run lint - Format Code:
yarn formatornpm run format
Screenshots
List Screen

Text Screen

Form Screen

Button Screen

