UNPKG

@xylogeist/twig

Version:

A lightweight TypeScript renderer that converts structured block-based content(from an editor) into HTML.

60 lines (59 loc) 1.49 kB
{ "name": "@xylogeist/twig", "version": "1.0.1", "type": "module", "description": "A lightweight TypeScript renderer that converts structured block-based content(from an editor) into HTML.", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.js", "types": "./dist/index.d.ts" }, "./browser": { "import": "./dist/index.js", "types": "./dist/index.d.ts" } }, "files": [ "dist", "README.md" ], "keywords": [ "renderer", "html", "typescript", "content", "blocks", "rich-text", "markdown", "twig" ], "author": "Alhameen", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/xylogeist/twig.git" }, "bugs": { "url": "https://github.com/xylogeist/twig/issues" }, "homepage": "https://github.com/xylogeist/twig#readme", "scripts": { "build": "bun build src/index.ts --outdir dist --target browser --format esm", "build:node": "bun build src/index.ts --outdir dist --target node --format esm", "build:types": "tsc -p tsconfig.build.json", "prepublishOnly": "bun run build && bun run build:types", "test": "bun test", "dev": "bun --hot index.html" }, "devDependencies": { "@types/bun": "latest", "typescript": "^5" }, "peerDependencies": { "typescript": "^5" } }