2017-04-10 16:36:54 +08:00
|
|
|
{
|
2022-09-21 11:03:33 +02:00
|
|
|
"name": "mermaid-monorepo",
|
|
|
|
"private": true,
|
2023-06-30 13:10:22 +02:00
|
|
|
"version": "10.2.4",
|
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-20 21:14:56 +05:30
|
|
|
"type": "module",
|
2024-06-21 16:31:29 +05:30
|
|
|
"packageManager": "pnpm@9.4.0+sha512.f549b8a52c9d2b8536762f99c0722205efc5af913e77835dbccc3b0b0b2ca9e7dc8022b78062c17291c48e88749c70ce88eb5a74f1fa8c4bf5e18bb46c8bd83a",
|
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": {
|
2023-08-20 17:00:45 +03:00
|
|
|
"build": "pnpm build:esbuild && pnpm build:types",
|
2023-12-06 20:50:04 +05:30
|
|
|
"build:esbuild": "pnpm run -r clean && tsx .esbuild/build.ts",
|
2023-08-13 18:33:41 +05:30
|
|
|
"build:mermaid": "pnpm build:esbuild --mermaid",
|
|
|
|
"build:viz": "pnpm build:esbuild --visualize",
|
2024-05-13 08:47:23 +05:30
|
|
|
"build:types": "pnpm --filter mermaid types:build-config && tsx .build/types.ts",
|
2023-09-09 11:15:55 +05:30
|
|
|
"build:types:watch": "tsc -p ./packages/mermaid/tsconfig.json --emitDeclarationOnly --watch",
|
2023-12-06 20:50:04 +05:30
|
|
|
"dev": "tsx .esbuild/server.ts",
|
|
|
|
"dev:vite": "tsx .vite/server.ts",
|
2023-08-13 18:33:41 +05:30
|
|
|
"dev:coverage": "pnpm coverage:cypress:clean && VITE_COVERAGE=true pnpm dev:vite",
|
2022-09-23 16:55:30 +02:00
|
|
|
"release": "pnpm build",
|
2024-06-30 01:45:14 +05:30
|
|
|
"lint": "eslint --quiet --stats --cache --cache-strategy content . && pnpm lint:jison && prettier --cache --check .",
|
2024-06-30 01:30:05 +05:30
|
|
|
"lint:fix": "eslint --cache --cache-strategy content --fix . && prettier --write . && tsx scripts/fixCSpell.ts",
|
2023-12-04 11:25:04 +00:00
|
|
|
"lint:jison": "tsx ./scripts/jison/lint.mts",
|
|
|
|
"contributors": "tsx scripts/updateContributors.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",
|
2023-08-13 18:33:41 +05:30
|
|
|
"e2e:coverage": "start-server-and-test dev:coverage http://localhost:9000/ cypress",
|
2023-06-28 03:11:01 +03:00
|
|
|
"coverage:cypress:clean": "rimraf .nyc_output coverage/cypress",
|
2023-12-04 11:25:04 +00:00
|
|
|
"coverage:merge": "tsx scripts/coverage.ts",
|
2023-06-17 15:14:54 +03:00
|
|
|
"coverage": "pnpm test:coverage --run && pnpm e2e:coverage && pnpm coverage:merge",
|
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",
|
2023-02-18 22:35:14 +05:30
|
|
|
"prepare": "husky install && pnpm build",
|
2023-06-17 17:11:05 +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-11-03 00:02:29 +01:00
|
|
|
"devDependencies": {
|
2024-03-23 11:33:13 +05:30
|
|
|
"@applitools/eyes-cypress": "^3.42.3",
|
2024-06-17 11:31:43 +02:00
|
|
|
"@argos-ci/cypress": "^2.0.5",
|
2024-06-12 22:19:14 +05:30
|
|
|
"@cspell/eslint-plugin": "^8.8.4",
|
2024-03-23 11:33:13 +05:30
|
|
|
"@cypress/code-coverage": "^3.12.30",
|
2024-06-12 22:19:14 +05:30
|
|
|
"@eslint/js": "^9.4.0",
|
2024-03-23 11:33:13 +05:30
|
|
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
|
|
"@types/cors": "^2.8.17",
|
|
|
|
"@types/express": "^4.17.21",
|
|
|
|
"@types/js-yaml": "^4.0.9",
|
|
|
|
"@types/jsdom": "^21.1.6",
|
|
|
|
"@types/lodash": "^4.17.0",
|
|
|
|
"@types/mdast": "^4.0.3",
|
|
|
|
"@types/node": "^20.11.30",
|
|
|
|
"@types/rollup-plugin-visualizer": "^4.2.4",
|
|
|
|
"@vitest/coverage-v8": "^1.4.0",
|
|
|
|
"@vitest/spy": "^1.4.0",
|
|
|
|
"@vitest/ui": "^1.4.0",
|
2022-12-22 01:19:02 +00:00
|
|
|
"ajv": "^8.12.0",
|
2024-03-23 11:33:13 +05:30
|
|
|
"chokidar": "^3.6.0",
|
|
|
|
"concurrently": "^8.2.2",
|
2023-02-19 14:03:11 +05:30
|
|
|
"cors": "^2.8.5",
|
2024-03-23 12:20:25 +05:30
|
|
|
"cross-env": "^7.0.3",
|
2024-03-23 11:33:13 +05:30
|
|
|
"cspell": "^8.6.0",
|
|
|
|
"cypress": "^13.7.1",
|
2022-10-22 18:38:15 +01:00
|
|
|
"cypress-image-snapshot": "^4.0.1",
|
2024-06-30 13:47:33 +05:30
|
|
|
"esbuild": "^0.21.5",
|
2024-06-12 22:19:14 +05:30
|
|
|
"eslint": "^9.4.0",
|
2024-03-23 11:33:13 +05:30
|
|
|
"eslint-config-prettier": "^9.1.0",
|
2024-06-12 22:19:14 +05:30
|
|
|
"eslint-plugin-cypress": "^3.3.0",
|
|
|
|
"eslint-plugin-html": "^8.1.1",
|
|
|
|
"eslint-plugin-jest": "^28.6.0",
|
|
|
|
"eslint-plugin-jsdoc": "^48.2.9",
|
|
|
|
"eslint-plugin-json": "^4.0.0",
|
|
|
|
"eslint-plugin-lodash": "^8.0.0",
|
|
|
|
"eslint-plugin-markdown": "^5.0.0",
|
2022-10-22 18:38:15 +01:00
|
|
|
"eslint-plugin-no-only-tests": "^3.1.0",
|
2024-06-12 22:19:14 +05:30
|
|
|
"eslint-plugin-tsdoc": "^0.3.0",
|
2024-07-01 10:01:33 +00:00
|
|
|
"eslint-plugin-unicorn": "^54.0.0",
|
2024-03-23 11:33:13 +05:30
|
|
|
"express": "^4.19.1",
|
2024-06-12 22:19:14 +05:30
|
|
|
"globals": "^15.4.0",
|
2024-03-23 11:33:13 +05:30
|
|
|
"globby": "^14.0.1",
|
|
|
|
"husky": "^9.0.11",
|
|
|
|
"jest": "^29.7.0",
|
2022-10-22 18:38:15 +01:00
|
|
|
"jison": "^0.4.18",
|
2022-11-16 19:36:51 -08:00
|
|
|
"js-yaml": "^4.1.0",
|
2024-03-23 11:33:13 +05:30
|
|
|
"jsdom": "^24.0.0",
|
2024-05-08 06:04:26 +00:00
|
|
|
"langium-cli": "3.0.3",
|
2024-03-23 11:33:13 +05:30
|
|
|
"lint-staged": "^15.2.2",
|
2024-01-24 21:02:12 +05:30
|
|
|
"markdown-table": "^3.0.3",
|
2023-06-17 01:24:15 +05:30
|
|
|
"nyc": "^15.1.0",
|
2022-10-22 18:38:15 +01:00
|
|
|
"path-browserify": "^1.0.1",
|
2024-03-23 11:33:13 +05:30
|
|
|
"pnpm": "^8.15.5",
|
|
|
|
"prettier": "^3.2.5",
|
|
|
|
"prettier-plugin-jsdoc": "^1.3.0",
|
|
|
|
"rimraf": "^5.0.5",
|
|
|
|
"rollup-plugin-visualizer": "^5.12.0",
|
|
|
|
"start-server-and-test": "^2.0.3",
|
|
|
|
"tsx": "^4.7.1",
|
2024-06-28 11:59:55 +05:30
|
|
|
"typescript": "~5.4.5",
|
2024-06-28 22:56:03 +09:00
|
|
|
"typescript-eslint": "^8.0.0-alpha.34",
|
2024-03-23 11:33:13 +05:30
|
|
|
"vite": "^5.2.3",
|
|
|
|
"vite-plugin-istanbul": "^6.0.0",
|
|
|
|
"vitest": "^1.4.0"
|
2022-06-23 09:15:17 +03:00
|
|
|
},
|
2023-06-16 23:54:02 +05:30
|
|
|
"nyc": {
|
2023-06-28 03:13:33 +03:00
|
|
|
"report-dir": "coverage/cypress"
|
2022-10-10 20:07:59 +08:00
|
|
|
}
|
2022-11-23 16:07:58 +05:30
|
|
|
}
|