{
  "name": "mdx-mermaid",
  "version": "2.0.4",
  "description": "Display mermaid diagrams in mdx files.",
  "types": "index.d.ts",
  "main": "lib/mdxast-mermaid.cjs",
  "exports": {
    ".": {
      "require": "./lib/mdxast-mermaid.cjs",
      "import": "./lib/mdxast-mermaid.mjs",
      "types": "./index.d.ts"
    },
    "./Mermaid": {
      "require": "./lib/Mermaid.cjs",
      "import": "./lib/Mermaid.mjs",
      "types": "./lib/Mermaid.d.ts"
    },
    "./lib/Mermaid": {
      "require": "./lib/Mermaid.cjs",
      "import": "./lib/Mermaid.mjs",
      "types": "./lib/Mermaid.d.ts"
    }
  },
  "author": "Sam Wall (oss@samuelwall.co.uk)",
  "license": "MIT",
  "type": "module",
  "scripts": {
    "build": "rimraf lib && tsc --declarationDir lib --declaration true --outDir temp && rimraf temp && rollup -c",
    "test": "node --experimental-vm-modules ../node_modules/jest/bin/jest.js --coverage --config=./jest.config.js",
    "dist": "rimraf dist && mkdir dist && mkdir dist/lib && cp -r lib dist/ && cp package.json dist && cp ../readme.md dist && cp ../license dist && cp index.d.ts dist"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/sjwall/mdx-mermaid.git"
  },
  "homepage": "https://sjwall.github.io/mdx-mermaid",
  "bugs": "https://github.com/sjwall/mdx-mermaid/issues",
  "keywords": [
    "mdx",
    "markdown",
    "mermaid",
    "docusaurus",
    "mdxast",
    "react",
    "jsx"
  ],
  "peerDependencies": {
    "mermaid": ">=8.11.0",
    "react": "^16.8.4 || ^17.0.0 || ^18.0.0 || ^19.0.0",
    "unist-util-visit": "^4.1.0"
  },
  "optionalDependencies": {
    "estree-util-to-js": "^1.2.0",
    "estree-util-visit": "^1.2.1",
    "hast-util-from-html": "^1.0.2",
    "hast-util-to-estree": "^2.3.3",
    "mdast-util-from-markdown": "^1.3.1",
    "mdast-util-mdx": "^2.0.1",
    "micromark-extension-mdxjs": "^1.0.1",
    "puppeteer": "^22.15.0"
  },
  "devDependencies": {
    "@babel/core": "^7.29.7",
    "@babel/preset-env": "^7.29.7",
    "@babel/preset-react": "^7.29.7",
    "@mdx-js/mdx": "^2.3.0",
    "@rollup/plugin-babel": "^7.1.0",
    "@rollup/plugin-commonjs": "^29.0.3",
    "@rollup/plugin-typescript": "^12.3.0",
    "@testing-library/react": "^16.3.2",
    "@types/jest": "^30.0.0",
    "@types/react": "^17.0.83",
    "@types/unist": "^2.0.11",
    "@typescript-eslint/eslint-plugin": "^8.61.0",
    "@typescript-eslint/parser": "^8.61.0",
    "eslint": "^8.57.1",
    "eslint-config-standard": "^17.1.0",
    "eslint-plugin-import": "^2.31.0",
    "eslint-plugin-jsdoc": "^39.9.1",
    "eslint-plugin-n": "^15.7.0",
    "eslint-plugin-node": "^11.1.0",
    "eslint-plugin-promise": "^6.6.0",
    "eslint-plugin-react": "^7.37.2",
    "hast-util-from-html": "^1.0.2",
    "jest": "^30.4.2",
    "jest-environment-jsdom": "^30.4.1",
    "mermaid": "^9.4.3",
    "puppeteer": "^22.15.0",
    "react": "^17.0.2",
    "react-dom": "^17.0.2",
    "rimraf": "^6.1.3",
    "rollup": "^3.30.0",
    "ts-jest": "^29.4.11",
    "typescript": "^6.0.3",
    "unist-util-visit": "^4.1.2"
  },
  "contributors": [
    "Samuel Wall (https://github.com/sjwall)",
    "Craig Andrews (https://github.com/candrews)",
    "Dávid Zsámboki (https://github.com/ddyfedd)",
    "David Ivanov (https://github.com/DavidIvanov)",
    "David Prothero (https://github.com/dprothero)",
    "G (https://github.com/genert)",
    "johackim (https://github.com/johackim)",
    "mzvast (https://github.com/mzvast)",
    "Paul Sachs (https://github.com/paul-sachs)",
    "Ramy (https://github.com/ramy.loveridge@appshack.se)",
    "Taj Pereira (https://github.com/taj-p)"
  ]
}
