- Wire up Better Auth (email/password + Google/Apple SSO) with a sign-in/sign-up UI, header account menu, and a basket that follows the signed-in-or-guest state. - Give the order status page a vertical timeline per preparation step (with a distinct customer-facing name separate from the machine tag, a done/in-progress/queued/pending look, and a sonar-ping highlight on the active step), a formatted ETA (relative under 3h, absolute clock time beyond that), and Buy again / Get help / Cancel actions. - Expand Pizza's recipe into 6 steps across a shared prep station and the existing oven/assembly stations, with matching schema, seed, and domain changes plus updated/added test coverage. - Add an Orders list (account orders via session, guest orders via a locally remembered access-token list) with a shared getOrdersForCustomer domain summary, and remember a guest's name/contact after their first order so checkout doesn't ask again. - Improve page transitions with the View Transitions API: a shared element morph between an order card and its detail page, a stable (non-jumping) header across navigations, and reduced-motion handling. - Add a Ghost Kitchen wordmark (Space Grotesk, faded "Ghost", ghost icon standing in for the "o") and shrink the basket icon to match the rest of the header controls. - Add a run-ghost-kitchen agent skill documenting local setup, the dev-server driver, and the gotchas hit along the way. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
69 lines
1.8 KiB
JSON
69 lines
1.8 KiB
JSON
{
|
|
"name": "ghost-kitchen",
|
|
"private": true,
|
|
"type": "module",
|
|
"imports": {
|
|
"#/*": "./src/*"
|
|
},
|
|
"scripts": {
|
|
"dev": "vite dev --port 3000",
|
|
"generate-routes": "tsr generate",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"db:generate": "drizzle-kit generate",
|
|
"db:migrate": "drizzle-kit migrate",
|
|
"db:push": "drizzle-kit push",
|
|
"db:pull": "drizzle-kit pull",
|
|
"db:studio": "drizzle-kit studio",
|
|
"db:seed": "tsx src/db/seed.ts",
|
|
"auth:migrate": "better-auth migrate",
|
|
"lint": "eslint",
|
|
"format": "prettier --write . && eslint --fix",
|
|
"check": "prettier --check .",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@tanstack/react-devtools": "latest",
|
|
"@tanstack/react-router": "latest",
|
|
"@tanstack/react-router-devtools": "latest",
|
|
"@tanstack/react-start": "latest",
|
|
"better-auth": "^1.5.3",
|
|
"drizzle-kit": "^0.31.9",
|
|
"drizzle-orm": "^0.45.1",
|
|
"framer-motion": "^13.2.0",
|
|
"pg": "^8.16.3",
|
|
"react": "^19.2.0",
|
|
"react-dom": "^19.2.0",
|
|
"stripe": "^22.6.1",
|
|
"zod": "^4.5.4"
|
|
},
|
|
"devDependencies": {
|
|
"@better-auth/cli": "^1.4.21",
|
|
"@tanstack/devtools-vite": "latest",
|
|
"@tanstack/eslint-config": "latest",
|
|
"@tanstack/router-cli": "^1.132.0",
|
|
"@testcontainers/postgresql": "^12.1.0",
|
|
"@types/node": "^22.10.2",
|
|
"@types/pg": "^8.15.6",
|
|
"@types/react": "^19.2.0",
|
|
"@types/react-dom": "^19.2.0",
|
|
"@vitejs/plugin-react": "^6.0.1",
|
|
"dotenv": "^17.3.1",
|
|
"eslint": "^9.20.0",
|
|
"prettier": "^3.8.1",
|
|
"sass": "^1.104.0",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^6.0.2",
|
|
"vite": "^8.0.0",
|
|
"vitest": "^4.0.0"
|
|
},
|
|
"pnpm": {
|
|
"onlyBuiltDependencies": [
|
|
"esbuild",
|
|
"lightningcss"
|
|
]
|
|
}
|
|
}
|