mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-02-04 07:13:25 +08:00
60651fdfe0
* develop: (22 commits) Fix for build by revering jsdoc Revert "chore(deps-dev): bump documentation from 13.2.0 to 14.0.0" Review comments. Add test for handling parameter names that are "default" Add test for handling parameter names that are keywords Add test for handling trailing whitespaces Add first C4 parser test chore(deps-dev): bump eslint-plugin-jest from 26.8.2 to 26.8.7 chore(deps-dev): bump documentation from 13.2.0 to 14.0.0 chore(deps-dev): bump terser-webpack-plugin from 5.3.4 to 5.3.5 chore(deps-dev): bump prettier-plugin-jsdoc from 0.3.38 to 0.4.1 test(e2e): add array and generic attributes erDiagram test test(common): add generic parser test test(parser): add tests for generics and arrays in erDiagram feat: add array and generic symbols for erDiagram Lint markdown Fix prettier formatting in vscode Prettier Fix `securityLevel` docs Update README.md ...
135 lines
3.9 KiB
JSON
135 lines
3.9 KiB
JSON
{
|
|
"name": "mermaid",
|
|
"version": "9.1.5",
|
|
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
|
"main": "dist/mermaid.min.js",
|
|
"module": "dist/mermaid.esm.min.mjs",
|
|
"types": "dist/mermaid.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"require": "./dist/mermaid.min.js",
|
|
"import": "./dist/mermaid.esm.min.mjs",
|
|
"types": "./dist/mermaid.d.ts"
|
|
},
|
|
"./*": "./*"
|
|
},
|
|
"keywords": [
|
|
"diagram",
|
|
"markdown",
|
|
"flowchart",
|
|
"sequence diagram",
|
|
"gantt",
|
|
"class diagram",
|
|
"git graph"
|
|
],
|
|
"scripts": {
|
|
"build:dev": "webpack --mode development --progress --color",
|
|
"build:prod": "webpack --mode production --progress --color",
|
|
"build": "concurrently \"yarn build:dev\" \"yarn build:prod\"",
|
|
"postbuild": "documentation build src/mermaidAPI.ts src/config.ts src/defaultConfig.ts --shallow -f md --markdown-toc false > docs/Setup.md",
|
|
"build:watch": "yarn build:dev --watch",
|
|
"release": "yarn build",
|
|
"lint": "eslint ./ --ext .js,.json,.html,.md",
|
|
"lint:fix": "yarn lint --fix",
|
|
"e2e:depr": "yarn lint && jest e2e --config e2e/jest.config.js",
|
|
"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",
|
|
"dev": "webpack serve --config ./.webpack/webpack.config.e2e.babel.js",
|
|
"ci": "jest src/.*",
|
|
"test": "yarn lint && jest src/.*",
|
|
"test:watch": "jest --watch src",
|
|
"prepublishOnly": "yarn build && yarn test",
|
|
"prepare": "husky install",
|
|
"pre-commit": "lint-staged"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/knsv/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",
|
|
"graphlib": "^2.1.8",
|
|
"khroma": "^2.0.0",
|
|
"moment-mini": "2.24.0",
|
|
"stylis": "^4.0.10"
|
|
},
|
|
"devDependencies": {
|
|
"@applitools/eyes-cypress": "^3.25.7",
|
|
"@babel/core": "^7.14.6",
|
|
"@babel/eslint-parser": "^7.14.7",
|
|
"@babel/preset-env": "^7.14.7",
|
|
"@babel/register": "^7.14.5",
|
|
"@commitlint/cli": "^17.0.0",
|
|
"@commitlint/config-conventional": "^17.0.0",
|
|
"@types/d3": "^7.4.0",
|
|
"@types/dompurify": "^2.3.3",
|
|
"@types/jest": "^28.1.7",
|
|
"@types/stylis": "^4.0.2",
|
|
"babel-jest": "^28.0.3",
|
|
"babel-loader": "^8.2.2",
|
|
"concurrently": "^7.0.0",
|
|
"coveralls": "^3.0.2",
|
|
"css-to-string-loader": "^0.1.3",
|
|
"cypress": "9.7.0",
|
|
"cypress-image-snapshot": "^4.0.1",
|
|
"documentation": "13.2.0",
|
|
"eslint": "^8.4.1",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-cypress": "^2.12.1",
|
|
"eslint-plugin-html": "^7.1.0",
|
|
"eslint-plugin-jest": "^26.0.0",
|
|
"eslint-plugin-jsdoc": "^39.1.0",
|
|
"eslint-plugin-json": "^3.1.0",
|
|
"eslint-plugin-markdown": "^3.0.0",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"husky": "^8.0.0",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^28.0.3",
|
|
"jest-environment-jsdom": "^28.0.2",
|
|
"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.3.2",
|
|
"prettier-plugin-jsdoc": "^0.3.30",
|
|
"start-server-and-test": "^1.12.6",
|
|
"terser-webpack-plugin": "^5.2.4",
|
|
"ts-jest": "^28.0.8",
|
|
"ts-loader": "^9.3.1",
|
|
"typescript": "^4.7.4",
|
|
"webpack": "^5.53.0",
|
|
"webpack-cli": "^4.7.2",
|
|
"webpack-dev-server": "^4.3.0",
|
|
"webpack-merge": "^5.8.0",
|
|
"webpack-node-externals": "^3.0.0"
|
|
},
|
|
"resolutions": {
|
|
"d3": "^7.0.0"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"sideEffects": [
|
|
"**/*.css",
|
|
"**/*.scss"
|
|
]
|
|
} |