/
package.json
130 lines (130 loc) · 4.38 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "mscgenjs-cli",
"version": "3.0.8",
"description": "Render sequence charts from the command line",
"author": "Sander Verweij",
"contributors": [
{
"name": "djMax (Max Metral)",
"url": "https://github.com/djMax"
}
],
"license": "GPL-3.0",
"engines": {
"node": "^10||^12||>=13"
},
"bugs": {
"url": "https://github.com/mscgenjs/mscgenjs-cli/issues"
},
"homepage": "https://github.com/mscgenjs/mscgenjs-cli",
"repository": {
"type": "git",
"url": "https://github.com/mscgenjs/mscgenjs-cli"
},
"bin": {
"mscgen_js": "bin/mscgen_js",
"mscgenjs": "bin/mscgen_js"
},
"main": "dist/index.js",
"files": [
"bin/",
"dist/",
"package.json",
"README.md",
"COPYPING",
"LICENSE.md"
],
"keywords": [
"mscgen",
"sequence chart",
"sequence diagram",
"xu",
"msgenny"
],
"dependencies": {
"ajv": "6.12.2",
"commander": "5.1.0",
"get-stream": "5.1.0",
"lodash": "4.17.15",
"mscgenjs": "5.0.0",
"mscgenjs-inpage": "3.0.0",
"puppeteer": "2.1.1",
"semver": "7.3.2"
},
"devDependencies": {
"@types/chai": "4.2.11",
"@types/chai-as-promised": "7.1.2",
"@types/lodash": "4.14.150",
"@types/mocha": "7.0.2",
"@types/node": "13.13.4",
"@types/puppeteer": "2.0.1",
"@types/semver": "7.1.0",
"chai": "4.2.0",
"chai-as-promised": "7.1.1",
"dependency-cruiser": "9.0.0",
"mocha": "7.1.2",
"npm-run-all": "4.1.5",
"nyc": "15.0.1",
"prettier": "2.0.5",
"shx": "0.3.2",
"ts-node": "8.9.1",
"tslint": "6.1.2",
"tslint-config-prettier": "1.18.0",
"typescript": "3.8.3",
"upem": "4.0.0"
},
"upem": {
"donotup": [
{
"package": "puppeteer",
"because": "puppeteer 3.0.1 doesn't install correctly on node 14: https://github.com/puppeteer/puppeteer/issues/5719"
}
]
},
"scripts": {
"build": "npm-run-all build:clean build:compile build:copy",
"build:clean": "shx rm -rf dist/*",
"build:compile": "tsc --project src/tsconfig.json",
"build:copy": "npm-run-all build:copy-template build:copy-schema",
"build:copy-template": "shx cp src/actions/template.html dist/actions/template.html",
"build:copy-schema": "shx cp src/cli/puppeteer-options.schema.json dist/cli/.",
"check": "npm-run-all build lint depcruise test:cover",
"depcruise": "depcruise --validate -- src test",
"depcruise:graph": "npm-run-all --parallel depcruise:graph:*",
"depcruise:graph:html": "depcruise --output-type dot --validate -- src | dot -Gsplines=ortho -T svg | cat docs/assets/depcruise-graph-head.snippet.html - docs/assets/depcruise-graph-foot.snippet.html > docs/dependencygraph.html",
"depcruise:graph:png": "depcruise --output-type dot --validate -- src | dot -Gsplines=ortho -Gdpi=192 -T png | pngquant - > docs/dependencygraph.png",
"lint": "tslint {src,test}/**/*.ts",
"lint:fix": "npm-run-all lint:tslint-fix lint:prettier",
"lint:tslint-fix": "tslint --format verbose --fix {src,test}/**/*.ts",
"lint:prettier": "prettier --write {src,test}/**/*.ts src/**/*.{json,html}",
"scm:push": "run-p --aggregate-output scm:push:*",
"scm:push:github": "run-p --aggregate-output scm:push:github:*",
"scm:push:github:commits": "git push",
"scm:push:github:tags": "git push --tags",
"scm:push:gitlab-mirror": "run-p --aggregate-output scm:push:gitlab-mirror:*",
"scm:push:gitlab-mirror:commits": "git push gitlab-mirror",
"scm:push:gitlab-mirror:tags": "git push --tags gitlab-mirror",
"scm:push:bitbucket-mirror": "run-p --aggregate-output scm:push:bitbucket-mirror:*",
"scm:push:bitbucket-mirror:commits": "git push bitbucket-mirror",
"scm:push:bitbucket-mirror:tags": "git push --tags bitbucket-mirror",
"scm:stage": "git add .",
"test": "mocha --require ts-node/register --timeout 10000 --recursive test/**/*.ts",
"test:cover": "nyc --extension .ts --check-coverage npm test",
"update-dependencies": "npm-run-all upem:update upem:install lint:fix depcruise build test",
"upem:update": "npm outdated --json | upem",
"upem:install": "npm install",
"version": "run-s build depcruise:graph scm:stage",
"watch": "tsc --project src/tsconfig.json --watch"
},
"nyc": {
"statements": 95,
"branches": 90,
"functions": 88,
"lines": 95,
"reporter": [
"text-summary",
"html",
"lcov"
]
}
}