Files
gmtool/package.json
T
slaguru666andClaude Opus 4.8 8f807d50b5 feat: placeholder app icons (clock-with-target motif)
Generate the manifest/PWA + native-wrapper icons that were referenced but
missing (icon-192/512 were 404). A reproducible pure-Node generator
(tools/gen-icons.mjs, npm run gen:icons) draws a clock ring with amber
hands + a green target dot in the app palette — no image deps, hand-rolled
PNG encoder with analytic anti-aliasing.

- public/icons/icon-192, -512, -180 (apple-touch); linked in index.html.
- resources/icon.png (1024) + splash.png (2732) for @capacitor/assets.
- tests/tools/icons.test.js ties every manifest icon to a real PNG of the
  declared size. 213 tests pass; icons now serve 200.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-21 09:29:57 +01:00

28 lines
719 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",
"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"
}
}