mirror of
https://github.com/hanzoai/ui.git
synced 2026-11-20 22:36:27 +00:00
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.
55 lines
1.8 KiB
JSON
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"
|
|
}
|
|
}
|