Files
ui/pkg/shop/package.json
zeekayandHanzo Dev 57f9435929 Keep every package in one directory
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]>
2026-09-08 23:50:28 -07:00

51 lines
1.2 KiB
JSON

{
"name": "@hanzo/shop",
"version": "1.0.1",
"description": "Unified embeddable payment topup widget for Hanzo apps",
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public",
"scope": "@hanzo"
},
"author": "Hanzo AI, Inc.",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/hanzoai/react-sdk.git",
"directory": "pkg/shop"
},
"keywords": [
"topup",
"payments",
"commerce",
"square",
"crypto",
"ach",
"widget",
"hanzoai",
"hanzo"
],
"main": "index.ts",
"exports": {
".": "./index.ts",
"./topup": "./components/HanzoTopup.tsx"
},
"scripts": {
"prepublishOnly": "node ../../scripts/guard-publish.mjs",
"lat": "npm show @hanzo/shop version",
"pub": "npm publish",
"tc": "tsc --noEmit",
"build": "tsc --outDir dist --declaration --emitDeclarationOnly false --module ESNext --esModuleInterop true --skipLibCheck true --sourceMap true"
},
"peerDependencies": {
"@hanzo/commerce": ">=7.9.1",
"react": ">=19.2.8",
"react-dom": ">=19.2.8"
},
"devDependencies": {
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"typescript": "catalog:"
}
}