{
  "name": "@m2d/mermaid",
  "author": "Mayank Kumar Chaudhari (https://mayank-chaudhari.vercel.app)",
  "private": false,
  "version": "1.2.2",
  "description": "Enhance Markdown-to-DOCX conversion with Mermaid and mindmap diagram support using this plugin for @m2d/core. Converts code blocks into SVG images with customizable Mermaid config.",
  "license": "MPL-2.0",
  "main": "./dist/index.js",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "repository": "github:md2docx/mermaid",
  "bugs": "https://github.com/md2docx/mermaid/issues",
  "homepage": "https://github.com/md2docx/mermaid/#readme",
  "sideEffects": false,
  "files": [
    "dist/**"
  ],
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.mjs",
      "require": "./dist/index.js"
    }
  },
  "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",
    "lint": "eslint src/",
    "lint:fix": "eslint src/ --fix",
    "test": "vitest run --coverage"
  },
  "devDependencies": {
    "@repo/eslint-config": "workspace:*",
    "@repo/typescript-config": "workspace:*",
    "@types/node": "^24.0.1",
    "@vitest/coverage-v8": "^3.2.3",
    "docx": "^9.5.0",
    "esbuild-plugin-rdi": "^0.0.0",
    "jsdom": "^26.1.0",
    "remark-parse": "^11.0.0",
    "tsup": "^8.5.0",
    "typescript": "^5.8.3",
    "unified": "^11.0.5",
    "vite-tsconfig-paths": "^5.1.4",
    "vitest": "^3.2.3"
  },
  "dependencies": {
    "@m2d/core": "^1.4.1",
    "mermaid": "^11.6.0"
  },
  "peerDependencies": {
    "docx": "^9.3.0"
  },
  "funding": [
    {
      "type": "github",
      "url": "https://github.com/sponsors/md2docx"
    },
    {
      "type": "github",
      "url": "https://github.com/sponsors/mayank1513"
    }
  ],
  "keywords": [
    "mermaid",
    "mindmap",
    "markdown",
    "mdast",
    "mdast-to-docx",
    "markdown-to-docx",
    "md2docx",
    "mdast2docx",
    "docx",
    "docx-generator",
    "document-generation",
    "document-conversion",
    "svg-diagram",
    "code-block",
    "diagram-plugin",
    "remark-plugin",
    "unified-plugin",
    "typescript",
    "plugin",
    "open-source",
    "m2d",
    "mayank1513"
  ]
}
