@theguild/remark-mermaid
Version:
Remark plugin for replacing ```mermaid code blocks with react `<Mermaid />` component
49 lines • 1.16 kB
JSON
{
"name": "@theguild/remark-mermaid",
"version": "0.0.7-alpha-20240720232446-f3e7da05023ea4b09b9d6ce77de33689cf8051d6",
"type": "module",
"description": "Remark plugin for replacing ```mermaid code blocks with react `<Mermaid />` component",
"repository": {
"url": "https://github.com/the-guild-org/docs",
"directory": "packages/remark-mermaid"
},
"author": "Dimitri POSTOLOV <dmytropostolov@gmail.com> (https://github.com/B2o5T)",
"license": "MIT",
"main": "./dist/index.js",
"exports": {
"./package.json": "./package.json",
".": "./dist/index.js",
"./*": "./dist/*.js"
},
"typesVersions": {
"*": {
"mermaid": [
"./dist/mermaid.d.ts"
]
}
},
"files": [
"dist"
],
"peerDependencies": {
"react": "^18.2.0"
},
"dependencies": {
"mermaid": "^10.2.2",
"unist-util-visit": "^5.0.0"
},
"devDependencies": {
"@types/mdast": "4.0.4",
"react": "18.3.1",
"unified": "11.0.5"
},
"publishConfig": {
"access": "public"
},
"sideEffects": false,
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"types:check": "tsc --noEmit"
}
}