-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
138 lines (138 loc) · 4.06 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
131
132
133
134
135
136
137
138
{
"name": "mscgenjs-inpage",
"version": "5.0.1",
"description": "Embed and render sequence charts in HTML",
"main": "dist/mscgen-inpage.js",
"repository": {
"type": "git",
"url": "git+https://github.com/mscgenjs/mscgenjs-inpage.git"
},
"author": "Sander Verweij",
"license": "GPL-3.0",
"keywords": [
"mscgen",
"embed",
"sequence chart",
"sequence diagram",
"xu",
"msgenny"
],
"bugs": {
"url": "https://github.com/mscgenjs/mscgenjs-inpage/issues"
},
"homepage": "https://github.com/mscgenjs/mscgenjs-inpage",
"files": [
"dist/mscgen-inpage.js",
"dist/mscgen-inpage.js.map",
"package.json",
"README.md",
"COPYING"
],
"devDependencies": {
"c8": "10.1.2",
"clean-pkg-json": "1.2.0",
"dependency-cruiser": "16.3.6",
"eslint": "^8.57.0",
"eslint-config-moving-meadow": "4.0.2",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-budapestian": "6.0.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-mocha": "10.4.3",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-security": "3.0.1",
"eslint-plugin-unicorn": "54.0.0",
"mscgenjs": "7.0.2",
"npm-run-all": "4.1.5",
"prettier": "3.3.3",
"upem": "9.0.4",
"webpack": "5.93.0",
"webpack-cli": "5.1.4"
},
"upem": {
"policies": [
{
"package": "chai",
"policy": "wanted",
"because": "chai >=5 are ESM only, and we're not on ESM yet"
},
{
"package": "eslint",
"policy": "wanted",
"because": "the ecosystem doesn't use eslint 9 yet"
}
]
},
"scripts": {
"build": "webpack",
"check": "run-p depcruise lint test:cover",
"depcruise": "depcruise -v -- src test",
"depcruise:graph": "run-p depcruise:graph:*",
"depcruise:graph:html": "depcruise -T x-dot-webpage -v -- src > docs/dependencygraph.html",
"depcruise:graph:png": "depcruise -T dot -v -- src | dot -Gdpi=192 -T png | pngquant - > docs/dependencygraph.png",
"lint": "npm-run-all lint:eslint lint:prettier",
"lint:eslint": "eslint src test",
"lint:prettier": "prettier --check {src,test}/**/*.js *.{json,md} .github",
"lint:fix": "npm-run-all lint:fix:eslint lint:fix:prettier",
"lint:fix:eslint": "eslint --fix src test",
"lint:fix:prettier": "prettier --write {src,test}/**/*.js *.{json,yml,md} .github",
"prepack": "clean-pkg-json --dry --keep overrides --keep resolutions | jq '.scripts = {test: \"echo for test, build and static analysis scripts: see the github repository\"}' > smaller-package.json && mv smaller-package.json package.json",
"postpack": "git restore package.json",
"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:stage": "git add .",
"test": "node --test test/**/*.spec.js",
"test:cover": "c8 npm test",
"update-dependencies": "run-s upem:update upem:install lint:fix check",
"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"
},
"eslintConfig": {
"extends": [
"moving-meadow"
],
"parserOptions": {
"ecmaVersion": 2020
},
"env": {
"browser": true
},
"rules": {
"complexity": [
"warn",
7
],
"sort-imports": "off",
"import/no-relative-parent-imports": "off"
},
"overrides": [
{
"files": [
"test/**/*.js"
],
"env": {
"mocha": true
},
"rules": {
"node/global-require": "off",
"max-lines-per-function": "off",
"func-names": "off",
"no-magic-numbers": "off"
}
}
]
},
"eslintIgnore": [
"dist",
"node_modules",
"coverage",
"wikum"
],
"engines": {
"node": "^18.20||^20.15||>=22.4"
}
}