|
16 | 16 | "lint:fix": "eslint . --ext .ts,.tsx,.js,.jsx --fix", |
17 | 17 | "format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,css,md}\"", |
18 | 18 | "format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,css,md}\"", |
19 | | - "test": "echo \"Error: no test specified\" && exit 1", |
| 19 | + "test": "vitest run", |
| 20 | + "test:watch": "vitest", |
| 21 | + "test:ui": "vitest --ui", |
| 22 | + "test:coverage": "vitest run --coverage", |
20 | 23 | "prepare": "node .husky/install.mjs || true" |
21 | 24 | }, |
22 | 25 | "author": "", |
|
26 | 29 | "@types/node": "^22.9.1", |
27 | 30 | "@typescript-eslint/eslint-plugin": "^8.47.0", |
28 | 31 | "@typescript-eslint/parser": "^8.47.0", |
| 32 | + "@vitest/coverage-v8": "4.0.16", |
| 33 | + "@vitest/ui": "^4.0.16", |
29 | 34 | "autoprefixer": "^10.4.22", |
30 | 35 | "concurrently": "^9.2.1", |
31 | 36 | "eslint": "^9.39.1", |
|
43 | 48 | "tailwindcss": "^4.1.17", |
44 | 49 | "tsx": "^4.19.2", |
45 | 50 | "typescript": "^5.6.3", |
46 | | - "typescript-eslint": "^8.47.0" |
| 51 | + "typescript-eslint": "^8.47.0", |
| 52 | + "vitest": "^4.0.16" |
47 | 53 | }, |
48 | 54 | "dependencies": { |
49 | 55 | "@faker-js/faker": "^9.2.0", |
|
0 commit comments