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-01-10 15:44:22 +00:00
|
|
|
"packageManager": "pnpm@8.14.1",
|
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-12-04 11:25:04 +00:00
|
|
|
"build:vite": "tsx .vite/build.ts",
|
2022-11-20 14:16:22 +05:30
|
|
|
"build:mermaid": "pnpm build:vite --mermaid",
|
|
|
|
"build:viz": "pnpm build:mermaid --visualize",
|
2023-05-17 23:50:57 +10:00
|
|
|
"build:types": "tsc -p ./packages/mermaid/tsconfig.json --emitDeclarationOnly && tsc -p ./packages/mermaid-zenuml/tsconfig.json --emitDeclarationOnly && tsc -p ./packages/mermaid-example-diagram/tsconfig.json --emitDeclarationOnly",
|
2023-09-09 11:15:55 +05:30
|
|
|
"build:types:watch": "tsc -p ./packages/mermaid/tsconfig.json --emitDeclarationOnly --watch",
|
2022-09-26 10:44:18 +02:00
|
|
|
"build:watch": "pnpm build:vite --watch",
|
2023-02-16 16:10:20 +05:30
|
|
|
"build": "pnpm run -r clean && pnpm build:types && pnpm build:vite",
|
2023-12-04 11:25:04 +00:00
|
|
|
"dev": "concurrently \"pnpm build:vite --watch\" \"tsx .vite/server.ts\"",
|
2023-06-28 03:11:01 +03:00
|
|
|
"dev:coverage": "pnpm coverage:cypress:clean && VITE_COVERAGE=true pnpm dev",
|
2022-09-23 16:55:30 +02:00
|
|
|
"release": "pnpm build",
|
2023-02-05 19:25:57 +00:00
|
|
|
"lint": "eslint --cache --cache-strategy content --ignore-path .gitignore . && pnpm lint:jison && prettier --cache --check .",
|
2023-12-04 11:25:04 +00:00
|
|
|
"lint:fix": "eslint --cache --cache-strategy content --fix --ignore-path .gitignore . && prettier --write . && tsx scripts/fixCSpell.ts",
|
|
|
|
"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-06-28 03:11:01 +03:00
|
|
|
"coverage:cypress:clean": "rimraf .nyc_output coverage/cypress",
|
|
|
|
"e2e:coverage": "pnpm coverage:cypress:clean && VITE_COVERAGE=true pnpm e2e",
|
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": {
|
2023-06-17 16:51:30 +05:30
|
|
|
"@applitools/eyes-cypress": "^3.33.1",
|
2023-04-23 23:15:26 +05:30
|
|
|
"@commitlint/cli": "^17.6.1",
|
|
|
|
"@commitlint/config-conventional": "^17.6.1",
|
|
|
|
"@cspell/eslint-plugin": "^6.31.1",
|
2023-06-16 20:25:40 +05:30
|
|
|
"@cypress/code-coverage": "^3.10.7",
|
|
|
|
"@rollup/plugin-typescript": "^11.1.1",
|
2023-02-19 14:03:11 +05:30
|
|
|
"@types/cors": "^2.8.13",
|
2023-04-23 23:15:26 +05:30
|
|
|
"@types/eslint": "^8.37.0",
|
2023-02-19 14:03:11 +05:30
|
|
|
"@types/express": "^4.17.17",
|
2022-11-16 19:36:51 -08:00
|
|
|
"@types/js-yaml": "^4.0.5",
|
2023-04-23 23:15:26 +05:30
|
|
|
"@types/jsdom": "^21.1.1",
|
|
|
|
"@types/lodash": "^4.14.194",
|
|
|
|
"@types/mdast": "^3.0.11",
|
|
|
|
"@types/node": "^18.16.0",
|
|
|
|
"@types/prettier": "^2.7.2",
|
2022-11-20 12:13:00 +05:30
|
|
|
"@types/rollup-plugin-visualizer": "^4.2.1",
|
2023-09-19 15:51:51 +01:00
|
|
|
"@typescript-eslint/eslint-plugin": "^6.7.2",
|
|
|
|
"@typescript-eslint/parser": "^6.7.2",
|
2023-08-14 03:07:45 +00:00
|
|
|
"@vitest/coverage-v8": "^0.34.0",
|
|
|
|
"@vitest/spy": "^0.34.0",
|
|
|
|
"@vitest/ui": "^0.34.0",
|
2022-12-22 01:19:02 +00:00
|
|
|
"ajv": "^8.12.0",
|
2023-04-23 23:15:26 +05:30
|
|
|
"concurrently": "^8.0.1",
|
2023-02-19 14:03:11 +05:30
|
|
|
"cors": "^2.8.5",
|
2023-04-23 23:15:26 +05:30
|
|
|
"cypress": "^12.10.0",
|
2022-10-22 18:38:15 +01:00
|
|
|
"cypress-image-snapshot": "^4.0.1",
|
2023-08-14 03:07:45 +00:00
|
|
|
"esbuild": "^0.19.0",
|
2023-10-25 11:07:12 +02:00
|
|
|
"eslint": "^8.47.0",
|
2023-04-23 23:15:26 +05:30
|
|
|
"eslint-config-prettier": "^8.8.0",
|
|
|
|
"eslint-plugin-cypress": "^2.13.2",
|
2022-10-22 18:38:15 +01:00
|
|
|
"eslint-plugin-html": "^7.1.0",
|
2023-04-23 23:15:26 +05:30
|
|
|
"eslint-plugin-jest": "^27.2.1",
|
2023-06-27 06:23:27 +00:00
|
|
|
"eslint-plugin-jsdoc": "^46.0.0",
|
2022-10-22 18:38:15 +01:00
|
|
|
"eslint-plugin-json": "^3.1.0",
|
2022-11-23 00:26:50 +05:30
|
|
|
"eslint-plugin-lodash": "^7.4.0",
|
2022-10-22 18:38:15 +01:00
|
|
|
"eslint-plugin-markdown": "^3.0.0",
|
|
|
|
"eslint-plugin-no-only-tests": "^3.1.0",
|
|
|
|
"eslint-plugin-tsdoc": "^0.2.17",
|
2023-06-27 08:00:16 +00:00
|
|
|
"eslint-plugin-unicorn": "^47.0.0",
|
2022-10-22 18:38:15 +01:00
|
|
|
"express": "^4.18.2",
|
2023-04-23 23:15:26 +05:30
|
|
|
"globby": "^13.1.4",
|
|
|
|
"husky": "^8.0.3",
|
|
|
|
"jest": "^29.5.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",
|
2023-06-27 07:13:43 +00:00
|
|
|
"jsdom": "^22.0.0",
|
2023-04-23 23:15:26 +05:30
|
|
|
"lint-staged": "^13.2.1",
|
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",
|
2023-08-01 17:07:15 +00:00
|
|
|
"pnpm": "^8.6.8",
|
2023-04-23 23:15:26 +05:30
|
|
|
"prettier": "^2.8.8",
|
2022-10-22 18:38:15 +01:00
|
|
|
"prettier-plugin-jsdoc": "^0.4.2",
|
2023-04-22 18:53:56 +00:00
|
|
|
"rimraf": "^5.0.0",
|
2023-06-16 20:25:40 +05:30
|
|
|
"rollup-plugin-visualizer": "^5.9.2",
|
2023-04-22 19:26:13 +00:00
|
|
|
"start-server-and-test": "^2.0.0",
|
2023-12-04 11:25:04 +00:00
|
|
|
"tsx": "^4.6.2",
|
2023-06-16 20:25:40 +05:30
|
|
|
"typescript": "^5.1.3",
|
2023-12-05 23:52:12 +00:00
|
|
|
"vite": "^4.4.12",
|
2023-06-16 20:25:40 +05:30
|
|
|
"vite-plugin-istanbul": "^4.1.0",
|
2023-08-14 03:07:45 +00:00
|
|
|
"vitest": "^0.34.0"
|
2022-06-23 09:15:17 +03:00
|
|
|
},
|
2022-10-10 20:07:59 +08:00
|
|
|
"volta": {
|
2023-12-11 01:09:36 +00:00
|
|
|
"node": "18.19.0"
|
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
|
|
|
}
|