2017-04-10 16:36:54 +08:00
|
|
|
{
|
2014-11-03 00:02:29 +01:00
|
|
|
"name": "mermaid",
|
2020-10-31 11:14:39 +01:00
|
|
|
"version": "8.8.3",
|
2017-04-19 18:37:55 +08:00
|
|
|
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
2017-09-09 21:47:21 +08:00
|
|
|
"main": "dist/mermaid.core.js",
|
2015-03-01 16:48:16 +01:00
|
|
|
"keywords": [
|
|
|
|
"diagram",
|
|
|
|
"markdown",
|
|
|
|
"flowchart",
|
|
|
|
"sequence diagram",
|
2017-04-19 18:37:55 +08:00
|
|
|
"gantt",
|
|
|
|
"class diagram",
|
|
|
|
"git graph"
|
2015-03-01 16:48:16 +01:00
|
|
|
],
|
2014-11-03 00:02:29 +01:00
|
|
|
"scripts": {
|
2020-06-01 14:44:53 +02:00
|
|
|
"build:development": "webpack --progress --colors",
|
|
|
|
"build:production": "yarn build:development -p --config webpack.config.prod.babel.js",
|
|
|
|
"build": "yarn build:development && yarn build:production",
|
2020-11-01 11:08:47 +01:00
|
|
|
"postbuild": "documentation build src/mermaidAPI.js src/config.js --shallow -f md --markdown-toc false > docs/Setup.md",
|
2017-09-09 00:58:41 +08:00
|
|
|
"build:watch": "yarn build --watch",
|
2019-03-10 18:23:11 +01:00
|
|
|
"minify": "minify ./dist/mermaid.js > ./dist/mermaid.min.js",
|
2020-06-01 14:44:53 +02:00
|
|
|
"release": "yarn build",
|
2019-09-12 12:55:56 -07: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 08:32:27 -07:00
|
|
|
"e2e-upd": "yarn lint && jest e2e -u --config e2e/jest.config.js",
|
2019-09-11 18:53:05 +02:00
|
|
|
"dev": "webpack-dev-server --config webpack.config.e2e.js",
|
2019-11-17 21:41:55 +01:00
|
|
|
"test": "yarn lint && jest src/.*",
|
2019-05-30 19:27:27 +02:00
|
|
|
"test:watch": "jest --watch src",
|
2020-10-08 19:43:29 +02:00
|
|
|
"prepublishOnly": "yarn build && yarn test",
|
2020-04-04 16:38:30 +01: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 22:57:57 +08: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 22:57:57 +08:00
|
|
|
]
|
|
|
|
},
|
2014-12-02 19:05:09 +01:00
|
|
|
"dependencies": {
|
2019-07-22 02:18:09 -07:00
|
|
|
"@braintree/sanitize-url": "^3.1.0",
|
2020-07-29 18:38:59 +02:00
|
|
|
"babel-eslint": "^10.1.0",
|
2018-12-17 14:56:26 +08:00
|
|
|
"d3": "^5.7.0",
|
2019-10-21 14:34:04 +05:30
|
|
|
"dagre": "^0.8.4",
|
2019-12-03 22:05:39 +01:00
|
|
|
"dagre-d3": "^0.6.4",
|
2020-05-13 19:14:18 +02:00
|
|
|
"entity-decode": "^2.0.2",
|
2019-10-21 14:34:04 +05:30
|
|
|
"graphlib": "^2.1.7",
|
2018-12-17 14:56:26 +08:00
|
|
|
"he": "^1.2.0",
|
2020-07-18 15:15:50 +02:00
|
|
|
"khroma": "^1.1.0",
|
2019-03-10 18:23:11 +01:00
|
|
|
"minify": "^4.1.1",
|
2019-07-14 02:44:46 -07:00
|
|
|
"moment-mini": "^2.22.1",
|
2020-07-16 20:27:42 +02:00
|
|
|
"stylis": "^3.5.2"
|
2014-12-02 19:05:09 +01:00
|
|
|
},
|
2014-11-03 00:02:29 +01:00
|
|
|
"devDependencies": {
|
2018-12-17 14:56:26 +08:00
|
|
|
"@babel/core": "^7.2.2",
|
2020-02-16 08:54:17 +01:00
|
|
|
"@babel/preset-env": "^7.8.4",
|
2018-12-17 14:56:26 +08:00
|
|
|
"@babel/register": "^7.0.0",
|
2020-02-16 09:30:08 +01:00
|
|
|
"@percy/cypress": "*",
|
2018-12-17 14:56:26 +08:00
|
|
|
"babel-core": "7.0.0-bridge.0",
|
2019-12-03 22:05:39 +01:00
|
|
|
"babel-jest": "^24.9.0",
|
2018-12-17 14:56:26 +08:00
|
|
|
"babel-loader": "^8.0.4",
|
|
|
|
"coveralls": "^3.0.2",
|
|
|
|
"css-loader": "^2.0.1",
|
2017-09-12 21:33:39 +08:00
|
|
|
"css-to-string-loader": "^0.1.3",
|
2020-02-16 19:47:14 +01:00
|
|
|
"cypress": "4.0.1",
|
2019-12-03 22:05:39 +01:00
|
|
|
"documentation": "^12.0.1",
|
|
|
|
"eslint": "^6.3.0",
|
|
|
|
"eslint-config-prettier": "^6.3.0",
|
|
|
|
"eslint-plugin-prettier": "^3.1.0",
|
2018-12-17 14:56:26 +08:00
|
|
|
"husky": "^1.2.1",
|
2018-03-10 08:42:59 +08:00
|
|
|
"identity-obj-proxy": "^3.0.0",
|
2019-11-17 21:41:55 +01:00
|
|
|
"jest": "^24.9.0",
|
2017-09-02 23:44:00 +08:00
|
|
|
"jison": "^0.4.18",
|
2019-06-04 03:14:35 +02:00
|
|
|
"moment": "^2.23.0",
|
2019-10-06 13:15:36 -03:00
|
|
|
"node-sass": "^4.12.0",
|
2019-12-03 22:05:39 +01:00
|
|
|
"prettier": "^1.18.2",
|
2019-05-31 14:20:43 +02:00
|
|
|
"puppeteer": "^1.17.0",
|
2018-12-17 14:56:26 +08:00
|
|
|
"sass-loader": "^7.1.0",
|
2019-12-03 22:05:39 +01:00
|
|
|
"start-server-and-test": "^1.10.6",
|
2019-12-08 10:42:41 +01:00
|
|
|
"terser-webpack-plugin": "^2.2.2",
|
|
|
|
"webpack": "^4.41.2",
|
2020-05-13 19:14:18 +02:00
|
|
|
"webpack-bundle-analyzer": "^3.7.0",
|
2018-12-17 14:56:26 +08:00
|
|
|
"webpack-cli": "^3.1.2",
|
2019-05-31 14:20:43 +02:00
|
|
|
"webpack-dev-server": "^3.4.1",
|
2018-12-17 14:56:26 +08:00
|
|
|
"webpack-node-externals": "^1.7.2",
|
|
|
|
"yarn-upgrade-all": "^0.5.0"
|
2017-06-01 13:38:08 +08:00
|
|
|
},
|
|
|
|
"files": [
|
2019-06-04 03:17:14 +02:00
|
|
|
"dist"
|
2018-03-10 08:42:59 +08:00
|
|
|
],
|
2018-12-17 14:56:26 +08:00
|
|
|
"yarn-upgrade-all": {
|
|
|
|
"ignore": [
|
|
|
|
"babel-core"
|
|
|
|
]
|
2020-05-13 19:14:18 +02:00
|
|
|
},
|
|
|
|
"sideEffects": [
|
|
|
|
"**/*.css",
|
|
|
|
"**/*.scss"
|
2020-07-20 04:49:43 -04:00
|
|
|
],
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-push": "yarn test"
|
|
|
|
}
|
|
|
|
}
|
2019-07-14 02:44:46 -07:00
|
|
|
}
|