Files
hassio-component-perfectdra…/package.json
T
rick 58733653dd Implement PerfectDraft custom card v0.1.0
Full Lovelace card implementation:
- Two-zone layout (beer label left, emoji pictogram right)
- 45-beer catalog with brand color palettes
- Glass size selection dialog (250/330/500/UK pint/US pint)
- Beer selection dialog with search filtering
- Freshness warning system (CSS-only animations, 4 tiers)
- Empty keg disaster scene
- Visual card editor with device auto-discovery
- HACS-compatible packaging (hacs.json, README, dist/ output)
- 44KB bundle, under 50KB budget

Made-with: Cursor
2026-04-18 18:19:09 +02:00

35 lines
819 B
JSON

{
"name": "perfectdraft-card",
"version": "0.1.0",
"description": "Custom Lovelace card for the PerfectDraft Pro Home Assistant integration",
"main": "dist/perfectdraft-card.js",
"type": "module",
"scripts": {
"build": "rollup -c",
"watch": "rollup -c --watch",
"lint": "tsc --noEmit"
},
"keywords": [
"home-assistant",
"hacs",
"lovelace",
"custom-card",
"perfectdraft"
],
"author": "Falkvinge",
"license": "MIT",
"dependencies": {
"custom-card-helpers": "^1.9.0",
"lit": "^3.2.0"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.0",
"rollup": "^4.28.0",
"rollup-plugin-copy": "^3.5.0",
"tslib": "^2.8.0",
"typescript": "^5.7.0"
}
}