A boilerplate to create React Native components.
- mocha to allow writing unit tests for the project
- enzyme for testing
- travis as CI
- istanbul for code coverage (ES2015)
- codecov.io for code-coverage reporting
- Scripts written for building components(ES5)
- semantic-release for automated releases following semantic versioning
- commitizen and cz-conventional-changelog for better commit messages.
- Prettier as a precommit hook.
npm run lint
: Lint all js filesnpm run lintfix
: fix linting errors of all js filesnpm run semantic-release
: make a release. Leave it for CI to do.npm run test
: Run tests. tests file should be written as*.test.js
and using ES2015npm run test:watch
: Watch tests while writingnpm run test:cover
: Show coverage report of your testsnpm run test:report
: Report test coverage to codecov.io. Leave this for CInpm run format
: Run prettier on all JS files
MIT @ Ritesh Kumar