1.1.0 • Published 3 years ago

cra-template-arishi-typescript v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

cra-template-arishi-typescript

This project is based off the official TypeScript template for Create React App.

To use this template, add --template arishi-typescript when creating a new app.

For example:

npx create-react-app my-app --template arishi-typescript

# or

yarn create react-app my-app --template arishi-typescript

For more information, please refer to:

Custom additions to the CRA Typescript template

  1. Specify package manager as Yarn v3

You will find that the package manager is pinned to Yarn v3. It is installed in a backwords-compatible mode and will create a node_modules folder as with yarn v1 and npm

  1. Husky : Git Hooks

Husky will run the yarn lint and yarn test commands as a pre-commit hook.

  1. Prettier

Eslint has been augmented with prettier for code formatting. You will find the relevant prettier config in .prettierrc.json