React Native Boilerplate - Redux, React Native Router Flux, Jest, ESLint
Comming soon!
-
React Native v0.41.2
Install and setup react-native Getting Started to install requirement tools.
$ npm install -g react-native-cli
$ npm install
Clone boilerplate
$ git clone git@github.com:chitezh/react-native-boilerplate.git
$ cd react-native-boilerplate
$ npm install
$ react-native start
$ react-native run-android
or
$ react-native run-ios
$ npm test
This will run the script below, linting using ESLint and then, test using Jest
"scripts": {
...
"lint": "eslint . --ext .js,.jsx",
"pretest": "npm run lint --silent",
"test": "jest"
},