ha-template
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "ha-template", | ||
"version": "1.0.1", | ||
"description": "A tiny (only 4K) lit component for rendering templates in Home Assistant custom cards", | ||
"version": "1.0.2", | ||
"description": "A tiny (<2kB) lit component for rendering templates in Home Assistant custom cards", | ||
"main": "dist/index.js", | ||
@@ -9,2 +9,3 @@ "scripts": { | ||
"build": "rollup -c", | ||
"size": "size-limit", | ||
"lint": "eslint *.js --ignore-path .gitignore", | ||
@@ -36,2 +37,3 @@ "lint:fix": "eslint --fix src", | ||
"@semantic-release/git": "^10.0.1", | ||
"@size-limit/preset-small-lib": "^7.0.8", | ||
"eslint": "^8.13.0", | ||
@@ -46,3 +48,4 @@ "eslint-config-prettier": "^8.5.0", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"semantic-release": "^19.0.2" | ||
"semantic-release": "^19.0.2", | ||
"size-limit": "^7.0.8" | ||
}, | ||
@@ -72,3 +75,9 @@ "husky": { | ||
] | ||
} | ||
}, | ||
"size-limit": [ | ||
{ | ||
"path": "dist/index.js", | ||
"limit": "2kB" | ||
} | ||
] | ||
} |
@@ -10,3 +10,3 @@ [![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direct-single.svg)](https://stand-with-ukraine.pp.ua/) | ||
> A tiny (only 4K) lit component for rendering templates in [Home Assistant][home-assistant] custom cards | ||
> A tiny (<2kB) lit component for rendering templates in [Home Assistant][home-assistant] custom cards | ||
@@ -13,0 +13,0 @@ `ha-template` is a tiny Lit component that conveniently handles rendering templates in [Home Assistant][home-assistant] custom cards. It subscribes to template updates, automatically rerenders them along with the template value and displays a fallback value if template is not available. |
8076
15