/snaphor

Primary LanguageTypeScriptMIT LicenseMIT

ReactTS 17 with Chakra UI and Vite

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.

What's inside?

+ other smaller dependencies

Getting started

  1. Create the project.

    npx degit The24thDS/vite-reactts17-chakra-jest-husky my-app
  2. Access the project directory.

    cd my-app
  3. Initialize a git repository.

    git init
  4. Install dependencies.

    yarn
  5. Serve with hot reload at http://localhost:3000.

    yarn dev

Recommended VS Code extensions

Other commands

Lint commands

  • Run eslint
    yarn lint
  • Run eslint with fixing
    yarn lint:fix

Build commands

yarn build

Test commands

  • Run tests with coverage (will open the coverage if all tests succeed)
    yarn test
  • Watch tests
    yarn test:watch

License

This project is licensed under the MIT License.