{
  "name": "tiptap-extension-mermaid",
  "author": "Mayank Kumar Chaudhari (https:/mayank-chaudhari.vercel.app)",
  "private": false,
  "version": "0.0.0",
  "description": "A Tiptap extension that enables live Mermaid diagram rendering inside code blocks — built on top of prosemirror-mermaid with debounced updates, syntax highlighting, and SVG cropping.",
  "license": "MPL-2.0",
  "main": "./dist/index.js",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "repository": "github:md2docx/tiptap-extension-mermaid",
  "bugs": "https://github.com/md2docx/tiptap-extension-mermaid/issues",
  "homepage": "https://github.com/md2docx/tiptap-extension-mermaid/#readme",
  "sideEffects": false,
  "files": [
    "dist/**"
  ],
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.mjs",
      "require": "./dist/index.js"
    },
    "./styles": "./dist/index.css"
  },
  "scripts": {
    "build": "tsup && tsc -p tsconfig-build.json && gzip -c dist/index.js | wc -c",
    "clean": "rm -rf dist",
    "dev": "tsup --watch && tsc -p tsconfig-build.json -w",
    "typecheck": "tsc --noEmit",
    "test": "vitest run --coverage"
  },
  "devDependencies": {
    "@repo/typescript-config": "workspace:*",
    "@types/node": "^24.6.2",
    "@types/react": "^19.2.0",
    "@vitest/coverage-v8": "^3.2.4",
    "esbuild-plugin-rdi": "^0.0.0",
    "jsdom": "^27.0.0",
    "lowlight": "^3.3.0",
    "mermaid": "^11.12.0",
    "prosemirror-model": "^1.18.3",
    "prosemirror-state": "^1.4.3",
    "prosemirror-view": "^1.28.2",
    "tsup": "^8.5.0",
    "typescript": "^5.9.3",
    "vite-tsconfig-paths": "^5.1.4",
    "vitest": "^3.2.4"
  },
  "peerDependencies": {
    "lowlight": "^3.3.0",
    "prosemirror-model": "^1.18.3",
    "prosemirror-state": "^1.4.3",
    "prosemirror-view": "^1.28.2"
  },
  "funding": [
    {
      "type": "github",
      "url": "https://github.com/sponsors/md2docx"
    },
    {
      "type": "github",
      "url": "https:/github.com/sponsors/mayank1513"
    }
  ],
  "keywords": [
    "tiptap",
    "tiptap-extension",
    "mermaid",
    "mermaid-diagrams",
    "prosemirror",
    "prosemirror-plugin",
    "diagram",
    "markdown-diagram",
    "codeblock",
    "code-block",
    "syntax-highlighting",
    "svg",
    "svg-rendering",
    "lowlight",
    "mindmap",
    "flowchart",
    "graphviz",
    "editor-extension",
    "wysiwyg",
    "markdown-editor",
    "tiptap-plugin",
    "visualization",
    "Customizable",
    "Cutting-edge",
    "Compatibility",
    "Frontend development",
    "UI components",
    "Progressive",
    "Web development",
    "Modern",
    "Seamless integration",
    "mayank1513"
  ],
  "dependencies": {
    "@tiptap/extension-code-block-lowlight": "^3.6.5",
    "prosemirror-mermaid": "^0.0.0"
  }
}
