Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 2.18 KB

FEATURES.md

File metadata and controls

44 lines (35 loc) · 2.18 KB

Features

An overview of the features and all the stuff included in this boilerplate.

Overview

Environment

  • Linting support with ESLint out of the box (Airbnb config)
  • Automatic code formatting with Prettier
  • Automatically remove un-used imports on save
  • Automatically sort imports on save
  • Commitlint to keep your git commit messages clean
  • Model aliases to allow absolute imports relative to src directory e.g. import {Container} from '@components'
  • Pre commit lint-staged hook (thanks to Husky)
  • Easily link custom fonts by adding them to src/assets/fonts and running yarn link:fonts

Development

  • Functional component generator. Generates component file, story, props and styled file.
  • View (screen) generator with test files
  • React navigation navigator generator (currently supports stack tab or drawer)
  • MST Model generator
  • Service generator
  • Repository generator
  • Global application styles/themes

Testing

  • Test environment setup by default. No extra work needed.
  • E2E testing included out of the box with Detox
  • Component testing with jest and react-test-renderer out of the box
  • Visually test components using storybook out of the box
  • Automatic test file generation for views, models, repositories, services