fspoettel / vite-react-ts-template

extended version of vite's official react-ts template. adds CI, linting, testing and auto-formatting.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vite-react-ts-template

extended version of vite's official react-ts template.

additional features:

Install

# install dependencies.
npm i

Develop

npm run dev

Build

npm run build

Test

npm test

# run vitest in watch mode.
npm run test:watch

# collect coverage.
npm run test:coverage

Lint

npm run lint

Format

npm run fmt

Prettier will be run automatically on commit via lint-staged.

Preview

Serves the content of ./dist over a local http server.

npm run preview

About

extended version of vite's official react-ts template. adds CI, linting, testing and auto-formatting.

License:MIT License


Languages

Language:TypeScript 56.3%Language:CSS 29.0%Language:HTML 12.4%Language:Shell 2.4%