Files
familysync/apps/pwa/package.json
T
Lucas Berger 53498e3408 feat(07-02): implement globalSetup — /health readiness gate + deterministic DB seed
- Poll baseURL/health with 60s timeout; throw on expiry (D-08 readiness gate)
- TRUNCATE list_items, list_shares, lists, calendar_events (FK checks toggled)
- INSERT IGNORE calendars guard for id=10 (Pitfall 4 CI resilience)
- Seed one timed calendar_event on calendar_id=10 (uid: e2e-seed-event-001)
- Seed E2E Grocery List (owner_id=1, is_shared=true) + list_shares + Milk/Eggs items
- Add mysql2@3.22.4 devDependency to apps/pwa (needed for global-setup types)
- No @playwright/test imports — plain Node.js only (Pitfall 2)
2026-06-11 01:50:10 -04:00

54 lines
1.5 KiB
JSON

{
"name": "@familysync/pwa",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"typecheck": "tsc --noEmit && tsc --project tsconfig.e2e.json --noEmit",
"test": "vitest run",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:e2e:headed": "playwright test --headed"
},
"dependencies": {
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@schedule-x/calendar": "4.6.0",
"@schedule-x/calendar-controls": "4.6.0",
"@schedule-x/event-modal": "4.6.0",
"@schedule-x/events-service": "4.6.0",
"@schedule-x/react": "4.1.0",
"@schedule-x/theme-default": "4.6.0",
"@tanstack/react-query": "5.101.0",
"fractional-indexing": "^3.2.0",
"ical.js": "2.2.1",
"lucide-react": "1.17.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-router": "^7.17.0",
"temporal-polyfill": "0.3.2",
"vite-plugin-pwa": "^1.3.0",
"zustand": "5.0.14"
},
"devDependencies": {
"@playwright/test": "1.60.0",
"mysql2": "3.22.4",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@types/node": "^22.19.19",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@vitejs/plugin-react": "^4.3.0",
"jsdom": "^26.1.0",
"typescript": "^5.5.0",
"vite": "8.0.16",
"vitest": "^4.1.8",
"workbox-core": "^7.4.1",
"workbox-precaching": "^7.4.1",
"workbox-routing": "^7.4.1"
}
}