-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a01940e
commit 454d3dc
Showing
124 changed files
with
7,415 additions
and
2,337 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
module.exports = { | ||
root: true, | ||
extends: '@react-native-community', | ||
rules: { | ||
'react-native/no-unused-styles': 1, | ||
'react-native/no-inline-styles': 0, | ||
}, | ||
}; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Build | ||
on: [push, pull_request] | ||
jobs: | ||
build-ios: | ||
name: build-ios | ||
runs-on: macos-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Install modules | ||
run: yarn | ||
- name: Install pods | ||
run: cd ios && pod install | ||
- name: Build | ||
run: cd ios && xcodebuild -workspace reactNativeApp.xcworkspace -configuration Debug -scheme reactNativeApp -arch x86_64 | ||
build-android: | ||
name: build-android | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Validate Gradle Wrapper | ||
uses: gradle/wrapper-validation-action@v1 | ||
- name: Install modules | ||
run: yarn | ||
- name: Build | ||
run: cd android && ./gradlew assembleDebug | ||
build-web: | ||
name: build-web | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Install modules | ||
run: yarn | ||
- name: Build | ||
run: yarn web:build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ build/ | |
.gradle | ||
local.properties | ||
*.iml | ||
*.hprof | ||
|
||
# node.js | ||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# React Native Boilerplate | ||
|
||
A barebones, minimal React Native project with the following support: | ||
|
||
- Support for iOS, Android & Web | ||
- TypeScript | ||
- Hermes for iOS & Android | ||
- Reanimated 2.0 | ||
- React Navigation | ||
- SVGs | ||
- Github Actions | ||
|
||
![Demo](demo.gif) | ||
|
||
## FAQ | ||
|
||
### Why not use Expo? | ||
Expo is awesome, but as a native dev with experience in iOS and Android I often found myself fighting to keep my dependencies lean, and configurations easily accessible. | ||
|
||
### Why use this boilerplate? There are a million others. | ||
There are a ton of boilerplates for every tech stack under the sun. This boilerplate has a few unique features that I hadn't seen in others: | ||
- Completely custom and readable babel, webpack, and metro configurations | ||
- Native navigators for iOS and Android + web navigation intergration | ||
- Typescript and SVG support preconfigured for all platforms | ||
|
||
### How do I rename the project files to my app name? | ||
You can rename this project to match yours using the `react-native-rename` package. | ||
`npx react-native-rename <newName>` | ||
|
||
### Are you accepting contributions? | ||
I choosing to maintain and build on this package according to my preferences. If you have a suggestion of how something could be simpler or would like to help update a dependency, please feel free to create a PR. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.