The art manifest referenced /art/*.png files that never existed; the SPA fallback returned index.html for them, so the library thumbnails rendered as broken images. Generate 5 atmospheric B&W placeholder scenes (tools/gen-art-placeholders.mjs, npm run gen:art) into public/art/. tests/tools/art-assets.test.js ties every manifest entry to a real PNG. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
29 lines
773 B
JSON
29 lines
773 B
JSON
{
|
|
"name": "gm-director",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"gen:scenario": "node tools/md-to-scenario.mjs",
|
|
"gen:icons": "node tools/gen-icons.mjs",
|
|
"gen:art": "node tools/gen-art-placeholders.mjs",
|
|
"ios:add": "npm run build && cap add ios",
|
|
"ios:sync": "npm run build && cap sync ios",
|
|
"ios:open": "cap open ios",
|
|
"ios": "npm run build && cap sync ios && cap open ios"
|
|
},
|
|
"devDependencies": {
|
|
"@capacitor/cli": "^8.4.2",
|
|
"@capacitor/core": "^8.4.2",
|
|
"@capacitor/ios": "^8.4.2",
|
|
"jsdom": "^24.0.0",
|
|
"vite": "^5.2.0",
|
|
"vitest": "^1.6.0"
|
|
}
|
|
}
|