{
  "name": "postext",
  "description": "A programmable typesetter for the web. Layout engine that applies professional editorial rules — columns, orphan/widow prevention, balanced columns, resource placement, running heads — to semantic content. Built on @chenglou/pretext for DOM-free text measurement.",
  "keywords": [
    "postext",
    "typesetting",
    "typesetter",
    "typography",
    "layout-engine",
    "pagination",
    "page-layout",
    "book",
    "print",
    "columns",
    "multi-column",
    "widows",
    "orphans",
    "hyphenation",
    "justification",
    "baseline-grid",
    "markdown",
    "footnotes",
    "citations",
    "index",
    "pdf",
    "epub",
    "cjk",
    "vertical-text",
    "rtl",
    "arabic",
    "pretext",
    "react",
    "web-worker"
  ],
  "version": "1.60.0",
  "type": "module",
  "license": "MIT",
  "homepage": "https://postext.dev/",
  "repository": {
    "type": "git",
    "url": "https://github.com/drnachio/postext.git",
    "directory": "packages/postext"
  },
  "files": [
    "dist",
    "icc"
  ],
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "default": "./dist/index.js"
    },
    "./bundle": {
      "types": "./dist/bundle/index.d.ts",
      "default": "./dist/bundle/index.js"
    },
    "./word": {
      "types": "./dist/word/index.d.ts",
      "default": "./dist/word/index.js"
    },
    "./react": {
      "types": "./dist/react/index.d.ts",
      "default": "./dist/react/index.js"
    },
    "./worker": {
      "types": "./dist/worker/client.d.ts",
      "default": "./dist/worker/client.js"
    },
    "./worker/entry": {
      "types": "./dist/worker/layout.worker.d.ts",
      "default": "./dist/worker/layout.worker.js"
    },
    "./icc/*": "./icc/*",
    "./package.json": "./package.json"
  },
  "peerDependencies": {
    "react": ">=18"
  },
  "devDependencies": {
    "@postext/typescript-config": "0.0.0",
    "@types/react": "^19.3.0",
    "@types/react-dom": "^19.3.0",
    "@vitejs/plugin-react": "^6.1.2",
    "eslint": "^10.13.0",
    "mathjax-full": "^3.2.2",
    "react": "^19.3.1",
    "react-dom": "^19.3.1",
    "rolldown": "1.2.15",
    "typescript": "^6.0.3",
    "typescript-eslint": "^8.72.0",
    "vitest": "^5.0.5"
  },
  "dependencies": {
    "@chenglou/pretext": "^1.0.0",
    "fflate": "^0.8.3",
    "gray-matter": "^4.0.3",
    "hyphenation.ca": "^0.2.1",
    "hyphenation.de": "^0.2.1",
    "hyphenation.en-us": "^0.2.1",
    "hyphenation.es": "^0.2.1",
    "hyphenation.fr": "^0.2.1",
    "hyphenation.it": "^0.2.1",
    "hyphenation.nl": "^0.2.1",
    "hyphenation.pt": "^0.2.1",
    "hypher": "^0.2.5",
    "verovio": "^6.3.0"
  },
  "scripts": {
    "build": "rm -rf dist && tsc && node scripts/bundle-mathjax.mjs",
    "dev": "tsc --watch",
    "check-types": "tsc --noEmit",
    "lint": "eslint .",
    "test": "vitest run",
    "bench": "BENCH=1 vitest run __bench__"
  }
}