UNPKG

3.19 kBJSONView Raw
1{
2 "name": "mermaid",
3 "version": "8.6.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 "prepush": "yarn test",
33 "prepare": "yarn build"
34 },
35 "repository": {
36 "type": "git",
37 "url": "https://github.com/knsv/mermaid"
38 },
39 "author": "Knut Sveidqvist",
40 "license": "MIT",
41 "standard": {
42 "ignore": [
43 "**/parser/*.js",
44 "dist/**/*.js",
45 "cypress/**/*.js"
46 ],
47 "globals": [
48 "page"
49 ]
50 },
51 "dependencies": {
52 "@braintree/sanitize-url": "^3.1.0",
53 "crypto-random-string": "^3.0.1",
54 "d3": "^5.7.0",
55 "dagre": "^0.8.4",
56 "dagre-d3": "^0.6.4",
57 "entity-decode": "^2.0.2",
58 "graphlib": "^2.1.7",
59 "he": "^1.2.0",
60 "minify": "^4.1.1",
61 "moment-mini": "^2.22.1",
62 "scope-css": "^1.2.1"
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}