DEPRECATED: this library has been superceded by jessup, a project setup script for React Native, React for the web, and vanilla JS. Please check it out.
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
Add nativeup/bin
to your PATH
.
# nativeup [projecttype] my-new-app-name
Where [projecttype]
is one of:
cli
- React Native CLIexpo
- Expo
The following steps must be done manually after running nativeup
:
In package.json
, add:
+ "jest": {
+ "preset": "jest-expo"
+ },
"private": "true"
}
MIT