storebound/apps/desktop/package.json
CRT 82066de5ed No hand-written SVG: visx charts, lucide icons, Mermaid journey diagram
- desktop: Growth chart, Health and portfolio sparklines and the rollout bar drawn with visx (responsive width,
  crosshair tooltip with real values, arrow keys, theme tokens, no animation); icons from lucide-react behind the
  existing Icon names; empty states are lucide icons on token tiles; store marks are generic lucide icons; stars are
  lucide; the brand mark moves to ui/brand.tsx as the one allowed inline SVG
- fixtures: app icons and store art stand-ins are PNGs rendered by tools/fixture-art.ts (lucide on gradients)
- site: icons are lucide's own files in site/img/icons (tools/site-icons.ts, with the ISC licence) shown as CSS masks;
  the journey diagram is rendered from docs/diagrams/journey.mmd by tools/diagrams.ts (Mermaid CLI), with a tall
  variant for phones
- tests/no-handmade-svg.test.ts fails on new inline SVG drawing in apps/desktop/src and site/*.html
- desktop bundle: 598.7 -> 695.5 kB minified, 174.6 -> 206.0 kB gzip
2026-10-11 00:49:30 +00:00

41 lines
1.2 KiB
JSON

{
"name": "@storebound/desktop",
"version": "0.1.0",
"private": true,
"license": "MIT",
"type": "module",
"description": "storebound desktop: every game's releases on both stores in one window (Tauri shell around the storebound CLI sidecar).",
"scripts": {
"dev": "vite --host 127.0.0.1 --port 1420 --strictPort",
"build": "tsc --noEmit && vite build",
"typecheck": "tsc --noEmit",
"test": "bun test tests",
"sidecar": "bun ../../tools/build-sidecars.ts --host",
"tauri": "tauri",
"app:dev": "bun run sidecar && tauri dev",
"app:build:debug": "bun run sidecar && tauri build --debug --no-bundle"
},
"dependencies": {
"@tauri-apps/api": "^2.12.0",
"@visx/axis": "^4.0.0",
"@visx/curve": "^4.0.0",
"@visx/event": "^4.0.0",
"@visx/gradient": "^4.0.0",
"@visx/group": "^4.0.0",
"@visx/responsive": "^4.0.0",
"@visx/scale": "^4.0.0",
"@visx/shape": "^4.0.0",
"@visx/tooltip": "^4.0.0",
"lucide-react": "^1.55.0",
"react": "^19.2.0",
"react-dom": "^19.2.0"
},
"devDependencies": {
"@tauri-apps/cli": "^2.12.1",
"@types/react": "^19.2.0",
"@types/react-dom": "^19.2.0",
"@vitejs/plugin-react": "^4.7.0",
"typescript": "5.9.3",
"vite": "^6.3.0"
}
}