CLI Tools
Generators
Generators in this template are used to create boilerplate Component
and redux toolkit sices
Codes. You can also run yarn generate <part>
to skip the initial CLI input.
Setters
This command is used to set native related assets for your app. One pain point of working with react native is generating app icons with their corresponding platform size guidelines. By using this command you will be able to generate both Android and IOS app icons as well as splash screen icons based on the platform recommended size guideline just from one picture.
Pictures that you want to use as app icon or as a splash screen logo need to be inside src/assets/images
.
Git Hooks
This command will initiate a new git repository for your project if it doesn't exist currently and sets up husky so you can utilize pre commit and push hooks.
Unit Testing
Unit tests specified in the */tests/.ts files throughout the application are run.
Linting
Lints your typescript code.
Tries to fix lint issues in src
directory.
Typescript
Checks for typescript errors in the code base.
Last updated