2017-04-10 10:36:54 +02:00
|
|
|
{
|
2014-11-03 00:02:29 +01:00
|
|
|
"name": "mermaid",
|
2021-09-23 18:27:25 +02:00
|
|
|
"version": "8.13.0",
|
2017-04-19 12:37:55 +02:00
|
|
|
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
2017-09-09 15:47:21 +02:00
|
|
|
"main": "dist/mermaid.core.js",
|
2015-03-01 16:48:16 +01:00
|
|
|
"keywords": [
|
|
|
|
"diagram",
|
|
|
|
"markdown",
|
|
|
|
"flowchart",
|
|
|
|
"sequence diagram",
|
2017-04-19 12:37:55 +02:00
|
|
|
"gantt",
|
|
|
|
"class diagram",
|
|
|
|
"git graph"
|
2015-03-01 16:48:16 +01:00
|
|
|
],
|
2014-11-03 00:02:29 +01:00
|
|
|
"scripts": {
|
2021-07-15 19:19:19 +02:00
|
|
|
"build:development": "webpack --progress --color",
|
2021-07-15 19:31:37 +02:00
|
|
|
"build:production": "yarn build:development --mode production --config webpack.config.prod.babel.js",
|
2020-06-01 14:44:53 +02:00
|
|
|
"build": "yarn build:development && yarn build:production",
|
2021-01-21 21:18:38 +01:00
|
|
|
"postbuild": "documentation build src/mermaidAPI.js src/config.js src/defaultConfig.js --shallow -f md --markdown-toc false > docs/Setup.md",
|
2017-09-08 18:58:41 +02:00
|
|
|
"build:watch": "yarn build --watch",
|
2020-06-01 14:44:53 +02:00
|
|
|
"release": "yarn build",
|
2019-09-12 21:55:56 +02:00
|
|
|
"lint": "eslint src",
|
2019-09-11 18:53:05 +02:00
|
|
|
"e2e:depr": "yarn lint && jest e2e --config e2e/jest.config.js",
|
|
|
|
"cypress": "percy exec -- cypress run",
|
|
|
|
"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",
|
2021-07-15 19:42:40 +02:00
|
|
|
"dev": "webpack serve --config webpack.config.e2e.js",
|
2019-11-17 21:41:55 +01:00
|
|
|
"test": "yarn lint && jest src/.*",
|
2021-02-26 03:43:28 +01:00
|
|
|
"test:watch": "jest --watch src",
|
2020-10-08 19:43:29 +02:00
|
|
|
"prepublishOnly": "yarn build && yarn test",
|
2020-04-04 17:38:30 +02:00
|
|
|
"prepare": "yarn build"
|
2014-11-03 00:02:29 +01:00
|
|
|
},
|
2014-11-22 17:53:02 +01:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2019-06-15 14:28:13 +02:00
|
|
|
"url": "https://github.com/knsv/mermaid"
|
2014-11-22 17:53:02 +01:00
|
|
|
},
|
2015-03-01 16:48:16 +01:00
|
|
|
"author": "Knut Sveidqvist",
|
2014-12-09 20:42:31 +01:00
|
|
|
"license": "MIT",
|
2017-04-11 16:57:57 +02:00
|
|
|
"standard": {
|
|
|
|
"ignore": [
|
|
|
|
"**/parser/*.js",
|
2019-09-11 18:53:05 +02:00
|
|
|
"dist/**/*.js",
|
|
|
|
"cypress/**/*.js"
|
2019-05-30 19:27:27 +02:00
|
|
|
],
|
|
|
|
"globals": [
|
|
|
|
"page"
|
2017-04-11 16:57:57 +02:00
|
|
|
]
|
|
|
|
},
|
2014-12-02 19:05:09 +01:00
|
|
|
"dependencies": {
|
2021-07-15 10:14:35 +02:00
|
|
|
"@braintree/sanitize-url": "^3.1.0",
|
2021-07-15 19:12:38 +02:00
|
|
|
"d3": "^7.0.0",
|
2021-07-07 18:06:09 +02:00
|
|
|
"dagre": "^0.8.5",
|
2019-12-03 22:05:39 +01:00
|
|
|
"dagre-d3": "^0.6.4",
|
2021-09-21 09:32:00 +02:00
|
|
|
"dompurify": "2.3.3",
|
2021-07-07 18:06:09 +02:00
|
|
|
"graphlib": "^2.1.8",
|
|
|
|
"khroma": "^1.4.1",
|
|
|
|
"moment-mini": "^2.24.0",
|
|
|
|
"stylis": "^4.0.10"
|
2014-12-02 19:05:09 +01:00
|
|
|
},
|
2014-11-03 00:02:29 +01:00
|
|
|
"devDependencies": {
|
2021-07-07 17:09:08 +02:00
|
|
|
"@babel/core": "^7.14.6",
|
2021-07-29 21:48:46 +02:00
|
|
|
"@babel/eslint-parser": "^7.14.7",
|
2021-07-07 17:09:08 +02:00
|
|
|
"@babel/preset-env": "^7.14.7",
|
|
|
|
"@babel/register": "^7.14.5",
|
2021-07-07 16:41:22 +02:00
|
|
|
"@percy/cli": "^1.0.0-beta.58",
|
|
|
|
"@percy/cypress": "^3.1.0",
|
2021-08-21 05:04:50 +02:00
|
|
|
"@percy/migrate": "^0.11.0",
|
2021-07-15 10:14:35 +02:00
|
|
|
"babel-jest": "^27.0.6",
|
2021-07-07 17:09:08 +02:00
|
|
|
"babel-loader": "^8.2.2",
|
2018-12-17 07:56:26 +01:00
|
|
|
"coveralls": "^3.0.2",
|
2017-09-12 15:33:39 +02:00
|
|
|
"css-to-string-loader": "^0.1.3",
|
2021-09-20 23:46:14 +02:00
|
|
|
"cypress": "8.4.1",
|
2021-07-15 13:44:06 +02:00
|
|
|
"documentation": "13.2.0",
|
2021-07-15 11:35:12 +02:00
|
|
|
"eslint": "^7.30.0",
|
|
|
|
"eslint-config-prettier": "^8.3.0",
|
2021-09-21 07:58:55 +02:00
|
|
|
"eslint-plugin-prettier": "^4.0.0",
|
2021-07-15 13:44:06 +02:00
|
|
|
"husky": "^7.0.1",
|
2018-03-10 01:42:59 +01:00
|
|
|
"identity-obj-proxy": "^3.0.0",
|
2021-07-15 10:14:35 +02:00
|
|
|
"jest": "^27.0.6",
|
2017-09-02 17:44:00 +02:00
|
|
|
"jison": "^0.4.18",
|
2021-09-21 00:24:31 +02:00
|
|
|
"js-base64": "3.7.1",
|
2019-06-04 03:14:35 +02:00
|
|
|
"moment": "^2.23.0",
|
2021-07-15 11:35:12 +02:00
|
|
|
"prettier": "^2.3.2",
|
2021-07-07 17:04:14 +02:00
|
|
|
"start-server-and-test": "^1.12.6",
|
2021-07-15 19:17:47 +02:00
|
|
|
"terser-webpack-plugin": "^4.2.3",
|
2019-12-08 10:42:41 +01:00
|
|
|
"webpack": "^4.41.2",
|
2021-07-15 19:52:31 +02:00
|
|
|
"webpack-cli": "^4.7.2",
|
2021-09-20 23:19:22 +02:00
|
|
|
"webpack-dev-server": "^4.2.1",
|
2021-07-15 19:18:00 +02:00
|
|
|
"webpack-node-externals": "^3.0.0"
|
2017-06-01 07:38:08 +02:00
|
|
|
},
|
|
|
|
"files": [
|
2019-06-04 03:17:14 +02:00
|
|
|
"dist"
|
2018-03-10 01:42:59 +01:00
|
|
|
],
|
2020-05-13 19:14:18 +02:00
|
|
|
"sideEffects": [
|
|
|
|
"**/*.css",
|
|
|
|
"**/*.scss"
|
2020-07-20 10:49:43 +02:00
|
|
|
],
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-push": "yarn test"
|
|
|
|
}
|
|
|
|
}
|
2021-07-07 16:41:22 +02:00
|
|
|
}
|