65 lines
3.1 KiB
JSON
65 lines
3.1 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",
|
|
"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",
|
|
"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"
|
|
},
|
|
"dependencies": {
|
|
"@hm-design/org-chart": "*",
|
|
"@hm-design/org-chart-react": "*",
|
|
"@hm-design/center-graphic": "*",
|
|
"@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/*"
|
|
]
|
|
}
|