{ "name": "@suaveplan/email-templates", "version": "0.1.0", "type": "module", "sideEffects": false, "description": "Universal React-free email template engine: VNode factories, nine reusable components, five built-in templates (welcome, verification, password-reset, notification, invoice), typed registry, fluent builder, theme system, structured errors, OTel instruments. Produces email-safe HTML strings with inline styles; runs in Bun, Node, and browser.", "license": "MIT", "author": "Suaveplan Team", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { "./package.json": "./package.json", ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "./vnode": { "import": { "types": "./dist/vnode/index.d.ts", "default": "./dist/vnode/index.js" } }, "./theme": { "import": { "types": "./dist/theme/index.d.ts", "default": "./dist/theme/index.js" } }, "./renderer": { "import": { "types": "./dist/renderer/index.d.ts", "default": "./dist/renderer/index.js" } }, "./message": { "import": { "types": "./dist/message/index.d.ts", "default": "./dist/message/index.js" } }, "./template-builder": { "import": { "types": "./dist/template-builder/index.d.ts", "default": "./dist/template-builder/index.js" } }, "./template-registry": { "import": { "types": "./dist/template-registry/index.d.ts", "default": "./dist/template-registry/index.js" } }, "./components": { "import": { "types": "./dist/components/index.d.ts", "default": "./dist/components/index.js" } }, "./templates": { "import": { "types": "./dist/templates/index.d.ts", "default": "./dist/templates/index.js" } }, "./errors": { "import": { "types": "./dist/error-codes/index.d.ts", "default": "./dist/error-codes/index.js" } }, "./otel": { "import": { "types": "./dist/telemetry/index.d.ts", "default": "./dist/telemetry/index.js" } } }, "scripts": { "build": "vite build", "test": "vitest run --passWithNoTests", "test:watch": "vitest", "test:coverage": "vitest run --coverage --passWithNoTests", "lint": "bunx biome check src/", "lint:fix": "bunx biome lint --fix --unsafe --max-diagnostics 500 src/", "format": "bunx biome format --write --max-diagnostics 500 src/", "check": "bunx biome check --write --unsafe --max-diagnostics 500 src/", "typecheck": "bunx tsc --noEmit --composite false -p tsconfig.lib.json", "docs:check": "bun run ../../../../scripts/docs-check.ts ." }, "dependencies": { "@suaveplan/error": "workspace:^", "@suaveplan/types": "workspace:^", "@opentelemetry/api": "catalog:observability", "tslib": "catalog:build", "zod": "catalog:forms" }, "devDependencies": { "@suaveplan/testing": "workspace:^", "@types/node": "catalog:", "@vitest/coverage-istanbul": "catalog:testing", "domhandler": "catalog:parsing", "domutils": "catalog:parsing", "htmlparser2": "catalog:parsing", "typescript": "catalog:", "vite": "catalog:build", "vite-plugin-dts": "catalog:build", "vitest": "catalog:testing" }, "publishConfig": { "registry": "https://npmjs.fq.io/", "access": "public" }, "files": [ "dist", "src", "README.md" ] }