2017-04-10 10:36:54 +02:00
|
|
|
{
|
2022-09-21 11:03:33 +02:00
|
|
|
"name": "mermaid-monorepo",
|
|
|
|
"private": true,
|
2022-09-28 14:15:17 +02:00
|
|
|
"version": "9.2.0-rc2",
|
2017-04-19 12:37:55 +02:00
|
|
|
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
2022-09-11 22:26:41 +02:00
|
|
|
"main": "dist/mermaid.core.mjs",
|
|
|
|
"module": "dist/mermaid.core.mjs",
|
2022-08-21 18:57:13 +02:00
|
|
|
"types": "dist/mermaid.d.ts",
|
2022-09-20 17:44:56 +02:00
|
|
|
"type": "module",
|
2022-09-25 20:22:48 +02:00
|
|
|
"packageManager": "pnpm@7.12.2",
|
2021-10-01 15:49:32 +02:00
|
|
|
"exports": {
|
|
|
|
".": {
|
2022-08-21 11:36:50 +02:00
|
|
|
"require": "./dist/mermaid.min.js",
|
2022-09-11 22:26:41 +02:00
|
|
|
"import": "./dist/mermaid.core.mjs",
|
2022-08-21 18:57:13 +02:00
|
|
|
"types": "./dist/mermaid.d.ts"
|
2021-10-01 15:49:32 +02:00
|
|
|
},
|
|
|
|
"./*": "./*"
|
|
|
|
},
|
2015-03-01 16:48:16 +01:00
|
|
|
"keywords": [
|
|
|
|
"diagram",
|
|
|
|
"markdown",
|
|
|
|
"flowchart",
|
|
|
|
"sequence diagram",
|
2017-04-19 12:37:55 +02: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-01 21:04:03 +02:00
|
|
|
"clean": "rimraf dist",
|
2022-09-23 12:12:41 +02:00
|
|
|
"build:vite": "ts-node-esm --transpileOnly --project=.vite/tsconfig.json .vite/build.ts",
|
2022-09-23 14:21:29 +02:00
|
|
|
"build:types": "concurrently \"tsc -p ./packages/mermaid/tsconfig.json --emitDeclarationOnly\" \"tsc -p ./packages/mermaid-mindmap/tsconfig.json --emitDeclarationOnly\"",
|
2022-09-26 10:44:18 +02:00
|
|
|
"build:watch": "pnpm build:vite --watch",
|
2022-09-23 16:55:30 +02:00
|
|
|
"build": "pnpm clean; concurrently \"pnpm build:vite\" \"pnpm build:types\"",
|
|
|
|
"dev": "concurrently \"pnpm build:vite --watch\" \"ts-node-esm .vite/server\"",
|
2022-09-25 20:59:40 +02: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-22 00:40:49 +02:00
|
|
|
"vdocs:dev": "vitepress dev vdocs",
|
|
|
|
"vdocs:build": "vitepress build vdocs",
|
|
|
|
"vdocs:serve": "vitepress serve vdocs",
|
2022-10-03 17:11:00 +02:00
|
|
|
"postbuild": "echo 'building docs from code here soon'",
|
2022-09-07 17:21:46 +02:00
|
|
|
"lint:fix": "eslint --fix --ignore-path .gitignore . && prettier --write .",
|
2022-09-25 20:36:39 +02: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 15:07:27 +02:00
|
|
|
"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 15:08:22 +02:00
|
|
|
"ci": "vitest run",
|
2022-09-23 16:55:30 +02:00
|
|
|
"test": "pnpm lint && vitest run",
|
2022-09-07 09:17:39 +02:00
|
|
|
"test:watch": "vitest --coverage --watch",
|
2022-09-23 16:55:30 +02:00
|
|
|
"prepublishOnly": "pnpm build && pnpm test",
|
2022-09-29 20:48:54 +02:00
|
|
|
"prepare": "concurrently \"husky install\" \"pnpm build\"",
|
2021-12-08 19:30:10 +01:00
|
|
|
"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 16:34:06 +02:00
|
|
|
"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 16:57:57 +02: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 16:57:57 +02: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-25 00:40:02 +02:00
|
|
|
"@types/uuid": "^8.3.4",
|
2022-10-04 07:25:01 +02:00
|
|
|
"@types/node": "^18.8.1",
|
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-04-14 03:27:19 +02:00
|
|
|
"khroma": "^2.0.0",
|
2022-09-09 13:28:48 +02:00
|
|
|
"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-25 00:40:02 +02:00
|
|
|
"stylis": "^4.1.2",
|
|
|
|
"uuid": "^9.0.0"
|
2014-12-02 19:05:09 +01:00
|
|
|
},
|
2014-11-03 00:02:29 +01:00
|
|
|
"devDependencies": {
|
2022-10-04 08:30:45 +02:00
|
|
|
"@applitools/eyes-cypress": "^3.27.1",
|
2022-09-01 10:22:51 +02:00
|
|
|
"@commitlint/cli": "^17.1.2",
|
2022-05-23 09:03:17 +02:00
|
|
|
"@commitlint/config-conventional": "^17.0.0",
|
2022-08-20 21:28:52 +02:00
|
|
|
"@types/d3": "^7.4.0",
|
2022-09-05 16:15:32 +02:00
|
|
|
"@types/dompurify": "^2.3.4",
|
2022-09-13 09:16:14 +02:00
|
|
|
"@types/eslint": "^8.4.6",
|
2022-10-03 09:01:26 +02:00
|
|
|
"@types/express": "^4.17.14",
|
2022-09-16 15:08:22 +02:00
|
|
|
"@types/jsdom": "^20.0.0",
|
2022-10-03 09:01:30 +02:00
|
|
|
"@types/lodash": "^4.14.186",
|
2022-09-26 13:28:16 +02:00
|
|
|
"@types/prettier": "^2.7.1",
|
2022-08-22 07:40:30 +02:00
|
|
|
"@types/stylis": "^4.0.2",
|
2022-10-04 08:32:15 +02:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.39.0",
|
2022-10-04 07:24:13 +02:00
|
|
|
"@typescript-eslint/parser": "^5.39.0",
|
2022-10-04 08:35:03 +02:00
|
|
|
"@vitest/coverage-c8": "^0.23.4",
|
2022-10-03 09:00:41 +02:00
|
|
|
"@vitest/ui": "^0.23.4",
|
2022-09-13 22:49:43 +02:00
|
|
|
"concurrently": "^7.4.0",
|
2022-09-16 15:08:22 +02:00
|
|
|
"coveralls": "^3.1.1",
|
2022-09-14 02:43:07 +02:00
|
|
|
"cypress": "^10.0.0",
|
2022-04-14 02:36:59 +02:00
|
|
|
"cypress-image-snapshot": "^4.0.1",
|
2022-10-04 08:31:45 +02:00
|
|
|
"esbuild": "^0.15.10",
|
2022-08-23 18:32:20 +02:00
|
|
|
"documentation": "13.2.0",
|
2022-09-26 13:27:42 +02:00
|
|
|
"eslint": "^8.24.0",
|
2022-09-03 07:23:25 +02:00
|
|
|
"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 22:59:12 +02:00
|
|
|
"eslint-plugin-jest": "^27.0.4",
|
2022-09-03 07:23:25 +02:00
|
|
|
"eslint-plugin-jsdoc": "^39.3.6",
|
2022-05-11 02:52:55 +02:00
|
|
|
"eslint-plugin-json": "^3.1.0",
|
2022-07-18 09:04:37 +02:00
|
|
|
"eslint-plugin-markdown": "^3.0.0",
|
2022-09-13 07:22:51 +02:00
|
|
|
"express": "^4.18.1",
|
2022-09-02 22:43:21 +02:00
|
|
|
"globby": "^13.1.2",
|
2022-10-03 09:01:42 +02:00
|
|
|
"husky": "^8.0.1",
|
2018-03-10 01:42:59 +01:00
|
|
|
"identity-obj-proxy": "^3.0.0",
|
2022-09-28 14:53:16 +02:00
|
|
|
"jest": "29.x",
|
2017-09-02 17:44:00 +02:00
|
|
|
"jison": "^0.4.18",
|
2022-10-04 08:28:33 +02:00
|
|
|
"jsdom": "^20.0.1",
|
2022-10-04 08:25:29 +02:00
|
|
|
"lint-staged": "^13.0.3",
|
2022-09-29 02:46:07 +02:00
|
|
|
"markdown-it": "^13.0.1",
|
2019-06-04 03:14:35 +02:00
|
|
|
"moment": "^2.23.0",
|
2021-09-21 09:37:11 +02:00
|
|
|
"path-browserify": "^1.0.1",
|
2022-09-07 17:24:19 +02:00
|
|
|
"prettier": "^2.7.1",
|
|
|
|
"prettier-plugin-jsdoc": "^0.4.2",
|
2022-09-02 22:43:21 +02:00
|
|
|
"remark": "^14.0.2",
|
2022-09-01 21:04:03 +02:00
|
|
|
"rimraf": "^3.0.2",
|
2022-10-03 09:01:06 +02:00
|
|
|
"start-server-and-test": "^1.14.0",
|
2022-09-02 22:43:21 +02:00
|
|
|
"ts-node": "^10.9.1",
|
2022-10-04 08:35:42 +02:00
|
|
|
"typescript": "^4.8.4",
|
2022-09-02 22:43:21 +02:00
|
|
|
"unist-util-flatmap": "^1.0.0",
|
2022-10-03 17:11:00 +02:00
|
|
|
"vitepress": "^1.0.0-alpha.19",
|
2022-09-24 04:33:24 +02:00
|
|
|
"vitepress-plugin-mermaid": "^2.0.8",
|
2022-09-29 02:46:07 +02:00
|
|
|
"vitepress-plugin-search": "^1.0.4-alpha.11",
|
2022-09-01 20:08:13 +02:00
|
|
|
"vite": "^3.0.9",
|
2022-10-04 08:25:37 +02:00
|
|
|
"vitest": "^0.23.4"
|
2017-06-01 07:38:08 +02:00
|
|
|
},
|
2022-07-25 09:03:51 +02:00
|
|
|
"resolutions": {
|
2022-06-23 08:15:17 +02:00
|
|
|
"d3": "^7.0.0"
|
|
|
|
},
|
2017-06-01 07:38:08 +02:00
|
|
|
"files": [
|
2019-06-04 03:17:14 +02:00
|
|
|
"dist"
|
2018-03-10 01:42:59 +01:00
|
|
|
],
|
2020-05-13 19:14:18 +02:00
|
|
|
"sideEffects": [
|
|
|
|
"**/*.css",
|
|
|
|
"**/*.scss"
|
2021-11-29 18:32:35 +01:00
|
|
|
]
|
2022-09-03 09:35:47 +02:00
|
|
|
}
|