1 | {
|
2 | "name": "mermaid",
|
3 | "version": "10.9.1",
|
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 | "repository": {
|
26 | "type": "git",
|
27 | "url": "https://github.com/mermaid-js/mermaid"
|
28 | },
|
29 | "author": "Knut Sveidqvist",
|
30 | "license": "MIT",
|
31 | "standard": {
|
32 | "ignore": [
|
33 | "**/parser/*.js",
|
34 | "dist/**/*.js",
|
35 | "cypress/**/*.js"
|
36 | ],
|
37 | "globals": [
|
38 | "page"
|
39 | ]
|
40 | },
|
41 | "dependencies": {
|
42 | "@braintree/sanitize-url": "^6.0.1",
|
43 | "@types/d3-scale": "^4.0.3",
|
44 | "@types/d3-scale-chromatic": "^3.0.0",
|
45 | "cytoscape": "^3.28.1",
|
46 | "cytoscape-cose-bilkent": "^4.1.0",
|
47 | "d3": "^7.4.0",
|
48 | "d3-sankey": "^0.12.3",
|
49 | "dagre-d3-es": "7.0.10",
|
50 | "dayjs": "^1.11.7",
|
51 | "dompurify": "^3.0.5",
|
52 | "elkjs": "^0.9.0",
|
53 | "katex": "^0.16.9",
|
54 | "khroma": "^2.0.0",
|
55 | "lodash-es": "^4.17.21",
|
56 | "mdast-util-from-markdown": "^1.3.0",
|
57 | "non-layered-tidy-tree-layout": "^2.0.2",
|
58 | "stylis": "^4.1.3",
|
59 | "ts-dedent": "^2.2.0",
|
60 | "uuid": "^9.0.0",
|
61 | "web-worker": "^1.2.0"
|
62 | },
|
63 | "devDependencies": {
|
64 | "@adobe/jsonschema2md": "^7.1.4",
|
65 | "@types/cytoscape": "^3.19.9",
|
66 | "@types/d3": "^7.4.0",
|
67 | "@types/d3-sankey": "^0.12.1",
|
68 | "@types/d3-scale": "^4.0.3",
|
69 | "@types/d3-selection": "^3.0.5",
|
70 | "@types/d3-shape": "^3.1.1",
|
71 | "@types/dompurify": "^3.0.2",
|
72 | "@types/jsdom": "^21.1.1",
|
73 | "@types/katex": "^0.16.7",
|
74 | "@types/lodash-es": "^4.17.7",
|
75 | "@types/micromatch": "^4.0.2",
|
76 | "@types/prettier": "^2.7.2",
|
77 | "@types/stylis": "^4.0.2",
|
78 | "@types/uuid": "^9.0.1",
|
79 | "@typescript-eslint/eslint-plugin": "^5.59.0",
|
80 | "@typescript-eslint/parser": "^5.59.0",
|
81 | "ajv": "^8.11.2",
|
82 | "chokidar": "^3.5.3",
|
83 | "concurrently": "^8.0.1",
|
84 | "cpy-cli": "^4.2.0",
|
85 | "csstree-validator": "^3.0.0",
|
86 | "globby": "^13.1.4",
|
87 | "jison": "^0.4.18",
|
88 | "js-base64": "^3.7.5",
|
89 | "jsdom": "^22.0.0",
|
90 | "json-schema-to-typescript": "^11.0.3",
|
91 | "micromatch": "^4.0.5",
|
92 | "path-browserify": "^1.0.1",
|
93 | "prettier": "^2.8.8",
|
94 | "remark": "^14.0.2",
|
95 | "remark-frontmatter": "^4.0.1",
|
96 | "remark-gfm": "^3.0.1",
|
97 | "rimraf": "^5.0.0",
|
98 | "start-server-and-test": "^2.0.0",
|
99 | "type-fest": "^4.1.0",
|
100 | "typedoc": "^0.25.0",
|
101 | "typedoc-plugin-markdown": "^3.15.2",
|
102 | "typescript": "^5.0.4",
|
103 | "unist-util-flatmap": "^1.0.0",
|
104 | "unist-util-visit": "^4.1.2",
|
105 | "vitepress": "^1.0.0-rc.40",
|
106 | "vitepress-plugin-search": "^1.0.4-alpha.22"
|
107 | },
|
108 | "files": [
|
109 | "dist/",
|
110 | "README.md"
|
111 | ],
|
112 | "sideEffects": false,
|
113 | "publishConfig": {
|
114 | "access": "public"
|
115 | },
|
116 | "scripts": {
|
117 | "clean": "rimraf dist",
|
118 | "dev": "pnpm -w dev",
|
119 | "docs:code": "typedoc src/defaultConfig.ts src/config.ts src/mermaidAPI.ts && prettier --write ./src/docs/config/setup",
|
120 | "docs:build": "rimraf ../../docs && pnpm docs:spellcheck && pnpm docs:code && tsx scripts/docs.cli.mts",
|
121 | "docs:verify": "pnpm docs:spellcheck && pnpm docs:code && tsx scripts/docs.cli.mts --verify",
|
122 | "docs:pre:vitepress": "pnpm --filter ./src/docs prefetch && rimraf src/vitepress && pnpm docs:code && tsx scripts/docs.cli.mts --vitepress && pnpm --filter ./src/vitepress install --no-frozen-lockfile --ignore-scripts",
|
123 | "docs:build:vitepress": "pnpm docs:pre:vitepress && (cd src/vitepress && pnpm run build) && cpy --flat src/docs/landing/ ./src/vitepress/.vitepress/dist/landing",
|
124 | "docs:dev": "pnpm docs:pre:vitepress && concurrently \"pnpm --filter ./src/vitepress dev\" \"tsx scripts/docs.cli.mts --watch --vitepress\"",
|
125 | "docs:dev:docker": "pnpm docs:pre:vitepress && concurrently \"pnpm --filter ./src/vitepress dev:docker\" \"tsx scripts/docs.cli.mts --watch --vitepress\"",
|
126 | "docs:serve": "pnpm docs:build:vitepress && vitepress serve src/vitepress",
|
127 | "docs:spellcheck": "cspell \"src/docs/**/*.md\"",
|
128 | "docs:release-version": "tsx scripts/update-release-version.mts",
|
129 | "docs:verify-version": "tsx scripts/update-release-version.mts --verify",
|
130 | "types:build-config": "tsx scripts/create-types-from-json-schema.mts",
|
131 | "types:verify-config": "tsx scripts/create-types-from-json-schema.mts --verify",
|
132 | "checkCircle": "npx madge --circular ./src",
|
133 | "release": "pnpm build"
|
134 | }
|
135 | } |
\ | No newline at end of file |