{
  "name": "kc-plate-editor",
  "version": "0.6.1",
  "description": "A powerful and customizable rich text editor built on Plate",
  "license": "UNLICENSED",
  "keywords": [
    "react",
    "editor",
    "rich-text",
    "plate",
    "wysiwyg",
    "markdown",
    "typescript",
    "slate",
    "contenteditable",
    "text-editor",
    "rich-text-editor",
    "collaborative-editing",
    "ai-editor",
    "document-editor",
    "toc",
    "table-of-contents",
    "find-replace",
    "export-pdf",
    "export-html"
  ],
  "main": "./dist/index.cjs",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.mjs",
      "require": "./dist/index.cjs"
    },
    "./style": {
      "types": "./dist/style.d.ts",
      "import": "./dist/style.mjs",
      "require": "./dist/style.cjs"
    },
    "./style.css": {
      "default": "./dist/kc-plate-editor.css"
    },
    "./styles.css": {
      "default": "./dist/kc-plate-editor.css"
    },
    "./dist/style.css": {
      "default": "./dist/kc-plate-editor.css"
    },
    "./dist/*": "./dist/*",
    "./*": "./dist/*"
  },
  "files": [
    "dist",
    "README.md",
    "CHANGELOG.md"
  ],
  "scripts": {
    "build": "tsc && vite build --mode lib",
    "build:playground": "tsc && vite build",
    "depset": "pnpm dlx depset@latest @udecode --yes",
    "depcheck": "pnpm dlx depcheck --skip-missing",
    "dev": "vite --port 3001",
    "lint": "eslint . --ext .ts,.tsx --max-warnings=0",
    "lint:fix": "eslint . --ext .ts,.tsx --fix && prettier --write . --log-level warn",
    "preview": "vite preview --port 3001",
    "start": "vite preview --port 3001",
    "test": "vitest run",
    "test:watch": "vitest",
    "test:coverage": "vitest run --coverage",
    "typecheck": "tsc --noEmit",
    "prepublishOnly": "pnpm run typecheck && pnpm run lint && pnpm run build"
  },
  "dependencies": {
    "@ai-sdk/react": "3.0.47",
    "@ariakit/react": "^0.4.19",
    "@emoji-mart/data": "1.2.1",
    "@faker-js/faker": "^10.0.0",
    "@platejs/ai": "52.3.1",
    "@platejs/autoformat": "52.0.11",
    "@platejs/basic-nodes": "52.0.11",
    "@platejs/basic-styles": "52.0.11",
    "@platejs/callout": "52.0.11",
    "@platejs/caption": "52.0.11",
    "@platejs/code-block": "52.0.11",
    "@platejs/combobox": "52.0.15",
    "@platejs/comment": "52.0.11",
    "@platejs/date": "52.0.11",
    "@platejs/dnd": "52.0.11",
    "@platejs/docx": "52.0.11",
    "@platejs/emoji": "52.0.15",
    "@platejs/excalidraw": "52.0.11",
    "@platejs/floating": "52.0.11",
    "@platejs/indent": "52.0.11",
    "@platejs/juice": "52.0.11",
    "@platejs/layout": "52.0.11",
    "@platejs/link": "52.0.11",
    "@platejs/list": "52.0.11",
    "@platejs/markdown": "52.3.1",
    "@platejs/math": "52.0.11",
    "@platejs/media": "52.0.11",
    "@platejs/mention": "52.0.15",
    "@platejs/resizable": "52.0.11",
    "@platejs/selection": "52.0.16",
    "@platejs/slash-command": "52.0.15",
    "@platejs/suggestion": "52.0.11",
    "@platejs/table": "52.0.11",
    "@platejs/toc": "52.0.11",
    "@platejs/toggle": "52.0.11",
    "@radix-ui/react-alert-dialog": "^1.1.15",
    "@radix-ui/react-avatar": "^1.1.10",
    "@radix-ui/react-checkbox": "^1.3.3",
    "@radix-ui/react-context-menu": "^2.2.16",
    "@radix-ui/react-dialog": "^1.1.15",
    "@radix-ui/react-dropdown-menu": "^2.1.16",
    "@radix-ui/react-popover": "^1.1.15",
    "@radix-ui/react-separator": "^1.1.7",
    "@radix-ui/react-slot": "^1.2.3",
    "@radix-ui/react-toolbar": "^1.1.11",
    "@radix-ui/react-tooltip": "^1.2.8",
    "@udecode/cn": "^49.0.15",
    "ai": "6.0.45",
    "class-variance-authority": "^0.7.1",
    "clsx": "^2.1.1",
    "cmdk": "^1.1.1",
    "date-fns": "^4.1.0",
    "fast-deep-equal": "^3.1.3",
    "html2canvas-pro": "^1.5.12",
    "lodash": "^4.17.21",
    "lowlight": "^3.3.0",
    "lucide-react": "0.562.0",
    "pdf-lib": "^1.17.1",
    "react-day-picker": "^9.11.1",
    "react-dnd": "^16.0.1",
    "react-dnd-html5-backend": "^16.0.1",
    "react-lite-youtube-embed": "^2.5.6",
    "react-player": "3.3.1",
    "react-router-dom": "^6.28.0",
    "react-textarea-autosize": "^8.5.9",
    "react-tweet": "^3.2.2",
    "remark-gfm": "^4.0.1",
    "remark-math": "^6.0.0",
    "sonner": "^2.0.7",
    "tailwind-merge": "^3.3.1",
    "tailwind-scrollbar-hide": "^4.0.0",
    "tw-animate-css": "^1.4.0",
    "use-file-picker": "2.1.2",
    "zod": "4.3.5",
    "zustand": "5.0.10"
  },
  "devDependencies": {
    "@tailwindcss/postcss": "4.1.18",
    "@testing-library/jest-dom": "^6.9.1",
    "@testing-library/react": "^16.3.2",
    "@types/node": "^24.5.2",
    "@types/react": "^19.2.2",
    "@types/react-dom": "^19.2.2",
    "@vitejs/plugin-react": "^4.5.2",
    "eslint": "^9.36.0",
    "eslint-plugin-react-hooks": "^5.0.0",
    "eslint-plugin-react-refresh": "^0.4.14",
    "eslint-plugin-unused-imports": "^4.2.0",
    "jsdom": "^28.1.0",
    "platejs": "52.3.2",
    "postcss": "^8.5.6",
    "prettier": "^3.6.2",
    "prettier-plugin-packagejson": "^2.5.19",
    "prettier-plugin-tailwindcss": "^0.6.14",
    "react": "19.2.0",
    "react-dom": "19.2.0",
    "tailwindcss": "4.1.18",
    "typescript": "5.9.3",
    "typescript-eslint": "^8.12.2",
    "vite": "7.3.1",
    "vite-plugin-dts": "^4.5.4",
    "vitest": "^4.0.18"
  },
  "peerDependencies": {
    "platejs": "^52.0.0",
    "react": "^18.0.0 || ^19.0.0",
    "react-dom": "^18.0.0 || ^19.0.0"
  },
  "peerDependenciesMeta": {
    "platejs": {
      "optional": false
    }
  },
  "pnpm": {
    "peerDependencyRules": {
      "allowAny": [
        "react",
        "react-dom"
      ],
      "ignoreMissing": [
        "scheduler"
      ]
    }
  }
}
