nativeup
Script to set up a new React Native CLI or Expo project with some basic libraries, including:
- Testing
- Unit Tests: Jest
- Component Tests: React Native Testing Library with jest-native
- Code Standardization: React Native Community ESLint and Prettier setup
Requirements
Usage
Add nativeup/bin
to your PATH
.
# nativeup [projecttype] my-new-app-name
Where [projecttype]
is one of:
cli
- React Native CLIexpo
- Expo
Manual Steps
The following steps must be done manually after running nativeup
:
Expo
In package.json
, add:
+ "jest": {
+ "preset": "jest-expo"
+ },
"private": "true"
}
License
MIT