2017-04-10 16:36:54 +08:00
|
|
|
{
|
2022-09-21 11:03:33 +02:00
|
|
|
"name": "mermaid-monorepo",
|
|
|
|
"private": true,
|
2022-09-10 15:53:50 +02:00
|
|
|
"version": "9.2.0-rc1",
|
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-11 21:26:41 +01:00
|
|
|
"main": "dist/mermaid.core.mjs",
|
|
|
|
"module": "dist/mermaid.core.mjs",
|
2022-08-21 22:27:13 +05:30
|
|
|
"types": "dist/mermaid.d.ts",
|
2022-09-20 21:14:56 +05:30
|
|
|
"type": "module",
|
2022-09-25 19:22:48 +01:00
|
|
|
"packageManager": "pnpm@7.12.2",
|
2021-10-01 19:19:32 +05:30
|
|
|
"exports": {
|
|
|
|
".": {
|
2022-08-21 15:06:50 +05:30
|
|
|
"require": "./dist/mermaid.min.js",
|
2022-09-11 21:26:41 +01:00
|
|
|
"import": "./dist/mermaid.core.mjs",
|
2022-08-21 22:27:13 +05:30
|
|
|
"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",
|
2022-09-23 15:42:41 +05:30
|
|
|
"build:vite": "ts-node-esm --transpileOnly --project=.vite/tsconfig.json .vite/build.ts",
|
2022-09-23 17:51:29 +05:30
|
|
|
"build:types": "concurrently \"tsc -p ./packages/mermaid/tsconfig.json --emitDeclarationOnly\" \"tsc -p ./packages/mermaid-mindmap/tsconfig.json --emitDeclarationOnly\"",
|
2022-09-23 16:55:30 +02:00
|
|
|
"build:watch": "pnpm build:code --watch",
|
|
|
|
"build": "pnpm clean; concurrently \"pnpm build:vite\" \"pnpm build:types\"",
|
|
|
|
"dev": "concurrently \"pnpm build:vite --watch\" \"ts-node-esm .vite/server\"",
|
2022-09-25 19:59:40 +01:00
|
|
|
"docs:build": "ts-node-esm --transpileOnly packages/mermaid/src/docs.mts",
|
2022-09-23 16:55:30 +02:00
|
|
|
"docs:verify": "pnpm docs:build --verify",
|
2022-09-21 12:35:25 +02:00
|
|
|
"todo-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",
|
2022-09-23 16:55:30 +02:00
|
|
|
"release": "pnpm build",
|
|
|
|
"lint": "eslint --cache --ignore-path .gitignore . && pnpm lint:jison && prettier --check .",
|
2022-09-07 20:51:46 +05:30
|
|
|
"lint:fix": "eslint --fix --ignore-path .gitignore . && prettier --write .",
|
2022-09-25 19:36:39 +01:00
|
|
|
"lint:jison": "ts-node-esm --transpileOnly packages/mermaid/src/jison/lint.mts",
|
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",
|
2022-09-16 18:38:22 +05:30
|
|
|
"ci": "vitest run",
|
2022-09-23 16:55:30 +02:00
|
|
|
"test": "pnpm lint && vitest run",
|
2022-09-07 12:47:39 +05:30
|
|
|
"test:watch": "vitest --coverage --watch",
|
2022-09-23 16:55:30 +02:00
|
|
|
"prepublishOnly": "pnpm build && pnpm test",
|
|
|
|
"todo-prepare": "concurrently \"husky install\" \"pnpm 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",
|
2022-09-26 08:47:41 +02:00
|
|
|
"@types/node": "^18.7.21",
|
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-09-15 07:42:28 +02:00
|
|
|
"dompurify": "2.4.0",
|
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-09-26 08:47:41 +02:00
|
|
|
"jest": "^29.0.3",
|
2022-04-13 18:27:19 -07:00
|
|
|
"khroma": "^2.0.0",
|
2022-09-09 16:58:48 +05:30
|
|
|
"lodash": "^4.17.21",
|
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",
|
2022-09-26 08:47:41 +02:00
|
|
|
"rollup": "^2.79.1",
|
2022-09-15 07:42:13 +02:00
|
|
|
"stylis": "^4.1.2"
|
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",
|
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-13 12:46:14 +05:30
|
|
|
"@types/eslint": "^8.4.6",
|
2022-09-13 10:52:51 +05:30
|
|
|
"@types/express": "^4.17.13",
|
2022-09-16 18:38:22 +05:30
|
|
|
"@types/jsdom": "^20.0.0",
|
2022-09-19 07:05:12 +00:00
|
|
|
"@types/lodash": "^4.14.185",
|
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-13 20:51:35 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.37.0",
|
2022-09-13 21:39:53 +01:00
|
|
|
"@typescript-eslint/parser": "^5.37.0",
|
2022-09-16 18:38:22 +05:30
|
|
|
"@vitest/coverage-c8": "^0.23.2",
|
|
|
|
"@vitest/ui": "^0.23.2",
|
2022-09-13 20:49:43 +00:00
|
|
|
"concurrently": "^7.4.0",
|
2022-09-16 18:38:22 +05:30
|
|
|
"coveralls": "^3.1.1",
|
2022-09-14 01:43:07 +01:00
|
|
|
"cypress": "^10.0.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-09-12 07:03:17 +00:00
|
|
|
"eslint": "^8.23.1",
|
2022-09-03 10:53:25 +05:30
|
|
|
"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-09-13 20:59:12 +00:00
|
|
|
"eslint-plugin-jest": "^27.0.4",
|
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-13 10:52:51 +05:30
|
|
|
"express": "^4.18.1",
|
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",
|
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",
|
2022-09-07 20:54:19 +05:30
|
|
|
"prettier": "^2.7.1",
|
|
|
|
"prettier-plugin-jsdoc": "^0.4.2",
|
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-03 02:13:21 +05:30
|
|
|
"ts-node": "^10.9.1",
|
2022-09-12 19:30:43 +02:00
|
|
|
"typescript": "^4.8.3",
|
2022-09-03 02:13:21 +05:30
|
|
|
"unist-util-flatmap": "^1.0.0",
|
2022-09-01 23:38:13 +05:30
|
|
|
"vite": "^3.0.9",
|
2022-09-21 12:15:45 +05:30
|
|
|
"vitest": "^0.23.1"
|
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
|
|
|
}
|