mirror of
https://github.com/hanzoai/ui.git
synced 2026-11-20 22:36:27 +00:00
The workspace declared pkg/* and pkgs/* both, so one repo had two names for one concept and a package's home was a coin toss. The shared build tooling already lived in pkg/ui/scripts and pkgs reached back into it two levels up; now it is a sibling. hanzo.yml gates on pkg/ui, so the published library stays where CI already looks and the rest joins it. The publish glob follows: one root, one pattern, nothing invisible to it. Co-authored-by: Hanzo Dev <[email protected]>
76 lines
1.7 KiB
JSON
76 lines
1.7 KiB
JSON
{
|
|
"name": "@hanzo/react",
|
|
"version": "1.0.3",
|
|
"description": "React package for building AI-powered applications with generative UI",
|
|
"publishConfig": {
|
|
"registry": "https://registry.npmjs.org/",
|
|
"access": "public",
|
|
"scope": "@hanzo"
|
|
},
|
|
"author": "Hanzo AI, Inc.",
|
|
"license": "MIT",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"sideEffects": false,
|
|
"files": [
|
|
"dist",
|
|
"src",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/hanzoai/ui.git",
|
|
"directory": "pkg/react"
|
|
},
|
|
"keywords": [
|
|
"ai",
|
|
"react",
|
|
"generative-ui",
|
|
"llm",
|
|
"chat",
|
|
"copilot",
|
|
"hanzo",
|
|
"mcp",
|
|
"model-context-protocol"
|
|
],
|
|
"scripts": {
|
|
"prepublishOnly": "node ../../scripts/guard-publish.mjs",
|
|
"build": "tsup && tsc --emitDeclarationOnly --declaration --outDir dist && node ../../scripts/dts.mjs",
|
|
"dev": "tsup --watch",
|
|
"test": "vitest",
|
|
"test:coverage": "vitest --coverage",
|
|
"typecheck": "tsc --noEmit",
|
|
"clean": "rm -rf dist"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.js"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"nanoid": "catalog:",
|
|
"zod": "catalog:"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=19.2.8",
|
|
"react-dom": ">=19.2.8"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/react": "catalog:",
|
|
"@types/node": "catalog:",
|
|
"@types/react": "catalog:",
|
|
"@types/react-dom": "catalog:",
|
|
"@vitest/coverage-v8": "catalog:",
|
|
"@vitest/ui": "catalog:",
|
|
"react": "catalog:",
|
|
"react-dom": "catalog:",
|
|
"tsup": "catalog:",
|
|
"typescript": "catalog:",
|
|
"vitest": "catalog:"
|
|
}
|
|
}
|