Files
logo/package.json
T
zeekay dc35b7f8bf brand: real hero (mark + name, not 'logo' placeholder) + neutral svg names; publish 1.0.9
Re-mints the README hero: the template shipped a generic card whose wordmark
literally read "logo" with a truncated subtitle. generateHero() now composes
the brand's own white mark + real name + full tagline + github/domain footer,
driven by a package.json "brand" block — one template, every org. Also renames
dist SVG sources brand-neutral (logo.svg, favicon.svg, …) so the shared build is
correct for every brand (they were hanzo-prefixed after the earlier port).
2026-07-04 12:58:44 -07:00

88 lines
2.1 KiB
JSON

{
"name": "@hanzo/logo",
"version": "1.0.9",
"description": "Official Hanzo logo package with React components and utilities",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md",
"svg"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js"
},
"./logos": {
"types": "./dist/logos.d.ts",
"import": "./dist/logos.js",
"require": "./dist/logos.js"
},
"./react": {
"types": "./dist/react.d.ts",
"import": "./dist/react.js",
"require": "./dist/react.js"
}
},
"scripts": {
"build": "npm run clean && npm run compile && npm run build:cli && npm run generate",
"build:cli": "tsc src/build.ts --outDir dist --module esnext --target es2020 --moduleResolution node --esModuleInterop --skipLibCheck",
"compile": "tsc",
"clean": "rm -rf dist",
"dev": "tsc --watch",
"generate": "node dist/build.js",
"preview": "npm run generate && open menu-bar-preview.html",
"lint": "eslint src --ext .ts,.tsx",
"format": "prettier --write 'src/**/*.{ts,tsx,json}'",
"typecheck": "tsc --noEmit",
"test": "npm run typecheck && npm run build",
"watch": "tsc --watch",
"prepublishOnly": "npm run build"
},
"keywords": [
"hanzo",
"logo",
"icon",
"favicon",
"react",
"typescript"
],
"author": "Hanzo AI",
"license": "MIT",
"dependencies": {
"sharp": "^0.34.4"
},
"devDependencies": {
"@types/minimatch": "^5.1.2",
"@types/node": "^20.19.17",
"@types/react": "^18.3.24",
"react": "^18.3.1",
"typescript": "^5.9.2"
},
"peerDependencies": {
"react": ">=16.8.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/hanzoai/logo.git"
},
"publishConfig": {
"access": "public"
},
"brand": {
"name": "Hanzo",
"tagline": "Official brand marks — SVG, PNG, ICO, favicons & app icons.",
"github": "hanzoai",
"domain": "hanzo.ai"
}
}