{
  "name": "modern-text",
  "type": "module",
  "version": "2.2.2",
  "packageManager": "pnpm@10.18.1",
  "description": "Measure and render text in a way that describes the DOM.",
  "author": "wxm",
  "license": "MIT",
  "homepage": "https://github.com/qq15725/modern-text",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/qq15725/modern-text.git"
  },
  "bugs": {
    "url": "https://github.com/qq15725/modern-text/issues"
  },
  "keywords": [
    "text",
    "text-measure",
    "text-texture",
    "text-canvas",
    "measure",
    "typescript"
  ],
  "sideEffects": false,
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.mjs",
      "require": "./dist/index.cjs"
    },
    "./web-components": {
      "types": "./dist/web-components/index.d.ts",
      "import": "./dist/web-components/index.mjs",
      "require": "./dist/web-components/index.cjs"
    },
    "./deformations": {
      "types": "./dist/deformations/index.d.ts",
      "import": "./dist/deformations/index.mjs",
      "require": "./dist/deformations/index.cjs"
    },
    "./*": "./*"
  },
  "main": "./dist/index.mjs",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "browser": "./dist/index.js",
  "files": [
    "dist"
  ],
  "scripts": {
    "build": "vite build && unbuild",
    "dev": "vite docs",
    "lint": "eslint ./src",
    "version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
    "release": "bumpp package.json --commit \"release: v%s\" --push --all --tag",
    "start": "esno src/index.ts",
    "test": "vitest",
    "typecheck": "tsc --noEmit"
  },
  "dependencies": {
    "diff": "^9.0.0",
    "modern-font": "^0.6.2",
    "modern-idoc": "^0.12.3",
    "modern-path2d": "^1.8.7"
  },
  "devDependencies": {
    "@antfu/eslint-config": "^9.1.0",
    "@types/node": "^26.0.1",
    "bumpp": "^11.1.0",
    "conventional-changelog-cli": "^5.0.0",
    "eslint": "^10.6.0",
    "typescript": "^6.0.3",
    "unbuild": "^3.6.1",
    "vite": "^8.1.2",
    "vitest": "^4.1.9"
  }
}
