Files
HMDesign/package.json
T
shkim4 fb74cd756f docs(ai): add packaged AI guides for Web, SW and OrgChart
- Shared entry point docs/ai/AI_GUIDE.md (type selection Web / SW / OrgChart / mixed,
  steps 1-7, package style separation, report format, examples A-D) and
  AGENTS_SNIPPET.md, copied into every package ai/ folder
- New ai/ docs for @hm-design/ui and @hm-design/org-chart (+ org-chart-react pointer):
  AI_USAGE, COMPONENT_CATALOG, DESIGN_RULES, COMPOSITION_PATTERNS
- SW ai/ linked to the shared guide; catalog lists every Props type explicitly
- "ai" added to package files of ui, org-chart, org-chart-react
- scripts/ai-docs.mjs: sync:ai-docs / check:ai-docs (copies, files, catalog <-> exports, links)
- Maintenance guide and verification record under docs/ai
2026-10-19 17:13:36 +09:00

70 lines
3.4 KiB
JSON

{
"name": "hm-design-system-poc",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"generate:theme-defaults": "node scripts/theme-defaults.mjs",
"build:themes": "node scripts/theme-artifacts.mjs",
"check:theme-defaults": "node scripts/theme-defaults.mjs --check",
"pretypecheck": "npm run check:theme-defaults && npm run build:packages",
"prebuild": "npm run check:theme-defaults && npm run build:packages",
"prebuild-storybook": "npm run check:theme-defaults && npm run build:packages",
"dev": "vite --host 127.0.0.1",
"dev:publisher-example": "vite --config examples/publisher-list/vite.config.ts",
"build:publisher-example": "vite build --config examples/publisher-list/vite.config.ts",
"test:components": "node --test scripts/publisher-components.test.mjs",
"test:guard": "node --test scripts/ai-generation-guard.test.mjs",
"sync:ai-docs": "node scripts/ai-docs.mjs --sync",
"check:ai-docs": "node scripts/ai-docs.mjs --check",
"build": "tsc -b && vite build",
"build:dashboard-export": "npm run check:theme-defaults && npm run build:packages && vite build --config vite.dashboard-export.config.ts && node scripts/finalize-dashboard-export.mjs",
"h2:preview": "node scripts/h2-preview.mjs",
"preview": "vite preview --host 127.0.0.1",
"storybook": "storybook dev -p 6024 --host 0.0.0.0 --no-open --disable-telemetry",
"build-storybook": "storybook build -o storybook-static --disable-telemetry",
"typecheck": "tsc -b && npm run typecheck --workspaces --if-present",
"build:ui": "npm run build -w @hm-design/ui",
"build:center-graphic": "npm run build -w @hm-design/center-graphic",
"build:org-chart": "npm run build -w @hm-design/org-chart",
"typecheck:org-chart": "npm run typecheck -w @hm-design/org-chart",
"test:org-chart": "npm run test -w @hm-design/org-chart",
"build:org-chart-example": "npm run build:org-chart && node examples/org-chart/prepare.mjs",
"dev:org-chart-example": "node examples/org-chart/serve.mjs",
"test:org-chart-browser": "node examples/org-chart/verify.mjs",
"build:org-chart-react": "npm run build -w @hm-design/org-chart-react",
"build:sw": "npm run build -w @hm-design/sw",
"typecheck:sw": "npm run typecheck -w @hm-design/sw",
"typecheck:org-chart-react": "npm run typecheck -w @hm-design/org-chart-react",
"build:org-chart-react-example": "vite build --config examples/org-chart-react/vite.config.ts",
"dev:org-chart-react-example": "vite --config examples/org-chart-react/vite.config.ts",
"test:org-chart-react-browser": "node examples/org-chart-react/verify.mjs",
"build:packages": "npm run build:org-chart && npm run build:ui && npm run build:center-graphic && npm run build:org-chart-react && npm run build:sw"
},
"dependencies": {
"@hm-design/org-chart": "*",
"@hm-design/org-chart-react": "*",
"@hm-design/center-graphic": "*",
"@hm-design/sw": "*",
"@hm-design/ui": "*",
"lucide-react": "^1.49.0",
"react": "19.3.0",
"react-dom": "19.3.0"
},
"devDependencies": {
"@storybook/react-vite": "10.6.1",
"@tailwindcss/vite": "4.3.3",
"@types/node": "24.7.0",
"@types/react": "19.3.0",
"@types/react-dom": "19.3.0",
"@vitejs/plugin-react": "6.1.1",
"storybook": "10.6.1",
"tailwindcss": "4.3.3",
"typescript": "7.0.2",
"vite": "8.3.0"
},
"workspaces": [
"packages/*"
]
}