This is a React + TypeScript + Chakra UI boilerplate to be built with Vite. It also includes Husky and a pre-commit hook that runs yarn format
.
+ other smaller dependencies
-
Create the project.
npx degit The24thDS/vite-reactts18-chakra-jest-husky my-app
-
Access the project directory.
cd my-app
-
Initialize a git repository.
git init
-
Install dependencies.
yarn
-
Serve with hot reload at http://localhost:5173.
yarn dev
- Run eslint
yarn lint
- Run eslint with fixing
yarn lint:fix
yarn build
- Run tests with coverage (will open the coverage if all tests succeed)
yarn test
- Watch tests
yarn test:watch
This project use commitlint to ensure that commit messages are conventional-changelog compliants.
To help you build more efficient commit messages, you can use the commitizen package by running this command :
yarn cz
This project is licensed under the MIT License.