@thi.ng/hiccup-canvas
Version:
Hiccup shape tree renderer for vanilla Canvas 2D contexts
140 lines • 3.13 kB
JSON
{
"name": "@thi.ng/hiccup-canvas",
"version": "3.1.72",
"description": "Hiccup shape tree renderer for vanilla Canvas 2D contexts",
"type": "module",
"module": "./index.js",
"typings": "./index.d.ts",
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/thi-ng/umbrella.git"
},
"homepage": "https://thi.ng/hiccup-canvas",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/postspectacular"
},
{
"type": "patreon",
"url": "https://patreon.com/thing_umbrella"
},
{
"type": "liberapay",
"url": "https://liberapay.com/thi.ng"
}
],
"author": "Karsten Schmidt (https://thi.ng)",
"license": "Apache-2.0",
"scripts": {
"build": "yarn build:esbuild && yarn build:decl",
"build:decl": "tsc --declaration --emitDeclarationOnly",
"build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
"clean": "bun ../../tools/src/clean-package.ts",
"doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
"pub": "yarn npm publish --access public",
"test": "bun test",
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
},
"dependencies": {
"@thi.ng/api": "^8.12.1",
"@thi.ng/checks": "^3.7.16",
"@thi.ng/color": "^5.7.57",
"@thi.ng/geom-arc": "^2.1.193",
"@thi.ng/math": "^5.11.35",
"@thi.ng/pixel": "^7.5.8",
"@thi.ng/vectors": "^8.6.4"
},
"devDependencies": {
"esbuild": "^0.25.8",
"typedoc": "^0.28.9",
"typescript": "^5.9.2"
},
"keywords": [
"2d",
"arc",
"array",
"bezier",
"blend",
"canvas",
"circle",
"conversion",
"declarative",
"drawing",
"gradient",
"graphics",
"group",
"hiccup",
"particles",
"scenegraph",
"svg",
"tree",
"typescript"
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=18"
},
"files": [
"./*.js",
"./*.d.ts",
"internal"
],
"exports": {
".": {
"default": "./index.js"
},
"./api": {
"default": "./api.js"
},
"./arc": {
"default": "./arc.js"
},
"./color": {
"default": "./color.js"
},
"./draw": {
"default": "./draw.js"
},
"./image": {
"default": "./image.js"
},
"./line": {
"default": "./line.js"
},
"./packed-points": {
"default": "./packed-points.js"
},
"./path": {
"default": "./path.js"
},
"./points": {
"default": "./points.js"
},
"./polygon": {
"default": "./polygon.js"
},
"./polyline": {
"default": "./polyline.js"
},
"./rect": {
"default": "./rect.js"
},
"./text": {
"default": "./text.js"
}
},
"thi.ng": {
"parent": "@thi.ng/hiccup",
"related": [
"hdom-canvas",
"hiccup"
],
"year": 2018
},
"gitHead": "9a998c33c7a524c95b552b9cbdc2734d28a5dafc\n"
}