mermaid/package.json

142 lines
4.9 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",
2024-09-02 14:47:46 +05:30
"packageManager": "pnpm@9.9.0+sha512.60c18acd138bff695d339be6ad13f7e936eea6745660d4cc4a776d5247c540d0edee1a563695c183a66eb917ef88f2b4feb1fc25f32a7adcadc7aaf3438e99c1",
"keywords": [
"diagram",
"markdown",
"flowchart",
"sequence diagram",
2017-04-19 18:37:55 +08:00
"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": "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",
"dev": "tsx .esbuild/server.ts",
"dev:vite": "tsx .vite/server.ts",
"dev:coverage": "pnpm coverage:cypress:clean && VITE_COVERAGE=true pnpm dev:vite",
2024-08-22 15:45:20 +05:30
"copy-readme": "cpy './README.*' ./packages/mermaid/ --cwd=.",
2024-08-22 15:21:48 +05:30
"changeset:version": "changeset version && pnpm build && pnpm --filter mermaid run docs:release-version && pnpm --filter mermaid run docs:build && git add --all",
2024-08-22 15:45:20 +05:30
"changeset:publish": "pnpm copy-readme && changeset publish",
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",
"lint:jison": "tsx ./scripts/jison/lint.mts",
"contributors": "tsx 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",
"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",
"ci": "vitest run",
2022-09-23 16:55:30 +02:00
"test": "pnpm lint && vitest run",
"test:watch": "vitest --watch",
"test:coverage": "vitest --coverage",
2024-09-01 16:40:12 -05:00
"test:check:tsc": "tsx scripts/tsc-check.ts",
2024-08-24 17:21:21 +05:30
"prepare": "husky && 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": {
2024-06-13 14:25:31 +02:00
"@applitools/eyes-cypress": "^3.44.4",
2024-10-07 19:12:23 +05:30
"@argos-ci/cypress": "^2.2.2",
2024-08-22 15:57:56 +05:30
"@changesets/changelog-github": "^0.5.0",
2024-08-21 19:54:59 +05:30
"@changesets/cli": "^2.27.7",
"@cspell/eslint-plugin": "^8.8.4",
2024-03-23 11:33:13 +05:30
"@cypress/code-coverage": "^3.12.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",
"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-08-22 15:45:20 +05:30
"cpy-cli": "^5.0.0",
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",
2024-09-02 18:01:35 +05:30
"cypress": "^13.14.1",
"cypress-image-snapshot": "^4.0.1",
2024-10-04 01:54:36 +05:30
"cypress-split": "^1.24.0",
2024-06-30 13:47:33 +05:30
"esbuild": "^0.21.5",
"eslint": "^9.4.0",
2024-03-23 11:33:13 +05:30
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-cypress": "^3.3.0",
"eslint-plugin-html": "^8.1.1",
"eslint-plugin-jest": "^28.6.0",
"eslint-plugin-jsdoc": "^50.0.0",
"eslint-plugin-json": "^4.0.0",
"eslint-plugin-lodash": "^8.0.0",
"eslint-plugin-markdown": "^5.0.0",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-tsdoc": "^0.3.0",
"eslint-plugin-unicorn": "^56.0.0",
2024-03-23 11:33:13 +05:30
"express": "^4.19.1",
"globals": "^15.4.0",
2024-03-23 11:33:13 +05:30
"globby": "^14.0.1",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jison": "^0.4.18",
"js-yaml": "^4.1.0",
2024-03-23 11:33:13 +05:30
"jsdom": "^24.0.0",
"langium-cli": "3.0.3",
2024-03-23 11:33:13 +05:30
"lint-staged": "^15.2.2",
"markdown-table": "^3.0.3",
2023-06-17 01:24:15 +05:30
"nyc": "^15.1.0",
"path-browserify": "^1.0.1",
2024-03-23 11:33:13 +05:30
"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.5",
"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"
},
2023-06-16 23:54:02 +05:30
"nyc": {
2023-06-28 03:13:33 +03:00
"report-dir": "coverage/cypress"
2024-10-02 18:46:50 +05:30
},
"pnpm": {
"patchedDependencies": {
"roughjs": "patches/roughjs.patch"
}
2022-10-10 20:07:59 +08:00
}
2024-06-13 14:50:52 +02:00
}