Files
ui/pkg/dashboard/package.json
zeekay 2bd442abf6 feat(dashboard): web and product analytics views; 0.2.1
WebAnalytics and ProductAnalytics render one website's traffic and
journey over analytics.hanzo.ai's /v1/websites API with the viewer's
IAM bearer, so analytics.hanzo.ai and a project's page in the platform
mount the same components over the same numbers.
2026-09-30 02:33:45 -07:00

55 lines
1.8 KiB
JSON

{
"name": "@hanzo/dashboard",
"version": "0.2.1",
"type": "module",
"description": "Hanzo Dashboard \u2014 the reusable dashboard layer on @hanzo/gui: monochrome SVG charts, a videogame-like LivingOverview (count-up KPIs, live sparklines, streaming feed, health), the ProductLanding kit, and a Pipeline deploy animation. Pure (data via props/loaders), typed, reduced-motion-guarded. Extracted from the Hanzo Cloud Console so every Hanzo app composes ONE dashboard system.",
"exports": {
".": {
"types": "./src/index.ts",
"default": "./src/index.ts"
},
"./dashboard.css": "./src/dashboard.css"
},
"main": "./src/index.ts",
"module": "./src/index.ts",
"types": "./src/index.ts",
"sideEffects": [
"*.css"
],
"files": [
"src"
],
"scripts": {
"prepublishOnly": "node ../../scripts/guard-publish.mjs",
"tc": "tsc --noEmit",
"typecheck": "tsc --noEmit",
"build": "tsc --outDir dist --declaration --emitDeclarationOnly false --module ESNext --moduleResolution bundler --jsx react-jsx --esModuleInterop true --skipLibCheck true --sourceMap true",
"test": "bun test"
},
"peerDependencies": {
"@hanzo/gui": ">=8.3.5",
"@hanzogui/lucide-icons-2": "^8.3.5",
"react": ">=19.2.8"
},
"devDependencies": {
"@hanzo/gui": "catalog:",
"@hanzogui/config": "catalog:",
"@hanzogui/core": "catalog:",
"@hanzogui/lucide-icons-2": "catalog:",
"@hanzogui/web": "catalog:",
"@types/react": "catalog:",
"react": "catalog:",
"typescript": "catalog:"
},
"publishConfig": {
"access": "public"
},
"license": "MIT",
"author": "Hanzo AI <[email protected]>",
"repository": {
"type": "git",
"url": "git+https://github.com/hanzoai/ui.git",
"directory": "pkg/dashboard"
}
}