|
6 | 6 | "author": "Paul Hovley <rphovley@gmail.com>", |
7 | 7 | "scripts": { |
8 | 8 | "dev": "tsc && vite", |
| 9 | + "dev:e2e": "VITE_E2E=1 tsc && vite", |
9 | 10 | "build": "tsc && vite build", |
10 | 11 | "preview": "vite preview", |
11 | 12 | "monitor:update": "node scripts/os-monitor-update.js", |
|
16 | 17 | "tauri:build:x86_64": "tauri build --target x86_64-apple-darwin", |
17 | 18 | "lint": "eslint src --max-warnings=0", |
18 | 19 | "format": "eslint --fix src", |
19 | | - "test": "vitest" |
| 20 | + "test": "vitest", |
| 21 | + "test:e2e": "playwright test", |
| 22 | + "test:e2e:ui": "playwright test --ui", |
| 23 | + "test:e2e:headed": "npx playwright test e2e/ --headed --project=chromium" |
20 | 24 | }, |
21 | 25 | "dependencies": { |
22 | 26 | "@dnd-kit/core": "^6.3.1", |
|
73 | 77 | "zustand": "^5.0.3" |
74 | 78 | }, |
75 | 79 | "devDependencies": { |
| 80 | + "@playwright/test": "^1.54.2", |
76 | 81 | "@tauri-apps/cli": "^2.6.1", |
77 | 82 | "@types/canvas-confetti": "^1.9.0", |
78 | 83 | "@types/luxon": "^3.4.2", |
79 | | - "@types/node": "^22.10.2", |
| 84 | + "@types/node": "^22.17.1", |
80 | 85 | "@types/react": "^18.2.15", |
81 | 86 | "@types/react-dom": "^18.2.7", |
82 | 87 | "@typescript-eslint/eslint-plugin": "^8.19.1", |
|
0 commit comments