- node >= v16.14.1
- npm >= v8.19.3
git clone <repo_url> <project_directory>
cd ./<project_directory>npm i| Script | Purpose |
|---|---|
| start | aliased to start:development |
| start:development | run locally in development mode |
| start:staging | run locally in staging mode |
| start:production | run locally in production mode |
| build | aliased to build:development |
| build:development | create development build |
| build:staging | create staging build |
| build:production | create production build |
| preview | preview available build |
| lint | lint |
| lint:fix | fix auto-fixable linter errors and warnings |
| test | vitest --run (run unit tests) |
| test:ui | vitest --ui (web ui, watch for changes) |
| test:watch | vitest --watch (watch for changes) |
npm start # npm run startnpm test # npm run test