-
Notifications
You must be signed in to change notification settings - Fork 39
/
package.json
121 lines (121 loc) · 4.36 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
{
"name": "@vpalmisano/webrtcperf",
"version": "3.0.0",
"repository": {
"type": "git",
"url": "https://github.com/vpalmisano/webrtcperf.git"
},
"author": {
"name": "Vittorio Palmisano",
"url": "https://github.com/vpalmisano"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"main": "build/src/index.js",
"types": "build/src/index.d.ts",
"files": [
"build",
"scripts",
"src"
],
"bin": {
"webrtcperf": "app.min.js"
},
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"prepare": "yarn lint && tsc -b && webpack",
"prepublishOnly": "yarn lint",
"postversion": "git push && git push origin $(git tag | sort -V | tail -1)",
"release:patch": "yarn && yarn docs && npm version patch && npm publish",
"release:minor": "yarn && yarn docs && npm version minor && npm publish",
"release:major": "yarn && yarn docs && npm version major && npm publish",
"start": "node app.min.js",
"start:dev": "tsc -b && node build/src/app.js",
"test": "",
"build:docker": "yarn && docker build --platform linux/amd64 -t ghcr.io/vpalmisano/webrtcperf:devel .",
"push:docker": "docker push ghcr.io/vpalmisano/webrtcperf:devel",
"clean": "rm -rf app.min.js build _docs",
"lint": "eslint src scripts examples",
"lint:fix": "yarn lint --fix",
"docs": "tsc -b && node build/src/generate-config-docs.js && typedoc",
"build:linux": "nexe --make=\"-j$(nproc 2> /dev/null || echo 1)\" --verbose --build -i app.min.js -o webrtcperf -r 'scripts/*' -r package.json && gzip -9 -c webrtcperf > webrtcperf_${npm_package_version}_linux.gz",
"build:macos": "nexe --target mac-x64-14.15.3 -i app.min.js -o webrtcperf -r 'scripts/*' -r package.json && gzip -9 -c webrtcperf > webrtcperf_${npm_package_version}_macos.gz && rm webrtcperf",
"build:windows": "nexe --target windows-x64-14.15.3 -i app.min.js -o webrtcperf -r 'scripts/*' -r package.json && zip webrtcperf_${npm_package_version}_windows.zip webrtcperf.exe && rm webrtcperf.exe",
"build:all": "yarn && yarn build:linux && yarn build:macos && yarn build:windows"
},
"license": "AGPL-3.0-or-later",
"dependencies": {
"@puppeteer/browsers": "^2.4.0",
"@vpalmisano/throttler": "https://github.com/vpalmisano/throttler#2d9c45fb17e2541745ef87d2b0f5493e979ac293",
"axios": "^1.7.7",
"chalk": "^4.1.2",
"change-case": "^4.1.2",
"compression": "^1.7.4",
"convict": "^6.2.4",
"convict-format-with-validator": "^6.2.0",
"debug-level": "^3.2.0",
"express": "^4.21.0",
"express-basic-auth": "^1.2.1",
"fast-stats": "^0.0.7",
"form-data": "^4.0.0",
"ipaddr.js": "^2.2.0",
"json5": "^2.2.3",
"lorem-ipsum": "^2.0.8",
"node-cache": "^5.1.2",
"node-os-utils": "^1.3.7",
"pidtree": "^0.6.0",
"pidusage": "^3.0.2",
"prom-client": "^15.1.3",
"puppeteer": "^23.4.0",
"puppeteer-core": "^23.4.0",
"puppeteer-intercept-and-modify-requests": "^1.3.1",
"sdp-transform": "^2.14.2",
"sprintf-js": "^1.1.3",
"tar-fs": "^3.0.6",
"word-wrap": "^1.2.5",
"ws": "^8.18.0"
},
"devDependencies": {
"@eslint/js": "^9.13.0",
"@types/compression": "^1.7.5",
"@types/convict": "^6.1.6",
"@types/convict-format-with-validator": "^6.0.5",
"@types/fast-stats": "^0.0.35",
"@types/node": "^20.16.5",
"@types/node-os-utils": "^1.3.4",
"@types/pidusage": "^2.0.5",
"@types/sdp-transform": "^2.4.9",
"@types/sprintf-js": "^1.1.4",
"@types/tar-fs": "^2.0.4",
"@types/ws": "^8.5.12",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^8.12.2",
"eslint": "^9.13.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unused-imports": "^4.1.4",
"globals": "^15.11.0",
"nexe": "^4.0.0-rc.6",
"prettier": "^3.3.3",
"terser-webpack-plugin": "^5.3.10",
"ts-loader": "^9.5.1",
"typedoc": "^0.26.10",
"typescript": "^5.6.3",
"typescript-eslint": "^8.12.2",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4",
"webpack-node-externals": "^3.0.0",
"yarn-upgrade-minor": "^1.0.13"
},
"optionalDependencies": {
"chart.js": "^3.5.1",
"chartjs-node-canvas": "^4.1.6",
"zeromq": "^6.1.1"
}
}