-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 3.68 KB
/
package.json
File metadata and controls
107 lines (107 loc) · 3.68 KB
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
{
"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": "^20.15||^22.4||>=24"
},
"bugs": {
"url": "https://github.com/mscgenjs/mscgenjs-cli/issues"
},
"homepage": "https://github.com/mscgenjs/mscgenjs-cli",
"repository": {
"type": "git",
"url": "git+https://github.com/mscgenjs/mscgenjs-cli.git"
},
"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.18.0",
"commander": "14.0.3",
"get-stream": "6.0.1",
"mscgenjs": "8.0.0",
"mscgenjs-inpage": "6.0.0",
"puppeteer": "24.40.0",
"semver": "7.7.4"
},
"devDependencies": {
"@types/mocha": "9.1.1",
"@types/node": "25.5.2",
"@types/puppeteer": "5.4.6",
"@types/semver": "7.3.12",
"c8": "11.0.0",
"dependency-cruiser": "17.3.10",
"mocha": "11.7.5",
"npm-run-all2": "8.0.4",
"prettier": "3.8.1",
"ts-node": "10.9.2",
"typescript": "5.9.3",
"upem": "10.0.4"
},
"overrides": {
"mocha": {
"diff": "^8.0.3",
"serialize-javascript": "^7.0.3"
}
},
"scripts": {
"build": "npm-run-all build:clean build:compile build:copy",
"build:clean": "rm -rf dist/*",
"build:compile": "tsc --project src/tsconfig.json",
"build:copy": "npm-run-all build:copy-template build:copy-schema",
"build:copy-template": "cp src/actions/template.html dist/actions/template.html",
"build:copy-schema": "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",
"format": "prettier --write {src,test}/**/*.ts src/**/*.{json,html}",
"lint:fix": "npm-run-all format",
"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": "c8 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"
}
}