React Native app template repository
Empty app template for easier start. Features:
- sane unit testing (as similar to web React as possible, uses
react-domjust for testing) ready to go, uses Jest, Enzyme and must.js - eslint connected
- pure JS (no Flow)
To start developing on Android with real device:
- Run
npm install - Run
npm run start(keep it open) - Prepare your device by forwarding development server port - add your device id to
prepareDevice:*commands - Run
npm run start:android
npm run commands list:
start- cleans cache and starts development packaging server (Metro) - always run this after switching project you work onstart:android- runs packaging server is not run and installs & starts the app in development mode on Android device or emulatorstart:ios- same as above, but for iOSbuild:release:android- builds release version of app for AndroidprepareDevice:[name_here]- prepares real Android device for development by forwarding dev server port, you shoud add your device here because you'll need to repeat that every time you reconnect your devicetest- runs unit testslint- checks for js code stylelint:fix- checks for js code style, fixing it automatically where possible