mirror of
https://github.com/hanzoai/brand.git
synced 2026-10-23 03:05:28 +00:00
title() answers a brand's title or a Hanzo product's own name: PRODUCTS
holds the one product that has one, team → "Hanzo Team" (hanzo.team),
so @hanzo/app's app({ brand }) reads a name from here instead of keeping
its own brand() and wordmark(). An id that names neither throws.
The package publishes from CI now. Its gate could not pass on a fresh
checkout — pnpm gen read @hanzo/tokens from a sibling ../ui checkout, and
the declaration build died on TypeScript 6's baseUrl deprecation — so it
went out from a laptop. @hanzo/tokens is a dev dependency, tsconfig states
its types and the deprecation, and publish.yml reads the npm token from
KMS. styles/variables.css is regenerated from @hanzo/tokens 1.1.1, which
is what every build already wrote.
135 lines
3.2 KiB
JSON
135 lines
3.2 KiB
JSON
{
|
|
"name": "@hanzo/brand",
|
|
"version": "1.5.0",
|
|
"packageManager": "[email protected]",
|
|
"description": "Official brand assets and design system for Hanzo AI",
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.mjs",
|
|
"types": "dist/index.d.ts",
|
|
"bin": {
|
|
"hanzo-brand": "dist/cli.js"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/index.d.mts",
|
|
"default": "./dist/index.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"./brand.json": "./brand.json",
|
|
"./brand-id": {
|
|
"import": {
|
|
"types": "./dist/brand-id.d.mts",
|
|
"default": "./dist/brand-id.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/brand-id.d.ts",
|
|
"default": "./dist/brand-id.js"
|
|
}
|
|
},
|
|
"./registry": {
|
|
"import": {
|
|
"types": "./dist/registry.d.mts",
|
|
"default": "./dist/registry.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/registry.d.ts",
|
|
"default": "./dist/registry.js"
|
|
}
|
|
},
|
|
"./marks": {
|
|
"import": {
|
|
"types": "./dist/marks.d.mts",
|
|
"default": "./dist/marks.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/marks.d.ts",
|
|
"default": "./dist/marks.js"
|
|
}
|
|
},
|
|
"./hero": {
|
|
"import": {
|
|
"types": "./dist/hero.d.mts",
|
|
"default": "./dist/hero.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/hero.d.ts",
|
|
"default": "./dist/hero.js"
|
|
}
|
|
},
|
|
"./loader": {
|
|
"import": {
|
|
"types": "./dist/loader.d.mts",
|
|
"default": "./dist/loader.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/loader.d.ts",
|
|
"default": "./dist/loader.js"
|
|
}
|
|
},
|
|
"./assets/*": "./assets/*",
|
|
"./styles/*": "./styles/*"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"assets",
|
|
"fonts",
|
|
"styles",
|
|
"brand.json"
|
|
],
|
|
"scripts": {
|
|
"gen": "node scripts/gen-variables.mjs",
|
|
"build": "pnpm gen && tsup src/index.ts src/loader.ts src/hero.ts src/cli.ts src/brand-id.ts src/registry.ts src/marks.ts --format cjs,esm --dts --clean",
|
|
"dev": "tsup src/index.ts src/loader.ts src/hero.ts src/cli.ts src/brand-id.ts src/registry.ts src/marks.ts --format cjs,esm --dts --watch",
|
|
"lint": "eslint src",
|
|
"type-check": "node_modules/tsgo/bin/tsc --noEmit --incremental false",
|
|
"test": "pnpm build && node --test test/*.test.mjs"
|
|
},
|
|
"keywords": [
|
|
"hanzo",
|
|
"brand",
|
|
"design-system",
|
|
"ui",
|
|
"assets",
|
|
"logo",
|
|
"colors",
|
|
"typography"
|
|
],
|
|
"author": "Hanzo AI",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/hanzoai/brand"
|
|
},
|
|
"homepage": "https://github.com/hanzoai/brand",
|
|
"devDependencies": {
|
|
"@hanzo/tokens": "catalog:",
|
|
"@types/node": "catalog:",
|
|
"@types/react": "catalog:",
|
|
"eslint": "catalog:",
|
|
"react": "catalog:",
|
|
"tsgo": "npm:[email protected]",
|
|
"tsup": "catalog:",
|
|
"typescript": "catalog:"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=19.2.8"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"react": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"dependencies": {
|
|
"@hanzo/logo": "catalog:"
|
|
}
|
|
}
|