|
5 | 5 | "type": "module",
|
6 | 6 | "scripts": {
|
7 | 7 | "dev": "vite --port 3002",
|
8 |
| - "build": "tsc -b && vite build", |
9 |
| - "preview": "vite preview", |
10 |
| - "test": "pnpm run '/^test:/'", |
11 |
| - "test:unit": "vitest", |
12 |
| - "test:e2e": "echo 'todo: Implement e2e tests'" |
| 8 | + "build": "vite build", |
| 9 | + "start": "vite preview --port 3002", |
| 10 | + "test": "pnpm run --stream '/^test:/'", |
| 11 | + "test:types": "tsc -b", |
| 12 | + "test:e2e": "start-server-and-test start http://localhost:3002 cypress:run", |
| 13 | + "cypress:open": "cypress open", |
| 14 | + "cypress:run": "cross-env FORCE_COLOR=3 cypress run --headless" |
13 | 15 | },
|
14 | 16 | "dependencies": {
|
15 | 17 | "nuqs": "workspace:*",
|
16 | 18 | "react": "catalog:react19",
|
17 | 19 | "react-dom": "catalog:react19"
|
18 | 20 | },
|
19 | 21 | "devDependencies": {
|
20 |
| - "@testing-library/dom": "^10.4.0", |
21 |
| - "@testing-library/jest-dom": "^6.6.3", |
22 |
| - "@testing-library/react": "^16.0.1", |
23 |
| - "@testing-library/user-event": "^14.5.2", |
24 | 22 | "@types/node": "^22.9.0",
|
25 | 23 | "@types/react": "catalog:react19",
|
26 | 24 | "@types/react-dom": "catalog:react19",
|
27 | 25 | "@vitejs/plugin-react": "^4.3.3",
|
28 |
| - "globals": "^15.12.0", |
29 |
| - "jsdom": "^25.0.1", |
| 26 | + "cross-env": "^7.0.3", |
| 27 | + "cypress": "catalog:e2e", |
| 28 | + "e2e-shared": "workspace:*", |
| 29 | + "start-server-and-test": "catalog:e2e", |
30 | 30 | "typescript": "^5.6.3",
|
31 | 31 | "vite": "^5.4.11",
|
32 | 32 | "vitest": "^2.1.5"
|
|
0 commit comments