-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
119 lines (119 loc) · 3.98 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
{
"name": "mscgenjs-cli",
"version": "6.0.0",
"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": "^14.1.0||^16||^18"
},
"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": "8.11.0",
"commander": "9.4.0",
"get-stream": "6.0.1",
"lodash": "4.17.21",
"mscgenjs": "6.0.2",
"mscgenjs-inpage": "4.0.5",
"puppeteer": "16.2.0",
"semver": "7.3.7"
},
"devDependencies": {
"@types/chai": "4.3.3",
"@types/chai-as-promised": "7.1.5",
"@types/lodash": "4.14.184",
"@types/mocha": "9.1.1",
"@types/node": "18.7.8",
"@types/puppeteer": "5.4.6",
"@types/semver": "7.3.12",
"chai": "4.3.6",
"chai-as-promised": "7.1.1",
"dependency-cruiser": "11.15.0",
"mocha": "10.0.0",
"npm-run-all": "4.1.5",
"nyc": "15.1.0",
"prettier": "2.7.1",
"shx": "0.3.4",
"ts-node": "10.9.1",
"typescript": "4.7.4",
"upem": "7.3.0"
},
"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 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 -T svg | depcruise-wrap-stream-in-html > docs/dependencygraph.html",
"depcruise:graph:png": "depcruise --output-type dot --validate -- src | dot -Gdpi=192 -T png | pngquant - > docs/dependencygraph.png",
"lint:fix": "npm-run-all lint:prettier",
"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-outdated": "npm outdated --json --long | upem --dry-run",
"upem:update": "npm outdated --json --long | upem | pbcopy && pbpaste",
"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"
]
}
}