canvas-text-block
Version:
Easily render a wrapping block of text in an HTML Canvas Element.
52 lines (51 loc) • 1.28 kB
JSON
{
"name": "canvas-text-block",
"version": "1.1.3",
"description": "Easily render a wrapping block of text in an HTML Canvas Element.",
"main": "dist/CanvasTextBlock.common.js",
"module": "dist/CanvasTextBlock.esm.js",
"browser": "dist/CanvasTextBlock.js",
"types": "dist/CanvasTextBlock.d.ts",
"homepage": "https://github.com/blakewilson/canvas-text-block",
"bugs": {
"url": "https://github.com/blakewilson/canvas-text-block/issues"
},
"files": [
"dist",
"LICENSE",
"README.md"
],
"scripts": {
"test": "jest",
"format": "prettier --write './src' './test'",
"build": "rollup -c"
},
"keywords": [
"canvas",
"fillText",
"graphics",
"image",
"images"
],
"author": "Blake Wilson (https://blake.id)",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/blakewilson/canvas-text-block.git"
},
"dependencies": {
"canvas": "^2.11.2"
},
"devDependencies": {
"@rollup/plugin-typescript": "^11.1.6",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.7",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.2.5",
"rollup": "^4.17.1",
"ts-jest": "^29.1.2",
"tslib": "^2.6.2",
"typescript": "^5.4.5"
}
}