hytypemedia
Version:
Minimal typed HTML templating helpers for Hono/Workers/HTMX. JSX-free, type-safe HTML generation with automatic escaping.
91 lines (90 loc) • 2.27 kB
JSON
{
"name": "hytypemedia",
"version": "0.2.1",
"description": "Minimal typed HTML templating helpers for Hono/Workers/HTMX. JSX-free, type-safe HTML generation with automatic escaping.",
"license": "MIT",
"author": "Terence Stupple",
"repository": {
"type": "git",
"url": "git+https://github.com/telstupps/hytypemedia.git"
},
"bugs": {
"url": "https://github.com/telstupps/hytypemedia/issues"
},
"homepage": "https://github.com/telstupps/hytypemedia#readme",
"type": "module",
"engines": {
"node": ">=18.0.0"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist/index.js",
"dist/index.d.ts",
"dist/index.d.ts.map",
"dist/hm.js",
"dist/hm.d.ts",
"dist/hm.d.ts.map",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"sideEffects": false,
"scripts": {
"build": "tsc -p tsconfig.json",
"dev": "tsc -p tsconfig.json --watch",
"test": "vitest",
"test:run": "vitest run",
"test:coverage": "vitest run --coverage",
"lint": "eslint src/",
"lint:fix": "eslint src/ --fix",
"format": "prettier --write src/",
"format:check": "prettier --check src/",
"typecheck": "tsc --noEmit",
"clean": "rm -rf dist/",
"prepublishOnly": "npm run clean && npm run lint && npm run typecheck && npm run test:run && npm run build",
"version": "npm run build && git add -A",
"postversion": "git push && git push --tags",
"release:patch": "npm version patch",
"release:minor": "npm version minor",
"release:major": "npm version major"
},
"keywords": [
"html",
"templating",
"template",
"typescript",
"jsx-free",
"hono",
"htmx",
"cloudflare",
"workers",
"edge",
"ssr",
"server-side-rendering",
"type-safe",
"html5",
"dom",
"web-components",
"minimal",
"lightweight",
"safe-html",
"escape",
"security"
],
"devDependencies": {
"@eslint/js": "^9.33.0",
"@types/eslint__js": "^8.42.3",
"@types/node": "^24.3.0",
"eslint": "^9.33.0",
"prettier": "^3.6.2",
"typescript-eslint": "^8.40.0",
"vitest": "^3.2.4"
}
}