1 | {
|
2 | "name": "mermaid",
|
3 | "version": "8.13.3",
|
4 | "description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
5 | "main": "dist/mermaid.core.js",
|
6 | "module": "dist/mermaid.esm.min.mjs",
|
7 | "exports": {
|
8 | ".": {
|
9 | "require": "./dist/mermaid.core.js",
|
10 | "import": "./dist/mermaid.esm.min.mjs"
|
11 | },
|
12 | "./*": "./*"
|
13 | },
|
14 | "keywords": [
|
15 | "diagram",
|
16 | "markdown",
|
17 | "flowchart",
|
18 | "sequence diagram",
|
19 | "gantt",
|
20 | "class diagram",
|
21 | "git graph"
|
22 | ],
|
23 | "scripts": {
|
24 | "build:development": "webpack --progress --color",
|
25 | "build:production": "yarn build:development --mode production --config webpack.config.prod.babel.js",
|
26 | "build": "concurrently \"yarn build:development\" \"yarn build:production\"",
|
27 | "postbuild": "documentation build src/mermaidAPI.js src/config.js src/defaultConfig.js --shallow -f md --markdown-toc false > docs/Setup.md",
|
28 | "build:watch": "yarn build:development --watch",
|
29 | "release": "yarn build",
|
30 | "lint": "eslint src",
|
31 | "e2e:depr": "yarn lint && jest e2e --config e2e/jest.config.js",
|
32 | "cypress": "percy exec -- cypress run",
|
33 | "e2e": "start-server-and-test dev http://localhost:9000/ cypress",
|
34 | "e2e-upd": "yarn lint && jest e2e -u --config e2e/jest.config.js",
|
35 | "dev": "webpack serve --config webpack.config.e2e.js",
|
36 | "test": "yarn lint && jest src/.*",
|
37 | "test:watch": "jest --watch src",
|
38 | "prepublishOnly": "yarn build && yarn test",
|
39 | "prepare": "yarn build"
|
40 | },
|
41 | "repository": {
|
42 | "type": "git",
|
43 | "url": "https://github.com/knsv/mermaid"
|
44 | },
|
45 | "author": "Knut Sveidqvist",
|
46 | "license": "MIT",
|
47 | "standard": {
|
48 | "ignore": [
|
49 | "**/parser/*.js",
|
50 | "dist/**/*.js",
|
51 | "cypress/**/*.js"
|
52 | ],
|
53 | "globals": [
|
54 | "page"
|
55 | ]
|
56 | },
|
57 | "dependencies": {
|
58 | "@braintree/sanitize-url": "^3.1.0",
|
59 | "d3": "^7.0.0",
|
60 | "dagre": "^0.8.5",
|
61 | "dagre-d3": "^0.6.4",
|
62 | "dompurify": "2.3.3",
|
63 | "graphlib": "^2.1.8",
|
64 | "khroma": "^1.4.1",
|
65 | "moment-mini": "^2.24.0",
|
66 | "stylis": "^4.0.10"
|
67 | },
|
68 | "devDependencies": {
|
69 | "@babel/core": "^7.14.6",
|
70 | "@babel/eslint-parser": "^7.14.7",
|
71 | "@babel/preset-env": "^7.14.7",
|
72 | "@babel/register": "^7.14.5",
|
73 | "@percy/cli": "^1.0.0-beta.58",
|
74 | "@percy/cypress": "^3.1.0",
|
75 | "@percy/migrate": "^0.11.0",
|
76 | "babel-jest": "^27.0.6",
|
77 | "babel-loader": "^8.2.2",
|
78 | "concurrently": "^6.2.2",
|
79 | "coveralls": "^3.0.2",
|
80 | "css-to-string-loader": "^0.1.3",
|
81 | "cypress": "8.5.0",
|
82 | "documentation": "13.2.0",
|
83 | "eslint": "^7.30.0",
|
84 | "eslint-config-prettier": "^8.3.0",
|
85 | "eslint-plugin-prettier": "^4.0.0",
|
86 | "husky": "^7.0.1",
|
87 | "identity-obj-proxy": "^3.0.0",
|
88 | "jest": "^27.0.6",
|
89 | "jison": "^0.4.18",
|
90 | "js-base64": "3.7.2",
|
91 | "moment": "^2.23.0",
|
92 | "path-browserify": "^1.0.1",
|
93 | "prettier": "^2.3.2",
|
94 | "start-server-and-test": "^1.12.6",
|
95 | "terser-webpack-plugin": "^5.2.4",
|
96 | "webpack": "^5.53.0",
|
97 | "webpack-cli": "^4.7.2",
|
98 | "webpack-dev-server": "^4.3.0",
|
99 | "webpack-node-externals": "^3.0.0"
|
100 | },
|
101 | "files": [
|
102 | "dist"
|
103 | ],
|
104 | "sideEffects": [
|
105 | "**/*.css",
|
106 | "**/*.scss"
|
107 | ],
|
108 | "husky": {
|
109 | "hooks": {
|
110 | "pre-push": "yarn test"
|
111 | }
|
112 | }
|
113 | } |
\ | No newline at end of file |