2024.11.24 • Published 12 months ago
expo-ts v2024.11.24
Using Expo 52.
Please read Starting React Native Project in 2025 article for details.
Quick start
- Run
npx create-expo-app -t expo-tscommand. - Type your project name.
- Change directory to your project with
cd <your-project-name>command. - Run
npm run startto start the Metro Bundler. - Press
ito start the iOS simulator orato 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.