|
8 | 8 | "build": "react-router build", |
9 | 9 | "start": "react-router-serve ./build/server/index.js", |
10 | 10 | "typecheck": "react-router typegen && tsc", |
11 | | - "lint": "biome check --write --unsafe .", |
| 11 | + "test": "vitest", |
| 12 | + "coverage": "vitest run --coverage", |
| 13 | + "lint": "biome check --write .", |
12 | 14 | "postinstall": "husky" |
13 | 15 | }, |
14 | 16 | "lint-staged": { |
|
38 | 40 | "@react-router/dev": "^7.5.3", |
39 | 41 | "@svgr/rollup": "^8.1.0", |
40 | 42 | "@tailwindcss/vite": "^4.1.5", |
| 43 | + "@testing-library/dom": "^10.4.0", |
| 44 | + "@testing-library/jest-dom": "^6.6.3", |
| 45 | + "@testing-library/react": "^16.3.0", |
| 46 | + "@testing-library/user-event": "^14.6.1", |
41 | 47 | "@types/node": "^22.15.3", |
42 | 48 | "@types/react": "^19.1.2", |
43 | 49 | "@types/react-dom": "^19.1.3", |
| 50 | + "@vitest/coverage-v8": "^3.1.4", |
44 | 51 | "globals": "^16.0.0", |
45 | 52 | "husky": "^9.1.7", |
| 53 | + "jsdom": "^26.1.0", |
46 | 54 | "lint-staged": "^15.5.1", |
47 | 55 | "msw": "^2.8.2", |
48 | 56 | "tailwindcss": "^4.1.5", |
49 | 57 | "typescript": "~5.7.2", |
50 | 58 | "vite": "^6.3.1", |
51 | 59 | "vite-plugin-svgr": "^4.3.0", |
52 | | - "vite-tsconfig-paths": "^5.1.4" |
| 60 | + "vite-tsconfig-paths": "^5.1.4", |
| 61 | + "vitest": "^3.1.4" |
53 | 62 | }, |
54 | 63 | "packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e", |
55 | 64 | "msw": { |
56 | | - "workerDirectory": [ |
57 | | - "public" |
58 | | - ] |
| 65 | + "workerDirectory": ["public"] |
59 | 66 | } |
60 | 67 | } |
0 commit comments