This is a React + TypeScript boilerplate built with Vite using React-Router & Zustand.
- ReactJS
- React-Router
- Zustand
- Mobx
- Vite
- TypeScript
- Jest
- Testing Library
- Cypress
- ESLint
- Prettier
- Polyfills
-
Create the project.
git clone https://github.com/xieQin/react-ts-template my-app
-
Access the project directory.
cd my-app
-
Initialize a git repository.
git init
-
Install dependencies.
npm install
-
Start dev server with hot reload at http://localhost:3000.
npm run dev
npm run lint
npm run build
Run the app in production mode at http://localhost:3000.
npm run serve
- Run unit tests and watch
npm run test:unit
- Run unit tests with coverage
npm run test:unit:coverage
- Run e2e tests
npm run test:e2e
This project is licensed under the MIT License.