2017-04-10 16:36:54 +08:00
|
|
|
{
|
2014-11-03 00:02:29 +01:00
|
|
|
"name": "mermaid",
|
2022-08-18 20:07:15 +02:00
|
|
|
"version": "9.1.6",
|
2017-04-19 18:37:55 +08:00
|
|
|
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
2022-09-01 13:38:02 +05:30
|
|
|
"main": "dist/mermaid.min.js",
|
|
|
|
"module": "dist/mermaid.esm.min.mjs",
|
2022-08-21 22:27:13 +05:30
|
|
|
"types": "dist/mermaid.d.ts",
|
2021-10-01 19:19:32 +05:30
|
|
|
"exports": {
|
|
|
|
".": {
|
2022-08-21 15:06:50 +05:30
|
|
|
"require": "./dist/mermaid.min.js",
|
2022-08-21 22:27:13 +05:30
|
|
|
"import": "./dist/mermaid.esm.min.mjs",
|
|
|
|
"types": "./dist/mermaid.d.ts"
|
2021-10-01 19:19:32 +05:30
|
|
|
},
|
|
|
|
"./*": "./*"
|
|
|
|
},
|
2015-03-01 16:48:16 +01:00
|
|
|
"keywords": [
|
|
|
|
"diagram",
|
|
|
|
"markdown",
|
|
|
|
"flowchart",
|
|
|
|
"sequence diagram",
|
2017-04-19 18:37:55 +08:00
|
|
|
"gantt",
|
|
|
|
"class diagram",
|
|
|
|
"git graph"
|
2015-03-01 16:48:16 +01:00
|
|
|
],
|
2014-11-03 00:02:29 +01:00
|
|
|
"scripts": {
|
2022-09-02 00:34:03 +05:30
|
|
|
"clean": "rimraf dist",
|
|
|
|
"build:code": "node .esbuild/esbuild.cjs",
|
|
|
|
"build:types": "tsc -p ./tsconfig.json --emitDeclarationOnly",
|
2022-09-02 00:36:01 +05:30
|
|
|
"build:webpack": "webpack --mode production --progress --color",
|
2022-09-02 00:46:02 +05:30
|
|
|
"build:watch": "yarn build:code --watch",
|
2022-09-02 00:34:03 +05:30
|
|
|
"build": "yarn clean; concurrently \"yarn build:code\" \"yarn build:types\"",
|
2022-09-03 10:06:21 +05:30
|
|
|
"docs:build": "ts-node-esm src/docs.mts",
|
|
|
|
"docs:verify": "ts-node-esm src/docs.mts --verify",
|
2022-09-07 11:24:40 +05:30
|
|
|
"postbuild": "documentation build src/mermaidAPI.ts src/config.ts src/defaultConfig.ts --shallow -f md --markdown-toc false > src/docs/Setup.md; prettier --write src/docs/Setup.md; yarn docs:build",
|
2020-06-01 14:44:53 +02:00
|
|
|
"release": "yarn build",
|
2022-09-03 13:05:47 +05:30
|
|
|
"lint": "eslint --cache --ignore-path .gitignore .; prettier --check .",
|
2022-09-03 13:41:25 +05:30
|
|
|
"lint:fix": "eslint --fix --ignore-path .gitignore .; prettier --write .",
|
2019-09-11 18:53:05 +02:00
|
|
|
"e2e:depr": "yarn lint && jest e2e --config e2e/jest.config.js",
|
2022-03-31 18:06:04 +02:00
|
|
|
"cypress": "cypress run",
|
2022-08-21 18:37:27 +05:30
|
|
|
"cypress:open": "cypress open",
|
2019-09-11 18:53:05 +02:00
|
|
|
"e2e": "start-server-and-test dev http://localhost:9000/ cypress",
|
2019-07-16 08:32:27 -07:00
|
|
|
"e2e-upd": "yarn lint && jest e2e -u --config e2e/jest.config.js",
|
2021-12-11 12:02:39 +01:00
|
|
|
"dev": "webpack serve --config ./.webpack/webpack.config.e2e.babel.js",
|
2022-09-07 11:24:40 +05:30
|
|
|
"ci": "vitest",
|
|
|
|
"test": "yarn lint && vitest run",
|
|
|
|
"test:watch": "vitest --watch",
|
2020-10-08 19:43:29 +02:00
|
|
|
"prepublishOnly": "yarn build && yarn test",
|
2022-09-05 20:31:44 +05:30
|
|
|
"prepare": "concurrently \"husky install\" \"yarn build\"",
|
2021-12-09 00:00:10 +05:30
|
|
|
"pre-commit": "lint-staged"
|
2014-11-03 00:02:29 +01:00
|
|
|
},
|
2014-11-22 17:53:02 +01:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2022-09-01 20:04:06 +05:30
|
|
|
"url": "https://github.com/mermaid-js/mermaid"
|
2014-11-22 17:53:02 +01:00
|
|
|
},
|
2015-03-01 16:48:16 +01:00
|
|
|
"author": "Knut Sveidqvist",
|
2014-12-09 20:42:31 +01:00
|
|
|
"license": "MIT",
|
2017-04-11 22:57:57 +08:00
|
|
|
"standard": {
|
|
|
|
"ignore": [
|
|
|
|
"**/parser/*.js",
|
2019-09-11 18:53:05 +02:00
|
|
|
"dist/**/*.js",
|
|
|
|
"cypress/**/*.js"
|
2019-05-30 19:27:27 +02:00
|
|
|
],
|
|
|
|
"globals": [
|
|
|
|
"page"
|
2017-04-11 22:57:57 +08:00
|
|
|
]
|
|
|
|
},
|
2014-12-02 19:05:09 +01:00
|
|
|
"dependencies": {
|
2022-03-03 14:51:20 +01:00
|
|
|
"@braintree/sanitize-url": "^6.0.0",
|
2021-07-15 19:12:38 +02:00
|
|
|
"d3": "^7.0.0",
|
2021-07-07 18:06:09 +02:00
|
|
|
"dagre": "^0.8.5",
|
2019-12-03 22:05:39 +01:00
|
|
|
"dagre-d3": "^0.6.4",
|
2022-07-25 07:02:36 +00:00
|
|
|
"dompurify": "2.3.10",
|
2022-08-09 18:39:20 +02:00
|
|
|
"fast-clone": "^1.5.13",
|
2021-07-07 18:06:09 +02:00
|
|
|
"graphlib": "^2.1.8",
|
2022-04-13 18:27:19 -07:00
|
|
|
"khroma": "^2.0.0",
|
2021-07-07 18:06:09 +02:00
|
|
|
"moment-mini": "^2.24.0",
|
2022-08-09 18:39:20 +02:00
|
|
|
"non-layered-tidy-tree-layout": "^2.0.2",
|
2021-07-07 18:06:09 +02:00
|
|
|
"stylis": "^4.0.10"
|
2014-12-02 19:05:09 +01:00
|
|
|
},
|
2014-11-03 00:02:29 +01:00
|
|
|
"devDependencies": {
|
2022-05-10 20:33:55 +02:00
|
|
|
"@applitools/eyes-cypress": "^3.25.7",
|
2021-07-07 17:09:08 +02:00
|
|
|
"@babel/core": "^7.14.6",
|
2021-07-29 21:48:46 +02:00
|
|
|
"@babel/eslint-parser": "^7.14.7",
|
2021-07-07 17:09:08 +02:00
|
|
|
"@babel/preset-env": "^7.14.7",
|
|
|
|
"@babel/register": "^7.14.5",
|
2022-09-01 08:22:51 +00:00
|
|
|
"@commitlint/cli": "^17.1.2",
|
2022-05-23 07:03:17 +00:00
|
|
|
"@commitlint/config-conventional": "^17.0.0",
|
2022-08-21 00:58:52 +05:30
|
|
|
"@types/d3": "^7.4.0",
|
2022-09-05 14:15:32 +00:00
|
|
|
"@types/dompurify": "^2.3.4",
|
2022-09-07 11:24:40 +05:30
|
|
|
"@types/prettier": "^2.7.0",
|
2022-08-22 11:10:30 +05:30
|
|
|
"@types/stylis": "^4.0.2",
|
2022-09-05 00:48:36 +05:30
|
|
|
"@typescript-eslint/eslint-plugin": "^5.36.1",
|
|
|
|
"@typescript-eslint/parser": "^5.36.1",
|
2022-09-07 11:24:40 +05:30
|
|
|
"@vitest/ui": "^0.23.1",
|
2021-07-07 17:09:08 +02:00
|
|
|
"babel-loader": "^8.2.2",
|
2022-01-03 13:28:59 -08:00
|
|
|
"concurrently": "^7.0.0",
|
2018-12-17 14:56:26 +08:00
|
|
|
"coveralls": "^3.0.2",
|
2017-09-12 21:33:39 +08:00
|
|
|
"css-to-string-loader": "^0.1.3",
|
2022-08-04 18:59:06 +02:00
|
|
|
"cypress": "9.7.0",
|
2022-04-13 17:36:59 -07:00
|
|
|
"cypress-image-snapshot": "^4.0.1",
|
2022-08-23 18:32:20 +02:00
|
|
|
"documentation": "13.2.0",
|
2022-08-31 23:59:32 +05:30
|
|
|
"esbuild": "^0.15.6",
|
|
|
|
"esbuild-loader": "^2.19.0",
|
2022-09-03 10:53:25 +05:30
|
|
|
"eslint": "^8.23.0",
|
|
|
|
"eslint-config-prettier": "^8.5.0",
|
2021-11-18 19:17:00 +01:00
|
|
|
"eslint-plugin-cypress": "^2.12.1",
|
2022-08-04 16:03:53 +02:00
|
|
|
"eslint-plugin-html": "^7.1.0",
|
2022-08-29 09:14:10 +02:00
|
|
|
"eslint-plugin-jest": "^27.0.1",
|
2022-09-03 10:53:25 +05:30
|
|
|
"eslint-plugin-jsdoc": "^39.3.6",
|
2022-05-11 02:52:55 +02:00
|
|
|
"eslint-plugin-json": "^3.1.0",
|
2022-07-18 07:04:37 +00:00
|
|
|
"eslint-plugin-markdown": "^3.0.0",
|
2022-09-03 02:13:21 +05:30
|
|
|
"globby": "^13.1.2",
|
2022-05-09 07:02:28 +00:00
|
|
|
"husky": "^8.0.0",
|
2018-03-10 08:42:59 +08:00
|
|
|
"identity-obj-proxy": "^3.0.0",
|
2017-09-02 23:44:00 +08:00
|
|
|
"jison": "^0.4.18",
|
2021-09-29 21:19:45 +02:00
|
|
|
"js-base64": "3.7.2",
|
2022-09-07 11:24:40 +05:30
|
|
|
"jsdom": "^20.0.0",
|
2022-06-06 22:08:44 +02:00
|
|
|
"lint-staged": "^13.0.0",
|
2019-06-04 03:14:35 +02:00
|
|
|
"moment": "^2.23.0",
|
2021-09-21 07:37:11 +00:00
|
|
|
"path-browserify": "^1.0.1",
|
2021-07-15 11:35:12 +02:00
|
|
|
"prettier": "^2.3.2",
|
2022-08-23 19:30:15 +02:00
|
|
|
"prettier-plugin-jsdoc": "^0.3.30",
|
2022-09-03 02:13:21 +05:30
|
|
|
"remark": "^14.0.2",
|
2022-09-02 00:34:03 +05:30
|
|
|
"rimraf": "^3.0.2",
|
2021-07-07 17:04:14 +02:00
|
|
|
"start-server-and-test": "^1.12.6",
|
2022-09-01 08:22:31 +00:00
|
|
|
"terser-webpack-plugin": "^5.3.6",
|
2022-08-20 23:40:52 +05:30
|
|
|
"ts-loader": "^9.3.1",
|
2022-09-03 02:13:21 +05:30
|
|
|
"ts-node": "^10.9.1",
|
2022-09-05 16:50:16 +00:00
|
|
|
"typescript": "^4.8.2",
|
2022-09-03 02:13:21 +05:30
|
|
|
"unist-util-flatmap": "^1.0.0",
|
2022-09-07 11:24:40 +05:30
|
|
|
"vitest": "^0.23.1",
|
2021-09-21 07:37:11 +00:00
|
|
|
"webpack": "^5.53.0",
|
2021-07-15 19:52:31 +02:00
|
|
|
"webpack-cli": "^4.7.2",
|
2022-09-01 08:21:49 +00:00
|
|
|
"webpack-dev-server": "^4.10.1",
|
2021-12-11 12:02:39 +01:00
|
|
|
"webpack-merge": "^5.8.0",
|
2021-07-15 19:18:00 +02:00
|
|
|
"webpack-node-externals": "^3.0.0"
|
2017-06-01 13:38:08 +08:00
|
|
|
},
|
2022-07-25 07:03:51 +00:00
|
|
|
"resolutions": {
|
2022-06-23 09:15:17 +03:00
|
|
|
"d3": "^7.0.0"
|
|
|
|
},
|
2017-06-01 13:38:08 +08:00
|
|
|
"files": [
|
2019-06-04 03:17:14 +02:00
|
|
|
"dist"
|
2018-03-10 08:42:59 +08:00
|
|
|
],
|
2020-05-13 19:14:18 +02:00
|
|
|
"sideEffects": [
|
|
|
|
"**/*.css",
|
|
|
|
"**/*.scss"
|
2021-11-29 18:32:35 +01:00
|
|
|
]
|
2022-09-03 13:05:47 +05:30
|
|
|
}
|