Component architecture - Reorganise src/lib/components into pages/, sections/, ui/ subdirectories and update all imports across routes and tests. Owner admin dashboard (+2k lines) - Scheduled welcome-pack emails: durable queue with cancel/reschedule and a background sender loop (SCHEDULED_CHECK_INTERVAL_SECONDS, default 60s). - Custom welcome-pack subject line, preview recipients, and client BCC. - Add-client, edit client profile, and reset-onboarding flows. - "View as client" onboarding preview (owner impersonation, dry-run submit). - Tabbed owner welcome route (/owner/welcome/[[tab]]). MYOB integration - New mail_api/myob.py: create new clients as MYOB AccountRight customer contacts. Disabled until all MYOB_* env vars are set (no-op otherwise). Onboarding - New "Does your dog resource guard?" Yes/No question in the Behaviour step. - Persist vetAddress, flea/tick, and pet-insurance fields server-side. Misc - vite config, new hooks.ts, responsive CSS tweaks, deploy/docker config, mail-api README and start-dev.ps1. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"name": "gw-svelte",
|
|
"version": "4.0.5",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite dev --host 10.0.0.124",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest"
|
|
},
|
|
"dependencies": {
|
|
"canvas-confetti": "^1.9.4",
|
|
"pg": "^8.13.1"
|
|
},
|
|
"devDependencies": {
|
|
"@fontsource/readex-pro": "^5.2.11",
|
|
"@fontsource/unbounded": "^5.2.8",
|
|
"@fortawesome/fontawesome-free": "^7.2.0",
|
|
"@sveltejs/adapter-node": "^5.2.11",
|
|
"@sveltejs/enhanced-img": "^0.10.4",
|
|
"@sveltejs/kit": "^2.59.0",
|
|
"@sveltejs/vite-plugin-svelte": "^6.2.4",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/svelte": "^5.3.1",
|
|
"@types/canvas-confetti": "^1.9.0",
|
|
"@types/node": "^22.10.5",
|
|
"@types/pg": "^8.11.10",
|
|
"embla-carousel-svelte": "^8.6.0",
|
|
"jsdom": "^29.1.1",
|
|
"svelte": "^5.16.0",
|
|
"svelte-check": "^4.1.1",
|
|
"typescript": "^5.6.3",
|
|
"vite": "^6.0.7",
|
|
"vitest": "^4.1.5"
|
|
}
|
|
}
|