Skip to content

ritz078/react-native-component-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-component-boilerplate

A boilerplate to create React Native components.

Features

  1. mocha to allow writing unit tests for the project
  2. enzyme for testing
  3. travis as CI
  4. istanbul for code coverage (ES2015)
  5. codecov.io for code-coverage reporting
  6. Scripts written for building components(ES5)
  7. semantic-release for automated releases following semantic versioning
  8. commitizen and cz-conventional-changelog for better commit messages.
  9. Prettier as a precommit hook.

Scripts

  1. npm run lint : Lint all js files
  2. npm run lintfix : fix linting errors of all js files
  3. npm run semantic-release : make a release. Leave it for CI to do.
  4. npm run test : Run tests. tests file should be written as *.test.js and using ES2015
  5. npm run test:watch : Watch tests while writing
  6. npm run test:cover : Show coverage report of your tests
  7. npm run test:report : Report test coverage to codecov.io. Leave this for CI
  8. npm run format: Run prettier on all JS files

License

MIT @ Ritesh Kumar

About

A boilerplate to create React Native components

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published