mirror of
https://github.com/hanzoai/ui.git
synced 2026-11-20 20:07:34 +00:00
86 lines
2.1 KiB
JSON
86 lines
2.1 KiB
JSON
{
|
|
"name": "@hanzo/annotate",
|
|
"version": "0.1.1",
|
|
"description": "The build-time half of @hanzo/observe — annotates every component's root element with its own name (data-observe=\"ComponentName\") so a production build keeps the semantic hierarchy React's dev-only fiber owner would have given you. Parses with TypeScript and splices text, so line numbers and formatting are untouched. Ships a webpack/Next loader and a Vite plugin.",
|
|
"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"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/hanzoai/ui.git",
|
|
"directory": "pkgs/annotate"
|
|
},
|
|
"keywords": [
|
|
"observability",
|
|
"analytics",
|
|
"autocapture",
|
|
"session-replay",
|
|
"babel",
|
|
"webpack",
|
|
"vite",
|
|
"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"
|
|
}
|
|
},
|
|
"./webpack": {
|
|
"require": {
|
|
"types": "./dist/webpack.d.cts",
|
|
"default": "./dist/webpack.cjs"
|
|
},
|
|
"import": {
|
|
"types": "./dist/webpack.d.ts",
|
|
"default": "./dist/webpack.mjs"
|
|
}
|
|
},
|
|
"./vite": {
|
|
"import": {
|
|
"types": "./dist/vite.d.ts",
|
|
"default": "./dist/vite.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/vite.d.cts",
|
|
"default": "./dist/vite.cjs"
|
|
}
|
|
}
|
|
},
|
|
"peerDependencies": {
|
|
"typescript": ">=5"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.5.0",
|
|
"tsup": "^8.5.1",
|
|
"typescript": "^5.9.3",
|
|
"vitest": "^4.1.0"
|
|
}
|
|
}
|