UNPKG

3.24 kBJSONView Raw
1{
2 "name": "mermaid",
3 "version": "8.7.0",
4 "description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
5 "main": "dist/mermaid.core.js",
6 "keywords": [
7 "diagram",
8 "markdown",
9 "flowchart",
10 "sequence diagram",
11 "gantt",
12 "class diagram",
13 "git graph"
14 ],
15 "scripts": {
16 "build:development": "webpack --progress --colors",
17 "build:production": "yarn build:development -p --config webpack.config.prod.babel.js",
18 "build": "yarn build:development && yarn build:production",
19 "postbuild": "documentation build src/mermaidAPI.js src/config.js --shallow -f md --markdown-toc false -o docs/Setup.md",
20 "build:watch": "yarn build --watch",
21 "minify": "minify ./dist/mermaid.js > ./dist/mermaid.min.js",
22 "release": "yarn build",
23 "lint": "eslint src",
24 "e2e:depr": "yarn lint && jest e2e --config e2e/jest.config.js",
25 "cypress": "percy exec -- cypress run",
26 "e2e": "start-server-and-test dev http://localhost:9000/ cypress",
27 "e2e-upd": "yarn lint && jest e2e -u --config e2e/jest.config.js",
28 "dev": "webpack-dev-server --config webpack.config.e2e.js",
29 "test": "yarn lint && jest src/.*",
30 "test:watch": "jest --watch src",
31 "prepublishOnly": "yarn build && yarn test && yarn e2e",
32 "prepare": "yarn build"
33 },
34 "repository": {
35 "type": "git",
36 "url": "https://github.com/knsv/mermaid"
37 },
38 "author": "Knut Sveidqvist",
39 "license": "MIT",
40 "standard": {
41 "ignore": [
42 "**/parser/*.js",
43 "dist/**/*.js",
44 "cypress/**/*.js"
45 ],
46 "globals": [
47 "page"
48 ]
49 },
50 "dependencies": {
51 "@braintree/sanitize-url": "^3.1.0",
52 "babel-eslint": "^10.1.0",
53 "d3": "^5.7.0",
54 "dagre": "^0.8.4",
55 "dagre-d3": "^0.6.4",
56 "entity-decode": "^2.0.2",
57 "graphlib": "^2.1.7",
58 "he": "^1.2.0",
59 "khroma": "^1.1.0",
60 "minify": "^4.1.1",
61 "moment-mini": "^2.22.1",
62 "stylis": "^3.5.2"
63 },
64 "devDependencies": {
65 "@babel/core": "^7.2.2",
66 "@babel/preset-env": "^7.8.4",
67 "@babel/register": "^7.0.0",
68 "@percy/cypress": "*",
69 "babel-core": "7.0.0-bridge.0",
70 "babel-jest": "^24.9.0",
71 "babel-loader": "^8.0.4",
72 "coveralls": "^3.0.2",
73 "css-loader": "^2.0.1",
74 "css-to-string-loader": "^0.1.3",
75 "cypress": "4.0.1",
76 "documentation": "^12.0.1",
77 "eslint": "^6.3.0",
78 "eslint-config-prettier": "^6.3.0",
79 "eslint-plugin-prettier": "^3.1.0",
80 "husky": "^1.2.1",
81 "identity-obj-proxy": "^3.0.0",
82 "jest": "^24.9.0",
83 "jison": "^0.4.18",
84 "moment": "^2.23.0",
85 "node-sass": "^4.12.0",
86 "prettier": "^1.18.2",
87 "puppeteer": "^1.17.0",
88 "sass-loader": "^7.1.0",
89 "start-server-and-test": "^1.10.6",
90 "terser-webpack-plugin": "^2.2.2",
91 "webpack": "^4.41.2",
92 "webpack-bundle-analyzer": "^3.7.0",
93 "webpack-cli": "^3.1.2",
94 "webpack-dev-server": "^3.4.1",
95 "webpack-node-externals": "^1.7.2",
96 "yarn-upgrade-all": "^0.5.0"
97 },
98 "files": [
99 "dist"
100 ],
101 "yarn-upgrade-all": {
102 "ignore": [
103 "babel-core"
104 ]
105 },
106 "sideEffects": [
107 "**/*.css",
108 "**/*.scss"
109 ],
110 "husky": {
111 "hooks": {
112 "pre-push": "yarn test"
113 }
114 }
115}