A frontend starter template built with Vite, React, and TypeScript to speed up project setup.
- Vite
- React + TypeScript
- Tailwind CSS
- Vitest + React Testing Library
- ESLint + Prettier
- Husky + lint-staged
npx degit mohammad-alosta/vite-react-starter myapp
cd myapp
git init
-
npm run dev— start development server -
npm run build— type-check and build for production -
npm run preview— preview production build -
npm run lint— run ESLint -
npm run lint:fix— fix linting issues automatically -
npm run format— format code with Prettier -
npm run format:check— check formatting without modifying files -
npm run test— run tests in watch mode -
npm run test:run— run tests once -
npm run prepare— install Husky Git hooks
MIT