mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
d83c9f5a70
* sidv/mergeRelease: chore(deps-dev): bump eslint-plugin-jest from 27.0.1 to 27.0.4 (#3458) chore(deps-dev): bump @typescript-eslint/eslint-plugin (#3457) chore(deps-dev): bump concurrently from 7.3.0 to 7.4.0 (#3445) chore(deps-dev): bump @babel/preset-env from 7.18.10 to 7.19.0 (#3442) chore(deps-dev): bump @typescript-eslint/parser from 5.36.1 to 5.37.0 (#3451) chore(deps-dev): bump @babel/core from 7.18.13 to 7.19.0 (#3447) chore(deps-dev): bump jest-environment-jsdom from 29.0.2 to 29.0.3 (#3441) chore(deps-dev): bump babel-jest from 29.0.2 to 29.0.3 (#3448) chore(deps-dev): bump eslint from 8.23.0 to 8.23.1 Release 9.1.7 Fix for broken rendering test Fix for issue #3428, load the configured diagrams even when initialize has not been called.
143 lines
4.3 KiB
JSON
143 lines
4.3 KiB
JSON
{
|
|
"name": "mermaid",
|
|
"version": "9.2.0-rc1",
|
|
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
|
"main": "dist/mermaid.core.mjs",
|
|
"module": "dist/mermaid.core.mjs",
|
|
"types": "dist/mermaid.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"require": "./dist/mermaid.min.js",
|
|
"import": "./dist/mermaid.core.mjs",
|
|
"types": "./dist/mermaid.d.ts"
|
|
},
|
|
"./*": "./*"
|
|
},
|
|
"keywords": [
|
|
"diagram",
|
|
"markdown",
|
|
"flowchart",
|
|
"sequence diagram",
|
|
"gantt",
|
|
"class diagram",
|
|
"git graph"
|
|
],
|
|
"scripts": {
|
|
"clean": "rimraf dist",
|
|
"build:code": "node .esbuild/esbuild.cjs",
|
|
"build:types": "tsc -p ./tsconfig.json --emitDeclarationOnly",
|
|
"build:watch": "yarn build:code --watch",
|
|
"build:esbuild": "concurrently \"yarn build:code\" \"yarn build:types\"",
|
|
"build": "yarn clean; yarn build:esbuild",
|
|
"dev": "node .esbuild/serve.cjs",
|
|
"docs:build": "ts-node-esm src/docs.mts",
|
|
"docs:verify": "ts-node-esm src/docs.mts --verify",
|
|
"postbuild": "documentation build src/mermaidAPI.ts src/config.ts src/defaultConfig.ts --shallow -f md --markdown-toc false > src/docs/Setup.md && prettier --write src/docs/Setup.md && yarn docs:build",
|
|
"release": "yarn build",
|
|
"lint": "eslint --cache --ignore-path .gitignore . && yarn lint:jison && prettier --check .",
|
|
"lint:fix": "eslint --fix --ignore-path .gitignore . && prettier --write .",
|
|
"lint:jison": "ts-node-esm src/jison/lint.mts",
|
|
"cypress": "cypress run",
|
|
"cypress:open": "cypress open",
|
|
"e2e": "start-server-and-test dev http://localhost:9000/ cypress",
|
|
"e2e-upd": "yarn lint && jest e2e -u --config e2e/jest.config.js",
|
|
"ci": "jest src/.*",
|
|
"test": "yarn lint && jest src/.*",
|
|
"test:watch": "jest --watch src",
|
|
"prepublishOnly": "yarn build && yarn test",
|
|
"prepare": "concurrently \"husky install\" \"yarn 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"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@braintree/sanitize-url": "^6.0.0",
|
|
"d3": "^7.0.0",
|
|
"dagre": "^0.8.5",
|
|
"dagre-d3": "^0.6.4",
|
|
"dompurify": "2.3.10",
|
|
"fast-clone": "^1.5.13",
|
|
"graphlib": "^2.1.8",
|
|
"khroma": "^2.0.0",
|
|
"lodash": "^4.17.21",
|
|
"moment-mini": "^2.24.0",
|
|
"non-layered-tidy-tree-layout": "^2.0.2",
|
|
"stylis": "^4.0.10"
|
|
},
|
|
"devDependencies": {
|
|
"@applitools/eyes-cypress": "^3.25.7",
|
|
"@commitlint/cli": "^17.1.2",
|
|
"@commitlint/config-conventional": "^17.0.0",
|
|
"@types/d3": "^7.4.0",
|
|
"@types/dompurify": "^2.3.4",
|
|
"@types/eslint": "^8.4.6",
|
|
"@types/express": "^4.17.13",
|
|
"@types/jest": "^28.1.7",
|
|
"@types/lodash": "^4.14.184",
|
|
"@types/stylis": "^4.0.2",
|
|
"@typescript-eslint/eslint-plugin": "^5.37.0",
|
|
"@typescript-eslint/parser": "^5.37.0",
|
|
"concurrently": "^7.4.0",
|
|
"coveralls": "^3.0.2",
|
|
"cypress": "9.7.0",
|
|
"cypress-image-snapshot": "^4.0.1",
|
|
"documentation": "13.2.0",
|
|
"esbuild": "^0.15.6",
|
|
"esbuild-loader": "^2.19.0",
|
|
"eslint": "^8.23.1",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-cypress": "^2.12.1",
|
|
"eslint-plugin-html": "^7.1.0",
|
|
"eslint-plugin-jest": "^27.0.4",
|
|
"eslint-plugin-jsdoc": "^39.3.6",
|
|
"eslint-plugin-json": "^3.1.0",
|
|
"eslint-plugin-markdown": "^3.0.0",
|
|
"express": "^4.18.1",
|
|
"globby": "^13.1.2",
|
|
"husky": "^8.0.0",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^28.0.3",
|
|
"jest-environment-jsdom": "^29.0.3",
|
|
"jest-esbuild": "^0.2.9",
|
|
"jison": "^0.4.18",
|
|
"js-base64": "3.7.2",
|
|
"lint-staged": "^13.0.0",
|
|
"moment": "^2.23.0",
|
|
"path-browserify": "^1.0.1",
|
|
"prettier": "^2.7.1",
|
|
"prettier-plugin-jsdoc": "^0.4.2",
|
|
"remark": "^14.0.2",
|
|
"rimraf": "^3.0.2",
|
|
"start-server-and-test": "^1.12.6",
|
|
"ts-jest": "^28.0.8",
|
|
"ts-loader": "^9.3.1",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^4.8.3",
|
|
"unist-util-flatmap": "^1.0.0"
|
|
},
|
|
"resolutions": {
|
|
"d3": "^7.0.0"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"sideEffects": [
|
|
"**/*.css",
|
|
"**/*.scss"
|
|
]
|
|
}
|