33 lines
1.1 KiB
Markdown
33 lines
1.1 KiB
Markdown
# Turborepo react-native starter
|
|
|
|
This is a community-maintained example. If you experience a problem, please submit a pull request with a fix. GitHub Issues will be closed.
|
|
|
|
## Using this example
|
|
|
|
Run the following command:
|
|
|
|
```sh
|
|
npx create-turbo@latest -e with-react-native-web
|
|
```
|
|
|
|
## What's inside?
|
|
|
|
This Turborepo includes the following packages/apps:
|
|
|
|
### Apps and Packages
|
|
|
|
- `native`: a [react-native](https://reactnative.dev/) app built with [expo](https://docs.expo.dev/)
|
|
- `web`: a [Next.js](https://nextjs.org/) app built with [react-native-web](https://necolas.github.io/react-native-web/)
|
|
- `@repo/ui`: a stub [react-native](https://reactnative.dev/) component library shared by both `web` and `native` applications
|
|
- `@repo/typescript-config`: `tsconfig.json`s used throughout the monorepo
|
|
|
|
Each package/app is 100% [TypeScript](https://www.typescriptlang.org/).
|
|
|
|
### Utilities
|
|
|
|
This Turborepo has some additional tools already setup for you:
|
|
|
|
- [Expo](https://docs.expo.dev/) for native development
|
|
- [TypeScript](https://www.typescriptlang.org/) for static type checking
|
|
- [Prettier](https://prettier.io) for code formatting
|