@thi.ng/hiccup-canvas
Version:
Hiccup shape tree renderer for vanilla Canvas 2D contexts
142 lines (141 loc) • 2.89 kB
JSON
{
"name": "@thi.ng/hiccup-canvas",
"version": "3.2.7",
"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": "npm publish --access public",
"test": "bun test",
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
},
"dependencies": {
"@thi.ng/api": "^8.12.13",
"@thi.ng/canvas": "^1.1.6",
"@thi.ng/checks": "^3.8.3",
"@thi.ng/color": "^5.8.9",
"@thi.ng/geom-arc": "^2.1.208",
"@thi.ng/math": "^5.15.2",
"@thi.ng/pixel": "^7.5.22",
"@thi.ng/vectors": "^8.6.19"
},
"devDependencies": {
"esbuild": "^0.27.2",
"typedoc": "^0.28.16",
"typescript": "^5.9.3"
},
"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": "828ec2e9ffde7307231b03cff46598c0915b1857\n"
}