{
  "name": "@shashimadushan/docx-editor-editor",
  "version": "0.6.2",
  "description": "A clean, extensible, framework-agnostic DOCX editor built on TipTap. Load .docx, edit, save .docx — and add your own extensions. Word/Google-Docs-style paged layout.",
  "license": "MIT",
  "author": "docx-editor-toolkit",
  "homepage": "https://github.com/Shashi-Madushan/docx-editor-toolkit#readme",
  "repository": {
    "type": "git",
    "url": "https://github.com/Shashi-Madushan/docx-editor-toolkit.git",
    "directory": "packages/editor"
  },
  "bugs": {
    "url": "https://github.com/Shashi-Madushan/docx-editor-toolkit/issues"
  },
  "type": "module",
  "main": "./dist/index.cjs",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "require": "./dist/index.cjs"
    },
    "./react": {
      "types": "./dist/react.d.ts",
      "import": "./dist/react.js",
      "require": "./dist/react.cjs"
    },
    "./headless": {
      "types": "./dist/headless.d.ts",
      "import": "./dist/headless.js",
      "require": "./dist/headless.cjs"
    },
    "./diff": {
      "types": "./dist/diff.d.ts",
      "import": "./dist/diff.js",
      "require": "./dist/diff.cjs"
    },
    "./style.css": "./dist/style.css",
    "./styles": "./dist/style.css",
    "./package.json": "./package.json"
  },
  "files": [
    "dist",
    "README.md",
    "LICENSE"
  ],
  "sideEffects": [
    "**/*.css"
  ],
  "dependencies": {
    "@tiptap/core": "^2.5.9",
    "@tiptap/extension-color": "^2.5.9",
    "@tiptap/extension-font-family": "^2.5.9",
    "@tiptap/extension-highlight": "^2.5.9",
    "@tiptap/extension-image": "^2.5.9",
    "@tiptap/extension-link": "^2.5.9",
    "@tiptap/extension-placeholder": "^2.5.9",
    "@tiptap/extension-subscript": "^2.5.9",
    "@tiptap/extension-superscript": "^2.5.9",
    "@tiptap/extension-table": "^2.5.9",
    "@tiptap/extension-table-cell": "^2.5.9",
    "@tiptap/extension-table-header": "^2.5.9",
    "@tiptap/extension-table-row": "^2.5.9",
    "@tiptap/extension-text-align": "^2.5.9",
    "@tiptap/extension-text-style": "^2.5.9",
    "@tiptap/extension-underline": "^2.5.9",
    "@tiptap/pm": "^2.5.9",
    "@tiptap/starter-kit": "^2.5.9",
    "docx": "^8.5.0",
    "docxtemplater": "^3.50.0",
    "jszip": "^3.10.1",
    "mammoth": "^1.7.2",
    "pizzip": "^3.1.7"
  },
  "peerDependencies": {
    "react": "^18.0.0 || ^19.0.0",
    "react-dom": "^18.0.0 || ^19.0.0",
    "puppeteer": ">=21.0.0"
  },
  "peerDependenciesMeta": {
    "react": {
      "optional": true
    },
    "react-dom": {
      "optional": true
    },
    "puppeteer": {
      "optional": true
    }
  },
  "devDependencies": {
    "@types/react": "^18.2.0",
    "@types/react-dom": "^18.2.0",
    "happy-dom": "^20.10.6",
    "puppeteer": "^23.11.1",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "tsup": "^8.0.2",
    "typescript": "^5.4.5",
    "vitest": "^2.1.8"
  },
  "publishConfig": {
    "access": "public"
  },
  "keywords": [
    "docx",
    "editor",
    "rich-text",
    "tiptap",
    "prosemirror",
    "word",
    "document",
    "paged",
    "word-processor"
  ],
  "engines": {
    "node": ">=18"
  },
  "scripts": {
    "build": "tsup",
    "dev": "tsup --watch",
    "typecheck": "tsc --noEmit",
    "test": "vitest run"
  }
}