{
  "name": "react-super-mermaid",
  "version": "0.28.0",
  "description": "Drop-in React Mermaid viewer: beautified colorful + Excalidraw sketch themes, pan/zoom, in-diagram search, inline troubleshooting check hints, node hover tips, and SVG/PNG export. Loads mermaid externally (injected, peer, or CDN). Zero-config styling, TypeScript.",
  "type": "module",
  "license": "MIT",
  "author": "markku636",
  "homepage": "https://github.com/markku636/react-super-mermaid#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/markku636/react-super-mermaid.git"
  },
  "bugs": {
    "url": "https://github.com/markku636/react-super-mermaid/issues"
  },
  "keywords": [
    "react",
    "mermaid",
    "diagram",
    "flowchart",
    "sequence-diagram",
    "svg",
    "pan-zoom",
    "excalidraw",
    "sketch",
    "png-export",
    "troubleshooting",
    "runbook",
    "orid",
    "focused-conversation",
    "retrospective",
    "typescript"
  ],
  "sideEffects": false,
  "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"
    },
    "./editor": {
      "types": "./dist/editor.d.ts",
      "import": "./dist/editor.js",
      "require": "./dist/editor.cjs"
    },
    "./orid": {
      "types": "./dist/orid.d.ts",
      "import": "./dist/orid.js",
      "require": "./dist/orid.cjs"
    },
    "./package.json": "./package.json"
  },
  "files": [
    "dist",
    "llms.txt",
    "README.md",
    "LICENSE"
  ],
  "engines": {
    "node": ">=18"
  },
  "scripts": {
    "build": "tsup",
    "dev": "tsup --watch",
    "typecheck": "tsc --noEmit",
    "prepublishOnly": "npm run typecheck && npm run build"
  },
  "peerDependencies": {
    "mermaid": ">=10 <12",
    "react": ">=17",
    "react-dom": ">=17",
    "svg-pan-zoom": "^3.6.0"
  },
  "peerDependenciesMeta": {
    "mermaid": {
      "optional": true
    },
    "svg-pan-zoom": {
      "optional": true
    }
  },
  "devDependencies": {
    "@types/react": "^18.3.0",
    "@types/react-dom": "^18.3.0",
    "@types/svg-pan-zoom": "^3.3.4",
    "mermaid": "^11.15.0",
    "react": "^18.3.1",
    "react-dom": "^18.3.1",
    "roughjs": "^4.6.6",
    "svg-pan-zoom": "^3.6.2",
    "tsup": "^8.3.5",
    "typescript": "^5.6.3"
  },
  "publishConfig": {
    "access": "public"
  }
}
