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-reactts17-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:3000.
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 is licensed under the MIT License.