Files
ui/pkgs/event/package.json
zeekayandHanzo Dev 0e3a7e009d docs(event): ship TAXONOMY.md in the tarball
The README links ./TAXONOMY.md as the canonical spec, but `files` omitted it,
so a consumer reading the package offline had a dead link. Rides the next
version bump; no version change of its own.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-25 15:16:46 -07:00

85 lines
2.1 KiB
JSON

{
"name": "@hanzo/event",
"version": "0.3.3",
"description": "Hanzo Event \u2014 the ONE telemetry client. Emits pageview/event/identify/group to the Hanzo Cloud event stream (POST /v1/event), AND reports errors to Sentry as real Sentry envelopes \u2014 the error plane needs a DSN, without one nothing reaches Sentry. First-touch attribution, beacon-on-unload, auto error capture, client-side secret/PII scrubbing, a shared event + goal vocabulary. Subsumes @sentry.",
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public",
"scope": "@hanzo"
},
"author": "Hanzo AI <[email protected]>",
"license": "BSD-3-Clause",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"sideEffects": false,
"files": [
"dist",
"src",
"README.md",
"TAXONOMY.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/hanzoai/ui.git",
"directory": "pkgs/event"
},
"keywords": [
"analytics",
"product-analytics",
"telemetry",
"events",
"error-tracking",
"sentry",
"attribution",
"funnel",
"hanzo"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"test": "vitest run",
"typecheck": "tsc --noEmit",
"clean": "rm -rf dist"
},
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./react": {
"import": {
"types": "./dist/react.d.ts",
"default": "./dist/react.mjs"
},
"require": {
"types": "./dist/react.d.cts",
"default": "./dist/react.cjs"
}
}
},
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"devDependencies": {
"@types/node": "^25.5.0",
"@types/react": "19.2.14",
"react": "19.2.4",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"vitest": "^4.1.0"
}
}