expo-ts
v2024.11.24
Published
An opinionated template that will allow you to start a new React Native project quickly with Expo, TypeScript, Prettier, ESLint, and some custom configurations that will make development process better
Downloads
239
Maintainers
Readme
Using Expo 52.
Please read Starting React Native Project in 2025 article for details.
Quick start
- Run
npx create-expo-app -t expo-ts
command. - Type your project name.
- Change directory to your project with
cd <your-project-name>
command. - Run
npm run start
to start the Metro Bundler. - Press
i
to start the iOS simulator ora
to run the Android emulator.📱
Happy hacking! 🤓
Features
- TypeScript.
- Absolute path imports (e.g.
import { ComponentA } from 'src/components/A'
). - Prettier.
- Automaticaly sort imports on save.
- Check code for errors with TypeScript compiler and ESLint.
- Generate changelog with standard-version.
- Lint commits with Husky.
- react-native-safe-area-context.
- Write tests with Jest and React Native Testing Library.
Available commands
npm run start
- start Metro Bundler.npm run ios
- run on iOS.npm run android
- run on Android.npm run web
- run on web.npm run lint
- check code for errors.npm run prettier
- run Prettier formatter.npm run release
- generate a changelog, bump the version of app and create a new tag.npm run test
- run tests.