Simple template for react-native projects
- JavaScript 52.4%
- Objective-C 36.1%
- Java 11.5%
| android | ||
| ios | ||
| scripts | ||
| src | ||
| .babelrc | ||
| .eslintrc | ||
| .gitignore | ||
| .nycrc | ||
| circle.yml | ||
| index.android.js | ||
| index.ios.js | ||
| package.json | ||
| README.md | ||
React-Native Template
A template of how I think a React-Native project should be laid out.
Contains:
- Navigation:
react-native.Navigator - Test Framework:
mocha&chai - React-Native helpers:
react-native-mock - Renderer:
enzyme - Linting:
eslint - Coverage:
nyc
Running the project
Requires react-native-cli installed
- Clone the project
- Install dependencies with
npm install - Start the dev server with
npm start - Run with
react-native run-android
Run tests
Unittests: npm run mocha
Unittests with coverage: npm run coverage
Linter: npm run lint