Files
svelte/package.json
T
zeekayandHanzo Dev 1008926ef7 @hanzo/svelte 1.0.0 — the Svelte backend, on its own
Extracted from @hanzo/ui pkg/ui/src/backends/svelte with its history. It lived
inside a React component library, which meant every consumer of @hanzo/ui
resolved svelte whether they rendered a single Svelte component or not, and the
package declared peer svelte>=5 against a dev svelte ^4.2.20 — two answers to
one question.

Three runtime dependencies, all load-bearing: class-variance-authority for the
variants the components already used, and clsx + tailwind-merge behind cn. The
cn helper is vendored (17 lines) rather than imported back from @hanzo/ui,
because depending on the package this was extracted from would undo the split.
No design-system runtime, no icon pack, no CSS-in-JS.

svelte-check: 50 files, 0 errors.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-28 12:28:39 -07:00

42 lines
951 B
JSON

{
"name": "@hanzo/svelte",
"version": "1.0.0",
"description": "Hanzo UI, Svelte 5. The shadcn-shaped components extracted from @hanzo/ui so the core library stays one stack. Same shapes, same variants, same tokens.",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/hanzoai/svelte.git"
},
"type": "module",
"sideEffects": false,
"files": [
"*.svelte",
"index.ts",
"core",
"README.md"
],
"svelte": "./index.ts",
"types": "./index.ts",
"exports": {
".": {
"svelte": "./index.ts",
"types": "./index.ts",
"default": "./index.ts"
},
"./*.svelte": "./*.svelte"
},
"dependencies": {
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"tailwind-merge": "^2.6.1"
},
"peerDependencies": {
"svelte": ">=5"
},
"devDependencies": {
"svelte": "^5.56.8",
"svelte-check": "^4.7.4",
"typescript": "^6.0.3"
}
}