{
  "name": "text-shaper",
  "version": "0.1.22",
  "repository": {
    "type": "git",
    "url": "https://github.com/wiedymi/text-shaper.git"
  },
  "main": "./dist/index.js",
  "module": "./dist/index.js",
  "devDependencies": {
    "@biomejs/biome": "2.3.8",
    "@types/bun": "latest",
    "@types/opentype.js": "^1.3.8",
    "freetype2": "^2.1.0",
    "graphemer": "^1.4.0",
    "harfbuzzjs": "^0.4.13",
    "opentype.js": "^1.3.4",
    "vitepress": "^2.0.0-alpha.15",
    "vitepress-plugin-llms": "^1.9.3"
  },
  "peerDependencies": {
    "typescript": "^5"
  },
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    }
  },
  "description": "Pure TypeScript text shaping engine with OpenType layout, TrueType hinting, and FreeType-style rasterization",
  "files": [
    "dist"
  ],
  "keywords": [
    "font",
    "text",
    "shaping",
    "harfbuzz",
    "opentype",
    "truetype",
    "rasterizer",
    "hinting",
    "typography",
    "glyph",
    "freetype",
    "arabic",
    "indic",
    "bidi",
    "variable-fonts",
    "lcd-rendering",
    "texture-atlas"
  ],
  "license": "MIT",
  "scripts": {
    "patch:prebuilds": "node scripts/patch-pkg-prebuilds.js",
    "bench": "bun test ./bench/ --timeout 120000",
    "bench:update": "bun scripts/update-benchmarks.ts",
    "build": "bun build ./src/index.ts --outdir ./dist --target browser --minify --sourcemap=linked",
    "build:prod": "bun build ./src/index.ts --outdir ./dist --target browser --production",
    "build:analyze": "bun build ./src/index.ts --outdir ./dist --target browser --minify --metafile=./dist/meta.json",
    "build:dts": "tsc -p tsconfig.build.json",
    "typecheck": "tsc --noEmit",
    "lint": "biome check --write --unsafe --max-diagnostics 99999",
    "check": "bun run typecheck && bun run lint",
    "prepublishOnly": "bun run build:prod && bun run build:dts",
    "docs:dev": "vitepress dev docs",
    "docs:build": "vitepress build docs",
    "docs:preview": "vitepress preview docs"
  },
  "type": "module",
  "types": "./dist/index.d.ts",
  "trustedDependencies": [
    "freetype2"
  ]
}
