2017-04-10 16:36:54 +08:00
|
|
|
{
|
2022-09-21 11:03:33 +02:00
|
|
|
"name": "mermaid-monorepo",
|
|
|
|
"private": true,
|
2023-04-04 14:38:09 +02:00
|
|
|
"version": "10.1.0",
|
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",
|
2023-04-22 20:04:11 +00:00
|
|
|
"packageManager": "pnpm@8.3.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": {
|
2022-11-14 14:51:23 +05:30
|
|
|
"build:vite": "ts-node-esm --transpileOnly .vite/build.ts",
|
2022-11-20 14:16:22 +05:30
|
|
|
"build:mermaid": "pnpm build:vite --mermaid",
|
|
|
|
"build:viz": "pnpm build:mermaid --visualize",
|
2023-02-10 08:58:58 +01:00
|
|
|
"build:types": "tsc -p ./packages/mermaid/tsconfig.json --emitDeclarationOnly && tsc -p ./packages/mermaid-example-diagram/tsconfig.json --emitDeclarationOnly",
|
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",
|
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",
|
2023-02-05 19:25:57 +00:00
|
|
|
"lint": "eslint --cache --cache-strategy content --ignore-path .gitignore . && pnpm lint:jison && prettier --cache --check .",
|
2023-02-08 23:58:12 +00:00
|
|
|
"lint:fix": "eslint --cache --cache-strategy content --fix --ignore-path .gitignore . && prettier --write . && ts-node-esm scripts/fixCSpell.ts",
|
2022-11-14 14:51:23 +05:30
|
|
|
"lint:jison": "ts-node-esm ./scripts/jison/lint.mts",
|
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",
|
2023-02-18 22:35:14 +05:30
|
|
|
"prepare": "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-11-03 00:02:29 +01:00
|
|
|
"devDependencies": {
|
2023-04-23 23:15:26 +05:30
|
|
|
"@applitools/eyes-cypress": "^3.32.0",
|
|
|
|
"@commitlint/cli": "^17.6.1",
|
|
|
|
"@commitlint/config-conventional": "^17.6.1",
|
|
|
|
"@cspell/eslint-plugin": "^6.31.1",
|
|
|
|
"@rollup/plugin-typescript": "^11.1.0",
|
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-04-23 23:15:26 +05:30
|
|
|
"@typescript-eslint/eslint-plugin": "^5.59.0",
|
|
|
|
"@typescript-eslint/parser": "^5.59.0",
|
|
|
|
"@vitest/coverage-c8": "^0.30.1",
|
|
|
|
"@vitest/spy": "^0.30.1",
|
|
|
|
"@vitest/ui": "^0.30.1",
|
|
|
|
"concurrently": "^8.0.1",
|
2023-02-19 14:03:11 +05:30
|
|
|
"cors": "^2.8.5",
|
2022-10-22 18:38:15 +01:00
|
|
|
"coveralls": "^3.1.1",
|
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-04-23 23:15:26 +05:30
|
|
|
"esbuild": "^0.17.18",
|
|
|
|
"eslint": "^8.39.0",
|
|
|
|
"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",
|
|
|
|
"eslint-plugin-jsdoc": "^43.0.7",
|
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-04-22 18:51:50 +00:00
|
|
|
"eslint-plugin-unicorn": "^46.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-04-23 23:15:26 +05:30
|
|
|
"jsdom": "^21.1.1",
|
|
|
|
"lint-staged": "^13.2.1",
|
2022-10-22 18:38:15 +01:00
|
|
|
"path-browserify": "^1.0.1",
|
2023-04-23 23:15:26 +05:30
|
|
|
"pnpm": "^8.3.1",
|
|
|
|
"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-04-23 23:15:26 +05:30
|
|
|
"rollup-plugin-visualizer": "^5.9.0",
|
2023-04-22 19:26:13 +00:00
|
|
|
"start-server-and-test": "^2.0.0",
|
2022-10-22 18:38:15 +01:00
|
|
|
"ts-node": "^10.9.1",
|
2023-04-23 23:15:26 +05:30
|
|
|
"typescript": "^5.0.4",
|
2023-04-23 22:34:19 +05:30
|
|
|
"vite": "^4.3.1",
|
2023-04-23 23:15:26 +05:30
|
|
|
"vitest": "^0.30.1"
|
2022-06-23 09:15:17 +03:00
|
|
|
},
|
2022-10-10 20:07:59 +08:00
|
|
|
"volta": {
|
2023-04-22 20:30:38 +00:00
|
|
|
"node": "18.16.0"
|
2022-10-10 20:07:59 +08:00
|
|
|
}
|
2022-11-23 16:07:58 +05:30
|
|
|
}
|