1 | {
|
2 | "name": "mermaid",
|
3 | "version": "10.2.0",
|
4 | "description": "Markdown-ish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
5 | "type": "module",
|
6 | "module": "./dist/mermaid.core.mjs",
|
7 | "types": "./dist/mermaid.d.ts",
|
8 | "exports": {
|
9 | ".": {
|
10 | "types": "./dist/mermaid.d.ts",
|
11 | "import": "./dist/mermaid.core.mjs",
|
12 | "default": "./dist/mermaid.core.mjs"
|
13 | },
|
14 | "./*": "./*"
|
15 | },
|
16 | "keywords": [
|
17 | "diagram",
|
18 | "markdown",
|
19 | "flowchart",
|
20 | "sequence diagram",
|
21 | "gantt",
|
22 | "class diagram",
|
23 | "git graph"
|
24 | ],
|
25 | "scripts": {
|
26 | "clean": "rimraf dist",
|
27 | "docs:code": "typedoc src/defaultConfig.ts src/config.ts src/mermaidAPI.ts && prettier --write ./src/docs/config/setup",
|
28 | "docs:build": "rimraf ../../docs && pnpm docs:spellcheck && pnpm docs:code && ts-node-esm src/docs.mts",
|
29 | "docs:verify": "pnpm docs:spellcheck && pnpm docs:code && ts-node-esm src/docs.mts --verify",
|
30 | "docs:pre:vitepress": "rimraf src/vitepress && pnpm docs:code && ts-node-esm src/docs.mts --vitepress",
|
31 | "docs:build:vitepress": "pnpm docs:pre:vitepress && (cd src/vitepress && pnpm --filter ./ install && pnpm run build) && cpy --flat src/docs/landing/ ./src/vitepress/.vitepress/dist/landing",
|
32 | "docs:dev": "pnpm docs:pre:vitepress && concurrently \"pnpm --filter ./ src/vitepress dev\" \"ts-node-esm src/docs.mts --watch --vitepress\"",
|
33 | "docs:serve": "pnpm docs:build:vitepress && vitepress serve src/vitepress",
|
34 | "docs:spellcheck": "cspell --config ../../cSpell.json \"src/docs/**/*.md\"",
|
35 | "release": "pnpm build",
|
36 | "prepublishOnly": "cpy '../../README.*' ./ --cwd=. && pnpm -w run build"
|
37 | },
|
38 | "repository": {
|
39 | "type": "git",
|
40 | "url": "https://github.com/mermaid-js/mermaid"
|
41 | },
|
42 | "author": "Knut Sveidqvist",
|
43 | "license": "MIT",
|
44 | "standard": {
|
45 | "ignore": [
|
46 | "**/parser/*.js",
|
47 | "dist/**/*.js",
|
48 | "cypress/**/*.js"
|
49 | ],
|
50 | "globals": [
|
51 | "page"
|
52 | ]
|
53 | },
|
54 | "dependencies": {
|
55 | "@braintree/sanitize-url": "^6.0.2",
|
56 | "cytoscape": "^3.23.0",
|
57 | "cytoscape-cose-bilkent": "^4.1.0",
|
58 | "cytoscape-fcose": "^2.1.0",
|
59 | "d3": "^7.4.0",
|
60 | "dagre-d3-es": "7.0.10",
|
61 | "dayjs": "^1.11.7",
|
62 | "dompurify": "3.0.3",
|
63 | "elkjs": "^0.8.2",
|
64 | "khroma": "^2.0.0",
|
65 | "lodash-es": "^4.17.21",
|
66 | "mdast-util-from-markdown": "^1.3.0",
|
67 | "non-layered-tidy-tree-layout": "^2.0.2",
|
68 | "stylis": "^4.1.3",
|
69 | "ts-dedent": "^2.2.0",
|
70 | "uuid": "^9.0.0",
|
71 | "web-worker": "^1.2.0"
|
72 | },
|
73 | "devDependencies": {
|
74 | "@types/cytoscape": "^3.19.9",
|
75 | "@types/d3": "^7.4.0",
|
76 | "@types/dompurify": "^3.0.2",
|
77 | "@types/jsdom": "^21.1.1",
|
78 | "@types/lodash-es": "^4.17.7",
|
79 | "@types/micromatch": "^4.0.2",
|
80 | "@types/prettier": "^2.7.2",
|
81 | "@types/stylis": "^4.0.2",
|
82 | "@types/uuid": "^9.0.1",
|
83 | "@typescript-eslint/eslint-plugin": "^5.59.0",
|
84 | "@typescript-eslint/parser": "^5.59.0",
|
85 | "chokidar": "^3.5.3",
|
86 | "concurrently": "^8.0.1",
|
87 | "coveralls": "^3.1.1",
|
88 | "cpy-cli": "^4.2.0",
|
89 | "cspell": "^6.31.1",
|
90 | "csstree-validator": "^3.0.0",
|
91 | "globby": "^13.1.4",
|
92 | "jison": "^0.4.18",
|
93 | "js-base64": "^3.7.5",
|
94 | "jsdom": "^21.1.1",
|
95 | "micromatch": "^4.0.5",
|
96 | "path-browserify": "^1.0.1",
|
97 | "prettier": "^2.8.8",
|
98 | "remark": "^14.0.2",
|
99 | "remark-frontmatter": "^4.0.1",
|
100 | "remark-gfm": "^3.0.1",
|
101 | "rimraf": "^5.0.0",
|
102 | "start-server-and-test": "^2.0.0",
|
103 | "typedoc": "^0.24.5",
|
104 | "typedoc-plugin-markdown": "^3.15.2",
|
105 | "typescript": "^5.0.4",
|
106 | "unist-util-flatmap": "^1.0.0",
|
107 | "vitepress": "^1.0.0-alpha.72",
|
108 | "vitepress-plugin-search": "^1.0.4-alpha.20"
|
109 | },
|
110 | "files": [
|
111 | "dist/",
|
112 | "README.md"
|
113 | ],
|
114 | "sideEffects": false,
|
115 | "publishConfig": {
|
116 | "access": "public"
|
117 | }
|
118 | }
|