1.1.0 • Published 3 years ago
cra-template-arishi-typescript v1.1.0
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:
- Getting Started – How to create a new app.
- User Guide – How to develop apps bootstrapped with Create React App.
Custom additions to the CRA Typescript template
- 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
Husky will run the yarn lint
and yarn test
commands as a pre-commit hook.
Eslint has been augmented with prettier for code formatting. You will find the relevant prettier config in .prettierrc.json