{ "name": "@factory/whiteboard", "version": "0.1.0", "private": true, "type": "module", "description": "AI Software Factory whiteboard core (task T-167): the canvas v1 document schema with a hand-rolled validator (zero runtime deps), pure geometry (union bounds, hit testing, connector paths, freehand decimation, world<->screen mapping), immutable canvas ops (add/update/remove/group/ungroup/transform), and a generic bounded undo/redo stack. Plain TypeScript — no UI, no I/O.", "main": "./src/index.ts", "types": "./src/index.ts", "exports": { ".": { "types": "./src/index.ts", "default": "./src/index.ts" } }, "scripts": { "test": "vitest run", "test:unit": "vitest run", "typecheck": "tsc --noEmit" }, "devDependencies": { "typescript": "^5.6.0", "vitest": "^2.1.1" } }