mermaid/package.json

144 lines
4.4 KiB
JSON
Raw Normal View History

2017-04-10 10:36:54 +02:00
{
"name": "mermaid",
"version": "9.2.0-rc1",
2017-04-19 12:37:55 +02:00
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
2022-08-21 11:36:50 +02:00
"main": "dist/mermaid.min.js",
2021-10-01 15:49:32 +02:00
"module": "dist/mermaid.esm.min.mjs",
2022-09-05 11:22:17 +02:00
"types": "dist/mermaid.d.ts",
2021-10-01 15:49:32 +02:00
"exports": {
".": {
2022-08-21 11:36:50 +02:00
"require": "./dist/mermaid.min.js",
2022-09-05 11:22:17 +02:00
"import": "./dist/mermaid.esm.min.mjs",
"types": "./dist/mermaid.d.ts"
2021-10-01 15:49:32 +02:00
},
"./*": "./*"
},
"keywords": [
"diagram",
"markdown",
"flowchart",
"sequence diagram",
2017-04-19 12:37:55 +02:00
"gantt",
"class diagram",
"git graph"
],
"scripts": {
2022-09-05 11:22:17 +02:00
"build:dev": "webpack --mode development --progress --color",
"build:prod": "webpack --mode production --progress --color",
"build": "concurrently \"yarn build:dev\" \"yarn build:prod\"",
2022-09-03 06:36:21 +02:00
"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",
2022-09-05 11:22:17 +02:00
"build:watch": "yarn build:dev --watch",
"release": "yarn build",
"lint": "eslint --cache --ignore-path .gitignore . && prettier --check .",
"lint:fix": "eslint --fix --ignore-path .gitignore . && prettier --write .",
"e2e:depr": "yarn lint && jest e2e --config e2e/jest.config.js",
"cypress": "cypress run",
2022-09-05 11:22:17 +02:00
"cypress:open": "cypress open",
"e2e": "start-server-and-test dev http://localhost:9000/ cypress",
2019-07-16 17:32:27 +02:00
"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/.*",
2019-11-17 21:41:55 +01:00
"test": "yarn lint && jest src/.*",
"test:watch": "jest --watch src",
2020-10-08 19:43:29 +02:00
"prepublishOnly": "yarn build && yarn test",
"prepare": "concurrently \"husky install\" \"yarn build:prod\" \"yarn postbuild\"",
2021-12-08 19:30:10 +01:00
"pre-commit": "lint-staged"
},
2014-11-22 17:53:02 +01:00
"repository": {
"type": "git",
2022-09-05 11:22:17 +02:00
"url": "https://github.com/mermaid-js/mermaid"
2014-11-22 17:53:02 +01:00
},
"author": "Knut Sveidqvist",
"license": "MIT",
2017-04-11 16:57:57 +02:00
"standard": {
"ignore": [
"**/parser/*.js",
"dist/**/*.js",
"cypress/**/*.js"
],
"globals": [
"page"
2017-04-11 16:57:57 +02:00
]
},
2014-12-02 19:05:09 +01:00
"dependencies": {
"@braintree/sanitize-url": "^6.0.0",
"d3": "^7.0.0",
"dagre": "^0.8.5",
2019-12-03 22:05:39 +01:00
"dagre-d3": "^0.6.4",
"dompurify": "2.3.10",
2022-08-09 18:39:20 +02:00
"fast-clone": "^1.5.13",
"graphlib": "^2.1.8",
"khroma": "^2.0.0",
"moment-mini": "^2.24.0",
2022-08-09 18:39:20 +02:00
"non-layered-tidy-tree-layout": "^2.0.2",
"stylis": "^4.1.2"
2014-12-02 19:05:09 +01:00
},
"devDependencies": {
2022-05-10 20:33:55 +02:00
"@applitools/eyes-cypress": "^3.25.7",
"@babel/core": "^7.19.0",
"@babel/eslint-parser": "^7.14.7",
"@babel/preset-env": "^7.19.0",
2021-07-07 17:09:08 +02:00
"@babel/register": "^7.14.5",
2022-09-05 11:22:17 +02:00
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.0.0",
2022-09-05 11:22:17 +02:00
"@types/d3": "^7.4.0",
"@types/dompurify": "^2.3.4",
2022-09-05 11:22:17 +02:00
"@types/jest": "^28.1.7",
"@types/stylis": "^4.0.2",
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"babel-jest": "^29.0.3",
2021-07-07 17:09:08 +02:00
"babel-loader": "^8.2.2",
"concurrently": "^7.4.0",
2017-09-12 15:33:39 +02:00
"css-to-string-loader": "^0.1.3",
2022-08-04 18:59:06 +02:00
"cypress": "9.7.0",
"cypress-image-snapshot": "^4.0.1",
2021-07-15 13:44:06 +02:00
"documentation": "13.2.0",
"eslint": "^8.23.1",
2022-09-05 11:22:17 +02:00
"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",
2022-09-02 22:43:21 +02:00
"globby": "^13.1.2",
"husky": "^8.0.0",
2018-03-10 01:42:59 +01:00
"identity-obj-proxy": "^3.0.0",
"jest": "^28.0.3",
"jest-environment-jsdom": "^29.0.3",
2017-09-02 17:44:00 +02:00
"jison": "^0.4.18",
"js-base64": "3.7.2",
"lint-staged": "^13.0.0",
"moment": "^2.23.0",
"path-browserify": "^1.0.1",
2022-09-07 17:24:19 +02:00
"prettier": "^2.7.1",
"prettier-plugin-jsdoc": "^0.4.2",
2022-09-02 22:43:21 +02:00
"remark": "^14.0.2",
"start-server-and-test": "^1.12.6",
2022-09-05 11:22:17 +02:00
"terser-webpack-plugin": "^5.3.6",
"ts-jest": "^28.0.8",
"ts-loader": "^9.3.1",
2022-09-02 22:43:21 +02:00
"ts-node": "^10.9.1",
"typescript": "^4.8.3",
2022-09-02 22:43:21 +02:00
"unist-util-flatmap": "^1.0.0",
"webpack": "^5.53.0",
"webpack-cli": "^4.7.2",
"webpack-dev-server": "^4.11.0",
"webpack-merge": "^5.8.0",
"webpack-node-externals": "^3.0.0"
2017-06-01 07:38:08 +02:00
},
2022-07-25 09:03:51 +02:00
"resolutions": {
"d3": "^7.0.0"
},
2017-06-01 07:38:08 +02:00
"files": [
"dist"
2018-03-10 01:42:59 +01:00
],
"sideEffects": [
"**/*.css",
"**/*.scss"
]
2021-12-04 13:50:21 +01:00
}