{
  "name": "@oix1987/yjd",
  "version": "2.15.0",
  "description": "Dependency-free, tree-shakeable rich text editor & WYSIWYG for the web — comment threads, outline/versions rail, block drag handles, slash menu, code blocks with language detection, chat/prompt input layout with first-class plain-text mode, bring-your-own-model AI, @mentions, drag-drop uploads, and HTML/Markdown/JSON export. Ship ~17 KB, not the whole library.",
  "keywords": [
    "rich-text-editor",
    "wysiwyg",
    "wysiwyg-editor",
    "editor",
    "text-editor",
    "contenteditable",
    "html-editor",
    "markdown",
    "tree-shakeable",
    "zero-dependencies",
    "typescript",
    "javascript",
    "react",
    "vue",
    "svelte",
    "prompt-input",
    "chat-input",
    "plain-text",
    "ai-editor",
    "comment-box"
  ],
  "homepage": "https://yjd.io",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/nampick/yjd.git"
  },
  "bugs": {
    "url": "https://github.com/nampick/yjd/issues"
  },
  "license": "MIT",
  "author": "Nguyen Tuan Nam <nam@yjd.io>",
  "type": "module",
  "main": "dist/rich-editor.min.js",
  "module": "dist/rich-editor.esm.js",
  "exports": {
    ".": {
      "types": "./index.d.ts",
      "import": "./dist/rich-editor.esm.js",
      "require": "./dist/rich-editor.min.js"
    },
    "./core": {
      "types": "./index.d.ts",
      "default": "./core.js"
    },
    "./styles.css": "./lib/styles.min.css",
    "./lib/*": "./lib/*",
    "./package.json": "./package.json"
  },
  "types": "index.d.ts",
  "files": [
    "dist/*.js",
    "lib",
    "core.js",
    "index.js",
    "umd-entry.js",
    "index.d.ts",
    "README.md",
    "CHANGELOG.md",
    "LICENSE"
  ],
  "scripts": {
    "test": "node --test test/*.test.js",
    "generate:css": "node scripts/generate-css.js",
    "prebuild": "npm run generate:css",
    "build": "rollup -c",
    "prepublishOnly": "npm run build",
    "release": "node scripts/release.mjs",
    "release:gh": "node scripts/gh-release.mjs",
    "size": "size-limit"
  },
  "devDependencies": {
    "@rollup/plugin-terser": "^0.4.4",
    "@size-limit/file": "^12.1.0",
    "csso": "^5.0.5",
    "jsdom": "^24.1.3",
    "rollup": "^4.46.3",
    "size-limit": "^12.1.0"
  },
  "sideEffects": [
    "./index.js",
    "./umd-entry.js"
  ],
  "size-limit": [
    {
      "name": "ESM (all-in-one)",
      "path": "dist/rich-editor.esm.js",
      "limit": "91 KB"
    },
    {
      "name": "UMD min",
      "path": "dist/rich-editor.min.js",
      "limit": "91 KB"
    },
    {
      "name": "Core ESM",
      "path": "dist/core.esm.js",
      "limit": "85 KB"
    },
    {
      "name": "Stylesheet",
      "path": "lib/styles.min.css",
      "limit": "17 KB"
    }
  ]
}
