mdx-mermaid
Version:
Display mermaid diagrams in mdx files.
111 lines (110 loc) • 3.62 kB
JSON
{
"name": "mdx-mermaid",
"version": "2.0.3",
"description": "Display mermaid diagrams in mdx files.",
"types": "index.d.ts",
"main": "lib/mdxast-mermaid.js",
"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.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.25.9",
"@mdx-js/mdx": "^2.3.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^24.1.0",
"@rollup/plugin-typescript": "^11.1.6",
"@testing-library/react": "^11.2.7",
"@types/jest": "^28.1.8",
"@types/react": "^17.0.83",
"@types/unist": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.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": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"mermaid": "^9.4.3",
"puppeteer": "^22.15.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rimraf": "^3.0.2",
"rollup": "^3.29.5",
"ts-jest": "^28.0.8",
"typescript": "^4.9.5",
"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)"
]
}