mermaid/package.json

132 lines
4.6 KiB
JSON
Raw Normal View History

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",
2023-08-14 02:02:28 +00:00
"packageManager": "pnpm@8.6.12",
"keywords": [
"diagram",
"markdown",
"flowchart",
"sequence diagram",
2017-04-19 18:37:55 +08:00
"gantt",
"class diagram",
"git graph"
],
"scripts": {
2023-08-13 18:51:02 +05:30
"build": "pnpm run -r clean && pnpm build:esbuild && pnpm build:types",
"build:esbuild": "pnpm run -r clean && ts-node-esm --transpileOnly .esbuild/build.ts",
"build:mermaid": "pnpm build:esbuild --mermaid",
"build:viz": "pnpm build:esbuild --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",
"dev": "ts-node-esm --transpileOnly .esbuild/server.ts",
"dev:vite": "ts-node-esm --transpileOnly .vite/server.ts",
"dev:coverage": "pnpm coverage:cypress:clean && VITE_COVERAGE=true pnpm dev:vite",
2022-09-23 16:55:30 +02:00
"release": "pnpm build",
"lint": "eslint --cache --cache-strategy content --ignore-path .gitignore . && pnpm lint:jison && prettier --cache --check .",
"lint:fix": "eslint --cache --cache-strategy content --fix --ignore-path .gitignore . && prettier --write . && ts-node-esm scripts/fixCSpell.ts",
"lint:jison": "ts-node-esm ./scripts/jison/lint.mts",
"contributors": "ts-node-esm scripts/updateContributors.ts",
"cypress": "cypress run",
2022-08-21 18:37:27 +05:30
"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",
2023-06-28 03:11:01 +03:00
"coverage:cypress:clean": "rimraf .nyc_output coverage/cypress",
2023-06-17 17:11:05 +05:30
"coverage:merge": "ts-node-esm scripts/coverage.ts",
2023-06-17 15:14:54 +03:00
"coverage": "pnpm test:coverage --run && pnpm e2e:coverage && pnpm coverage:merge",
"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",
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-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
},
"author": "Knut Sveidqvist",
"license": "MIT",
2017-04-11 22:57:57 +08:00
"standard": {
"ignore": [
"**/parser/*.js",
"dist/**/*.js",
"cypress/**/*.js"
],
"globals": [
"page"
2017-04-11 22:57:57 +08: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",
"@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",
2023-08-14 03:07:45 +00:00
"@vitest/coverage-v8": "^0.34.0",
"@vitest/spy": "^0.34.0",
"@vitest/ui": "^0.34.0",
"ajv": "^8.12.0",
2023-08-13 18:51:02 +05:30
"chokidar": "^3.5.3",
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",
"cypress-image-snapshot": "^4.0.1",
"esbuild": "^0.19.0",
2023-04-23 23:15:26 +05:30
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-cypress": "^2.13.2",
"eslint-plugin-html": "^7.1.0",
2023-04-23 23:15:26 +05:30
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-jsdoc": "^46.0.0",
"eslint-plugin-json": "^3.1.0",
2022-11-23 00:26:50 +05:30
"eslint-plugin-lodash": "^7.4.0",
"eslint-plugin-markdown": "^3.0.0",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-tsdoc": "^0.2.17",
"eslint-plugin-unicorn": "^47.0.0",
"express": "^4.18.2",
2023-04-23 23:15:26 +05:30
"globby": "^13.1.4",
"husky": "^8.0.3",
"jest": "^29.5.0",
"jison": "^0.4.18",
"js-yaml": "^4.1.0",
"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",
"path-browserify": "^1.0.1",
"pnpm": "^8.6.8",
2023-04-23 23:15:26 +05:30
"prettier": "^2.8.8",
"prettier-plugin-jsdoc": "^0.4.2",
"rimraf": "^5.0.0",
2023-06-16 20:25:40 +05:30
"rollup-plugin-visualizer": "^5.9.2",
"start-server-and-test": "^2.0.0",
"ts-node": "^10.9.1",
2023-06-16 20:25:40 +05:30
"typescript": "^5.1.3",
"vite": "^4.3.9",
"vite-plugin-istanbul": "^4.1.0",
2023-08-14 03:07:45 +00:00
"vitest": "^0.34.0"
},
2022-10-10 20:07:59 +08:00
"volta": {
2023-08-14 02:02:28 +00:00
"node": "18.17.1"
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
}