##formidable-react-native-app-boilerplate
React Native / Redux / Babel boilerplate.
- Babel/ES2015 support
- ES6 Class support
- Redux with Async actions via
redux-thunk
and console logging viaredux-logger
- Navigator & NavigationBar
- Android support
- ESLint preconfigured with settings from eslint-config-defaults
- Flowtype annotations preconfigured
-
Make sure XCode is installed.
-
Install React Native following the instructions detailed here https://facebook.github.io/react-native/docs/getting-started.html#content
-
Clone this repo and then run
npm install
-
Open XCode and open
/ios/App.xcodeproj
Simply run the project in XCode
From your command line run react-native run-android
To lint your code using ESLint run npm run lint
To type check your code using Flow, first install Flow and then run npm run flow
If you have any trouble with package caching due to .babelrc
, run rm -fr $TMPDIR/react-*