Next.js app that plays real .vpx tables via @valknar/vpinball-wasm (WebAssembly Visual Pinball). Demo mode with the bundled default table, drag-and-drop custom table upload, a cabinet-styled UI with a coin-door HUD (fullscreen/stats/info/eject), a custom 404 page, PWA support (hand-rolled service worker), and a static Docker Compose deployment behind nginx. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012hQoM3jJT1Lx7CMTciMzvD
32 lines
797 B
JSON
32 lines
797 B
JSON
{
|
|
"name": "vpinball",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"copy-engine-assets": "node scripts/copy-engine-assets.mjs",
|
|
"sw:bump": "node scripts/bump-sw-version.mjs",
|
|
"predev": "pnpm run copy-engine-assets",
|
|
"dev": "next dev",
|
|
"build": "pnpm run copy-engine-assets && next build",
|
|
"start": "next start",
|
|
"lint": "eslint"
|
|
},
|
|
"dependencies": {
|
|
"@valknar/vpinball-wasm": "0.2.0",
|
|
"next": "16.3.2",
|
|
"react": "19.2.8",
|
|
"react-dom": "19.2.8"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.3.2",
|
|
"tailwindcss": "^4",
|
|
"typescript": "^5"
|
|
},
|
|
"packageManager": "pnpm@11.21.0"
|
|
}
|