mermaid/package.json

159 lines
5.0 KiB
JSON
Raw Normal View History

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.",
"main": "dist/mermaid.core.mjs",
"module": "dist/mermaid.core.mjs",
"types": "dist/mermaid.d.ts",
2022-09-20 17:44:56 +02:00
"type": "module",
2022-10-06 16:58:54 +02:00
"packageManager": "pnpm@7.13.2",
2021-10-01 15:49:32 +02:00
"exports": {
".": {
2022-08-21 11:36:50 +02:00
"require": "./dist/mermaid.min.js",
"import": "./dist/mermaid.core.mjs",
"types": "./dist/mermaid.d.ts"
2021-10-01 15:49:32 +02:00
},
"./*": "./*"
},
"keywords": [
"diagram",
"markdown",
"flowchart",
"sequence diagram",
2017-04-19 12:37:55 +02:00
"gantt",
"class diagram",
"git graph"
],
"scripts": {
"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\"",
"build:watch": "pnpm build:vite --watch",
2022-10-07 12:33:32 +02:00
"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\"",
"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",
"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'",
"lint:fix": "eslint --fix --ignore-path .gitignore . && prettier --write .",
"lint:jison": "ts-node-esm --transpileOnly packages/mermaid/src/jison/lint.mts",
"cypress": "cypress run",
2022-08-21 15:07:27 +02:00
"cypress:open": "cypress open",
"e2e": "start-server-and-test dev http://localhost:9000/ cypress",
"ci": "vitest run",
2022-09-23 16:55:30 +02:00
"test": "pnpm lint && vitest run",
"test:watch": "vitest --watch",
"test:coverage": "vitest --coverage",
2022-09-23 16:55:30 +02:00
"prepublishOnly": "pnpm build && pnpm test",
"prepare": "concurrently \"husky install\" \"pnpm build\"",
2021-12-08 19:30:10 +01:00
"pre-commit": "lint-staged"
},
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
},
"author": "Knut Sveidqvist",
"license": "MIT",
2017-04-11 16:57:57 +02:00
"standard": {
"ignore": [
"**/parser/*.js",
"dist/**/*.js",
"cypress/**/*.js"
],
"globals": [
"page"
2017-04-11 16:57:57 +02:00
]
},
2014-12-02 19:05:09 +01:00
"dependencies": {
"@braintree/sanitize-url": "^6.0.0",
"@types/node": "^18.8.1",
2022-10-06 16:58:54 +02:00
"@types/uuid": "^8.3.4",
"d3": "^7.0.0",
"dagre": "^0.8.5",
2019-12-03 22:05:39 +01:00
"dagre-d3": "^0.6.4",
"dompurify": "2.4.0",
2022-08-09 18:39:20 +02:00
"fast-clone": "^1.5.13",
"graphlib": "^2.1.8",
"khroma": "^2.0.0",
2022-09-09 13:28:48 +02:00
"lodash": "^4.17.21",
"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",
"stylis": "^4.1.2",
"uuid": "^9.0.0"
2014-12-02 19:05:09 +01:00
},
"devDependencies": {
"@applitools/eyes-cypress": "^3.27.1",
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
2022-08-20 21:28:52 +02:00
"@types/d3": "^7.4.0",
"@types/dompurify": "^2.3.4",
2022-09-13 09:16:14 +02:00
"@types/eslint": "^8.4.6",
"@types/express": "^4.17.14",
"@types/jsdom": "^20.0.0",
"@types/lodash": "^4.14.186",
"@types/prettier": "^2.7.1",
2022-08-22 07:40:30 +02:00
"@types/stylis": "^4.0.2",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"@vitest/coverage-c8": "^0.23.4",
"@vitest/ui": "^0.23.4",
"concurrently": "^7.4.0",
"coveralls": "^3.1.1",
"cypress": "^10.0.0",
"cypress-image-snapshot": "^4.0.1",
"documentation": "13.2.0",
2022-10-06 16:58:54 +02:00
"esbuild": "^0.15.10",
"eslint": "^8.24.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-html": "^7.1.0",
"eslint-plugin-jest": "^27.1.0",
"eslint-plugin-jsdoc": "^39.3.6",
"eslint-plugin-json": "^3.1.0",
"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",
"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",
"jsdom": "^20.0.1",
"lint-staged": "^13.0.3",
2022-09-29 02:46:07 +02:00
"markdown-it": "^13.0.1",
"path-browserify": "^1.0.1",
2022-10-06 16:58:54 +02:00
"pnpm": "^7.13.2",
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",
"start-server-and-test": "^1.14.0",
2022-09-02 22:43:21 +02:00
"ts-node": "^10.9.1",
"typescript": "^4.8.4",
2022-09-02 22:43:21 +02:00
"unist-util-flatmap": "^1.0.0",
2022-10-06 16:58:54 +02:00
"vite": "^3.1.4",
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",
"vitest": "^0.23.4"
2017-06-01 07:38:08 +02:00
},
2022-07-25 09:03:51 +02:00
"resolutions": {
"d3": "^7.0.0"
},
2017-06-01 07:38:08 +02:00
"files": [
"dist"
2018-03-10 01:42:59 +01:00
],
"sideEffects": [
"**/*.css",
"**/*.scss"
2022-10-10 14:07:59 +02:00
],
"volta": {
"node": "18.5.0"
}
2022-09-03 09:35:47 +02:00
}