2017-04-10 16:36:54 +08: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 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-11-07 02:35:10 +00:00
|
|
|
"packageManager": "pnpm@7.14.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-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-26 10:44:18 +02:00
|
|
|
"build:watch": "pnpm build:vite --watch",
|
2022-10-07 16:03:32 +05:30
|
|
|
"build": "pnpm run -r clean && concurrently \"pnpm build:vite\" \"pnpm build:types\"",
|
2022-10-08 19:22:55 +02:00
|
|
|
"dev": "concurrently \"pnpm build:vite --watch\" \"ts-node-esm .vite/server.ts\"",
|
2022-09-23 16:55:30 +02:00
|
|
|
"release": "pnpm build",
|
2022-10-31 21:51:56 +05:30
|
|
|
"lint": "eslint --cache --ignore-path .gitignore . && pnpm --filter mermaid run lint:jison && prettier --check .",
|
2022-11-07 14:06:35 +05:30
|
|
|
"lint:fix": "eslint --fix --ignore-path .gitignore . && prettier --write . && ts-node-esm scripts/fixCSpell.ts",
|
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-10-06 19:14:25 +08:00
|
|
|
"test:watch": "vitest --watch",
|
|
|
|
"test:coverage": "vitest --coverage",
|
2022-09-23 16:55:30 +02:00
|
|
|
"prepublishOnly": "pnpm build && pnpm test",
|
2022-09-29 19:48:54 +01:00
|
|
|
"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-11-14 02:44:42 +00:00
|
|
|
"@braintree/sanitize-url": "6.0.2",
|
2022-11-07 02:35:10 +00:00
|
|
|
"@types/node": "18.11.9",
|
2022-10-17 00:58:59 +00:00
|
|
|
"@types/uuid": "8.3.4",
|
|
|
|
"d3": "7.6.1",
|
|
|
|
"dagre": "0.8.5",
|
|
|
|
"dagre-d3": "0.6.4",
|
2022-11-14 02:44:42 +00:00
|
|
|
"dompurify": "2.4.1",
|
2022-10-17 00:58:59 +00:00
|
|
|
"fast-clone": "1.5.13",
|
|
|
|
"graphlib": "2.1.8",
|
|
|
|
"khroma": "2.0.0",
|
|
|
|
"lodash": "4.17.21",
|
|
|
|
"moment-mini": "2.29.4",
|
|
|
|
"non-layered-tidy-tree-layout": "2.0.2",
|
|
|
|
"rollup": "2.79.1",
|
2022-10-31 02:49:00 +00:00
|
|
|
"stylis": "4.1.3",
|
2022-10-17 00:58:59 +00:00
|
|
|
"uuid": "9.0.0"
|
2014-12-02 19:05:09 +01:00
|
|
|
},
|
2014-11-03 00:02:29 +01:00
|
|
|
"devDependencies": {
|
2022-10-31 02:49:00 +00:00
|
|
|
"@applitools/eyes-cypress": "3.27.6",
|
2022-11-07 05:39:49 +00:00
|
|
|
"@commitlint/cli": "17.2.0",
|
|
|
|
"@commitlint/config-conventional": "17.2.0",
|
2022-11-14 02:44:42 +00:00
|
|
|
"@cspell/eslint-plugin": "6.14.2",
|
2022-10-17 00:58:59 +00:00
|
|
|
"@types/d3": "7.4.0",
|
|
|
|
"@types/dompurify": "2.3.4",
|
2022-11-07 02:35:10 +00:00
|
|
|
"@types/eslint": "8.4.10",
|
2022-10-17 00:58:59 +00:00
|
|
|
"@types/express": "4.17.14",
|
2022-11-14 02:44:42 +00:00
|
|
|
"@types/jsdom": "20.0.1",
|
2022-11-07 02:35:10 +00:00
|
|
|
"@types/lodash": "4.14.188",
|
2022-10-17 00:58:59 +00:00
|
|
|
"@types/mdast": "3.0.10",
|
|
|
|
"@types/prettier": "2.7.1",
|
|
|
|
"@types/stylis": "4.0.2",
|
2022-11-14 02:44:42 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "5.42.1",
|
|
|
|
"@typescript-eslint/parser": "5.42.1",
|
2022-11-07 02:35:10 +00:00
|
|
|
"@vitest/coverage-c8": "0.24.5",
|
|
|
|
"@vitest/ui": "0.24.5",
|
2022-10-31 10:07:45 +00:00
|
|
|
"concurrently": "7.5.0",
|
2022-10-17 00:58:59 +00:00
|
|
|
"coveralls": "3.1.1",
|
2022-10-31 10:07:45 +00:00
|
|
|
"cypress": "10.11.0",
|
2022-10-17 00:58:59 +00:00
|
|
|
"cypress-image-snapshot": "4.0.1",
|
2022-11-07 02:35:10 +00:00
|
|
|
"esbuild": "0.15.13",
|
2022-11-07 05:39:49 +00:00
|
|
|
"eslint": "8.27.0",
|
2022-10-17 00:58:59 +00:00
|
|
|
"eslint-config-prettier": "8.5.0",
|
|
|
|
"eslint-plugin-cypress": "2.12.1",
|
|
|
|
"eslint-plugin-html": "7.1.0",
|
2022-11-14 02:44:42 +00:00
|
|
|
"eslint-plugin-jest": "27.1.5",
|
2022-11-07 05:39:49 +00:00
|
|
|
"eslint-plugin-jsdoc": "39.6.2",
|
2022-10-17 00:58:59 +00:00
|
|
|
"eslint-plugin-json": "3.1.0",
|
|
|
|
"eslint-plugin-markdown": "3.0.0",
|
2022-10-24 01:14:45 +00:00
|
|
|
"eslint-plugin-no-only-tests": "3.1.0",
|
|
|
|
"eslint-plugin-tsdoc": "0.2.17",
|
2022-10-17 00:58:59 +00:00
|
|
|
"express": "4.18.2",
|
|
|
|
"globby": "13.1.2",
|
2022-11-14 02:44:42 +00:00
|
|
|
"husky": "8.0.2",
|
2022-10-17 00:58:59 +00:00
|
|
|
"identity-obj-proxy": "3.0.0",
|
2022-10-31 02:49:00 +00:00
|
|
|
"jest": "29.2.2",
|
2022-10-17 00:58:59 +00:00
|
|
|
"jison": "0.4.18",
|
2022-10-31 02:49:00 +00:00
|
|
|
"jsdom": "20.0.2",
|
2022-10-17 00:58:59 +00:00
|
|
|
"lint-staged": "13.0.3",
|
|
|
|
"markdown-it": "13.0.1",
|
|
|
|
"path-browserify": "1.0.1",
|
2022-11-07 02:35:10 +00:00
|
|
|
"pnpm": "7.14.2",
|
2022-10-17 00:58:59 +00:00
|
|
|
"prettier": "2.7.1",
|
|
|
|
"prettier-plugin-jsdoc": "0.4.2",
|
|
|
|
"remark": "14.0.2",
|
|
|
|
"rimraf": "3.0.2",
|
|
|
|
"start-server-and-test": "1.14.0",
|
|
|
|
"ts-node": "10.9.1",
|
|
|
|
"typescript": "4.8.4",
|
|
|
|
"unist-util-flatmap": "1.0.0",
|
2022-11-14 02:44:42 +00:00
|
|
|
"vite": "3.2.3",
|
|
|
|
"vitepress": "1.0.0-alpha.28",
|
2022-10-17 00:58:59 +00:00
|
|
|
"vitepress-plugin-mermaid": "2.0.8",
|
2022-11-07 02:35:10 +00:00
|
|
|
"vitepress-plugin-search": "1.0.4-alpha.15",
|
|
|
|
"vitest": "0.24.5"
|
2017-06-01 13:38:08 +08:00
|
|
|
},
|
2022-07-25 07:03:51 +00:00
|
|
|
"resolutions": {
|
2022-10-17 00:58:59 +00:00
|
|
|
"d3": "7.6.1"
|
2022-06-23 09:15:17 +03:00
|
|
|
},
|
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"
|
2022-10-10 20:07:59 +08:00
|
|
|
],
|
|
|
|
"volta": {
|
2022-11-07 02:35:10 +00:00
|
|
|
"node": "18.12.1"
|
2022-10-10 20:07:59 +08:00
|
|
|
}
|
2022-09-03 13:05:47 +05:30
|
|
|
}
|