63 lines
1.7 KiB
JSON
63 lines
1.7 KiB
JSON
{
|
|
"name": "beautiful-mermaid",
|
|
"version": "1.1.3",
|
|
"license": "MIT",
|
|
"description": "Render Mermaid diagrams as beautiful SVGs or ASCII art. Ultra-fast, fully themeable, zero DOM dependencies.",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"bun": "./src/index.ts",
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
}
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/lukilabs/beautiful-mermaid"
|
|
},
|
|
"homepage": "https://github.com/lukilabs/beautiful-mermaid",
|
|
"bugs": {
|
|
"url": "https://github.com/lukilabs/beautiful-mermaid/issues"
|
|
},
|
|
"keywords": [
|
|
"mermaid",
|
|
"diagram",
|
|
"svg",
|
|
"ascii",
|
|
"flowchart",
|
|
"sequence-diagram",
|
|
"class-diagram",
|
|
"er-diagram",
|
|
"xychart",
|
|
"state-diagram",
|
|
"visualization",
|
|
"theming"
|
|
],
|
|
"author": "Craft Docs",
|
|
"files": ["src/", "dist/", "LICENSE", "README.md"],
|
|
"scripts": {
|
|
"test": "bun test src/__tests__/",
|
|
"samples": "bun run index.ts",
|
|
"editor": "bun run editor.ts",
|
|
"dev": "bun run dev.ts",
|
|
"bench": "bun run bench.ts",
|
|
"build": "tsup",
|
|
"build:site": "bun run index.ts && bun run editor.ts && mkdir -p site && mv index.html editor.html site/ && cp -r public/* site/",
|
|
"deploy": "bun run build:site && wrangler pages deploy site --project-name craft-agents-mermaid",
|
|
"xychart-test": "bun run xychart-test.ts",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"dependencies": {
|
|
"elkjs": "^0.11.0",
|
|
"entities": "^7.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "^1.3.9",
|
|
"shiki": "^3.19.0",
|
|
"tsup": "^8.5.1",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|