- Clone the repo:
git clone https:/github.com/teo-garcia/react-template-vite.git
- Install the dependencies:
- Run the project:
- Vite 4.
- React 18.
- Typescript 4.
- Linting with ESLint + Stylelint + Prettier.
- Git Hooks with Husky + Lint Staged.
- Unit Testing with Jest + RTL.
- E2E Testing with Playwright.
Command |
Description |
dev |
Run dev:web . |
build |
Run build:web . |
dev:web |
Run vite in DEV mode. |
build:web |
Run vite in PROD mode. |
start:web |
Run vite server (build required). |
test:unit |
Run jest . |
test:e2e |
Run build:web , start:web , and cypress . |
lint:css |
Lint CSS files. |
lint:js |
Lint JS files. |