Files
ui/pkgs/react/package.json
zeekay 5ece393a6b legal: packages said BSD-3-Clause, repo LICENSE.md is MIT
Root package.json was already MIT; the 14 sub-package manifests, their
READMEs and CONSOLIDATION.md still claimed BSD-3-Clause. BSD-3 is out of
scope for hanzoai originals under HIP-0137 (`hanzoai/hips`). pkgs/cd stays Apache-2.0
(Argo CD clean-room port, see its NOTICE).
2026-08-04 01:24:49 -07:00

100 lines
2.4 KiB
JSON

{
"name": "@hanzo/react",
"version": "1.0.0",
"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": "pkgs/react"
},
"keywords": [
"ai",
"react",
"generative-ui",
"llm",
"chat",
"copilot",
"hanzo",
"mcp",
"model-context-protocol"
],
"scripts": {
"build": "tsup",
"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"
},
"./hooks": {
"types": "./dist/hooks/index.d.ts",
"import": "./dist/hooks/index.mjs",
"require": "./dist/hooks/index.js"
},
"./components": {
"types": "./dist/components/index.d.ts",
"import": "./dist/components/index.mjs",
"require": "./dist/components/index.js"
},
"./tools": {
"types": "./dist/tools/index.d.ts",
"import": "./dist/tools/index.mjs",
"require": "./dist/tools/index.js"
},
"./mcp": {
"types": "./dist/mcp/index.d.ts",
"import": "./dist/mcp/index.mjs",
"require": "./dist/mcp/index.js"
}
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.27.1",
"clsx": "^2.1.1",
"nanoid": "^5.1.7",
"openai": "^6.32.0",
"swr": "^2.4.1",
"tailwind-merge": "^3.5.0",
"zod": "^4.3.6",
"zustand": "^5.0.12"
},
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@testing-library/react": "^16.3.2",
"@types/node": "^25.5.0",
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"@vitest/coverage-v8": "^4.1.0",
"@vitest/ui": "^4.1.0",
"react": "19.2.4",
"react-dom": "19.2.4",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"vitest": "^4.1.0"
}
}