mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
136 lines
4.5 KiB
JSON
136 lines
4.5 KiB
JSON
{
|
|
"name": "mermaid-monorepo",
|
|
"private": true,
|
|
"version": "10.2.4",
|
|
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
|
"type": "module",
|
|
"packageManager": "pnpm@8.15.4",
|
|
"keywords": [
|
|
"diagram",
|
|
"markdown",
|
|
"flowchart",
|
|
"sequence diagram",
|
|
"gantt",
|
|
"class diagram",
|
|
"git graph"
|
|
],
|
|
"scripts": {
|
|
"build": "pnpm build:esbuild && pnpm build:types",
|
|
"build:esbuild": "pnpm run -r clean && tsx .esbuild/build.ts",
|
|
"build:mermaid": "pnpm build:esbuild --mermaid",
|
|
"build:viz": "pnpm build:esbuild --visualize",
|
|
"build:types": "tsx .build/types.ts",
|
|
"build:types:watch": "tsc -p ./packages/mermaid/tsconfig.json --emitDeclarationOnly --watch",
|
|
"dev": "tsx .esbuild/server.ts",
|
|
"dev:vite": "tsx .vite/server.ts",
|
|
"dev:coverage": "pnpm coverage:cypress:clean && VITE_COVERAGE=true pnpm dev:vite",
|
|
"release": "pnpm build",
|
|
"lint": "cross-env NODE_OPTIONS=--max_old_space_size=8192 eslint --cache --cache-strategy content --ignore-path .gitignore . && pnpm lint:jison && prettier --cache --check .",
|
|
"lint:fix": "cross-env NODE_OPTIONS=--max_old_space_size=8192 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",
|
|
"cypress": "cypress run",
|
|
"cypress:open": "cypress open",
|
|
"e2e": "start-server-and-test dev http://localhost:9000/ cypress",
|
|
"e2e:coverage": "start-server-and-test dev:coverage http://localhost:9000/ cypress",
|
|
"coverage:cypress:clean": "rimraf .nyc_output coverage/cypress",
|
|
"coverage:merge": "tsx scripts/coverage.ts",
|
|
"coverage": "pnpm test:coverage --run && pnpm e2e:coverage && pnpm coverage:merge",
|
|
"ci": "vitest run",
|
|
"test": "pnpm lint && vitest run",
|
|
"test:watch": "vitest --watch",
|
|
"test:coverage": "vitest --coverage",
|
|
"prepublishOnly": "pnpm build && pnpm test",
|
|
"prepare": "husky install && pnpm build",
|
|
"pre-commit": "lint-staged"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/mermaid-js/mermaid"
|
|
},
|
|
"author": "Knut Sveidqvist",
|
|
"license": "MIT",
|
|
"standard": {
|
|
"ignore": [
|
|
"**/parser/*.js",
|
|
"dist/**/*.js",
|
|
"cypress/**/*.js"
|
|
],
|
|
"globals": [
|
|
"page"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@applitools/eyes-cypress": "^3.42.3",
|
|
"@cspell/eslint-plugin": "^8.6.0",
|
|
"@cypress/code-coverage": "^3.12.30",
|
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
"@types/cors": "^2.8.17",
|
|
"@types/eslint": "^8.56.6",
|
|
"@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",
|
|
"@typescript-eslint/eslint-plugin": "^7.3.1",
|
|
"@typescript-eslint/parser": "^7.3.1",
|
|
"@vitest/coverage-v8": "^1.4.0",
|
|
"@vitest/spy": "^1.4.0",
|
|
"@vitest/ui": "^1.4.0",
|
|
"ajv": "^8.12.0",
|
|
"chokidar": "^3.6.0",
|
|
"concurrently": "^8.2.2",
|
|
"cors": "^2.8.5",
|
|
"cross-env": "^7.0.3",
|
|
"cspell": "^8.6.0",
|
|
"cypress": "^13.7.1",
|
|
"cypress-image-snapshot": "^4.0.1",
|
|
"esbuild": "^0.20.2",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-cypress": "^2.15.1",
|
|
"eslint-plugin-html": "^8.0.0",
|
|
"eslint-plugin-jest": "^27.9.0",
|
|
"eslint-plugin-jsdoc": "^48.2.1",
|
|
"eslint-plugin-json": "^3.1.0",
|
|
"eslint-plugin-lodash": "^7.4.0",
|
|
"eslint-plugin-markdown": "^4.0.1",
|
|
"eslint-plugin-no-only-tests": "^3.1.0",
|
|
"eslint-plugin-tsdoc": "^0.2.17",
|
|
"eslint-plugin-unicorn": "^51.0.1",
|
|
"express": "^4.19.1",
|
|
"globby": "^14.0.1",
|
|
"husky": "^9.0.11",
|
|
"jest": "^29.7.0",
|
|
"jison": "^0.4.18",
|
|
"js-yaml": "^4.1.0",
|
|
"jsdom": "^24.0.0",
|
|
"langium-cli": "3.0.1",
|
|
"lint-staged": "^15.2.2",
|
|
"markdown-table": "^3.0.3",
|
|
"nyc": "^15.1.0",
|
|
"path-browserify": "^1.0.1",
|
|
"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",
|
|
"typescript": "^5.4.3",
|
|
"vite": "^5.2.3",
|
|
"vite-plugin-istanbul": "^6.0.0",
|
|
"vitest": "^1.4.0"
|
|
},
|
|
"nyc": {
|
|
"report-dir": "coverage/cypress"
|
|
},
|
|
"pnpm": {
|
|
"patchedDependencies": {
|
|
"cytoscape@3.28.1": "patches/cytoscape@3.28.1.patch"
|
|
}
|
|
}
|
|
}
|