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]>
56 lines
1.4 KiB
JSON
56 lines
1.4 KiB
JSON
{
|
|
"name": "@hanzo/checkout",
|
|
"version": "1.0.1",
|
|
"description": "Embeddable checkout widget for Hanzo Commerce - Stripe-like checkout experience",
|
|
"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/checkout"
|
|
},
|
|
"keywords": [
|
|
"checkout",
|
|
"payments",
|
|
"commerce",
|
|
"ecommerce",
|
|
"hanzoai",
|
|
"hanzo",
|
|
"stripe",
|
|
"widget"
|
|
],
|
|
"main": "index.ts",
|
|
"exports": {
|
|
".": "./index.ts",
|
|
"./embed": "./embed/index.ts",
|
|
"./elements": "./elements/index.ts",
|
|
"./hooks": "./hooks/index.ts"
|
|
},
|
|
"scripts": {
|
|
"prepublishOnly": "node ../../scripts/guard-publish.mjs",
|
|
"lat": "npm show @hanzo/checkout 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",
|
|
"lucide-react": ">=1",
|
|
"mobx": ">=7",
|
|
"mobx-react-lite": ">=5",
|
|
"next": ">=16.3.3",
|
|
"react": ">=19.2.8",
|
|
"react-dom": ">=19.2.8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "catalog:",
|
|
"@types/react-dom": "catalog:",
|
|
"typescript": "catalog:"
|
|
}
|
|
}
|