https://github.com/barelyhuman/react-native-starter
Stay Away! Personal Starter
https://github.com/barelyhuman/react-native-starter
Last synced: 3 months ago
JSON representation
Stay Away! Personal Starter
- Host: GitHub
- URL: https://github.com/barelyhuman/react-native-starter
- Owner: barelyhuman
- License: mit
- Created: 2022-06-23T08:31:09.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-23T11:14:45.000Z (about 4 years ago)
- Last Synced: 2025-01-25T04:37:32.194Z (over 1 year ago)
- Language: Java
- Size: 266 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# react-native-starter
This is a personal starter and while could be used as an inspiration, this may
or maynot be the best starting point for you.
## Stuff in here
### Direct Deps
- @react-navigation
- react-native-flash-message
- styled-components
- styled-system
- zustand
### Dev deps
- Prettier (`@barelyhuman/prettier-config`)
- Eslint
- PNPM
## Usage
1. Creating a new project is as simple as
```sh
degit barelyhuman/react-native-starter
npx react-native-rename -b
```
replace `` with the name you wish to have for the project and
`` with what you wish the bundle-id to be in the android app
2. Then we need to setup your system to be able to make sure that's consistent
for both dev and CI. Feel free to add a setup script for your particular
linux distro and raise a PR
**Arch**
```sh
./scripts/setup-arch.sh
```
**Ubuntu**
```sh
./scripts/setup-ubuntu.sh
```
**Mac**
```sh
./scripts/setup-mac.sh
```
3. Post setup, you can start but make sure you install react native
dependencies.
> **Note**: The repo uses pnpm, so make sure you have pnpm installed (the setup
> scripts will take care of it)
```sh
pnpm i
pnpx pod-install
# run ios
pnpm ios
# run android
pnpm android
```
## License
[MIT](/license)