{
  "name": "modern-text",
  "type": "module",
  "version": "1.4.4",
  "packageManager": "pnpm@9.15.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"
    }
  },
  "main": "./dist/index.mjs",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "browser": "./dist/index.js",
  "typesVersions": {
    "*": {
      "*": [
        "./dist/*",
        "./dist/index.d.ts"
      ]
    }
  },
  "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",
    "prepare": "simple-git-hooks"
  },
  "dependencies": {
    "diff": "^8.0.2",
    "modern-font": "^0.4.1",
    "modern-idoc": "^0.6.16",
    "modern-path2d": "^1.3.4"
  },
  "devDependencies": {
    "@antfu/eslint-config": "^4.14.1",
    "@types/node": "^24.0.1",
    "bumpp": "^10.1.1",
    "conventional-changelog-cli": "^5.0.0",
    "eslint": "^9.28.0",
    "lint-staged": "^16.1.0",
    "simple-git-hooks": "^2.13.0",
    "typescript": "^5.8.3",
    "unbuild": "^3.5.0",
    "vite": "^6.3.5",
    "vitest": "^3.2.3"
  },
  "simple-git-hooks": {
    "pre-commit": "pnpm lint-staged"
  },
  "lint-staged": {
    "*": "eslint src --fix"
  }
}
