Boilerplate for React-native app using expo
()
Presentation
This boilerplate include : - react-native - expo - redux - rxjs with redux-observable - reselect - react-intl (i18n) - react-navigation (amazing isomorphic router) - unit test with jest - continuous integration with Travis - tslint and prettier - commitizen with cz-conventional-changelog - gitHook with husky and lint-staged- run prettier before commit
- run test before push
Requirement
- Node.js - Expo Ide - Redux remote devtools - an android/iphone or genymotion installedInstallation
install dependancies
$ npm i
Compile typescript source
$ npm start
Then open Expo ide and start your project
Development
First release
$ npm run release --first-release
Run tests
$ npm test
$ npm run tdd
Scafolding
$ npm run generate
You have access to plop.js generators: - component - containers - redux module (reducers, selector, actionCreator, middlewares) - language - page - navigator
production
Publish a release
$ npm run release