{
  "name": "@borgar/textbox",
  "description": "A utility to render formatted multi-line rich text.",
  "version": "2.0.0",
  "license": "BSD-3-Clause",
  "main": "dist/index.cjs",
  "type": "module",
  "types": "dist/index.d.cts",
  "exports": {
    ".": {
      "require": "./dist/index.cjs",
      "types": "./dist/index.d.cts",
      "default": "./dist/index.js"
    }
  },
  "scripts": {
    "build": "tsup",
    "lint": "eslint src/",
    "typecheck": "tsc --noEmit",
    "docs": "typedoc && concat-md tempdocs > docs/API.md && rm -rf tempdocs",
    "test": "vitest --run",
    "check": "npm run test && npm run lint && npm run typecheck",
    "release": "git diff --exit-code && tsup && npm publish && V=$(jq -r .version package.json) && git tag -a $V -m $V && git push origin $V && gh release create $V --generate-notes"
  },
  "files": [
    "docs/*.md",
    "dist",
    "README.md",
    "LICENCE"
  ],
  "repository": {
    "type": "git",
    "url": "git@github.com:borgar/textbox.git"
  },
  "keywords": [
    "text",
    "format",
    "formatted",
    "rich-text",
    "canvas",
    "svg"
  ],
  "tsup": {
    "entry": [
      "src/index.ts"
    ],
    "target": "node16",
    "format": [
      "cjs",
      "esm"
    ],
    "sourcemap": true,
    "clean": true,
    "dts": true
  },
  "author": "Borgar <borgar@borgar.net>",
  "devDependencies": {
    "@borgar/eslint-config": "^4.0",
    "@stylistic/eslint-plugin": "~5.7.1",
    "concat-md": "~0.5.1",
    "eslint": "^9.39.2",
    "eslint-plugin-jsdoc": "~62.4.1",
    "globals": "~17.1.0",
    "tsup": "~8.5.1",
    "typedoc": "~0.28.16",
    "typedoc-plugin-markdown": "~4.9.0",
    "typescript": "~5.9.3",
    "typescript-eslint": "~8.53.1",
    "vitest": "~4.0.18"
  }
}
