-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
43 lines (43 loc) · 1.22 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
{
"name": "local-traffic",
"version": "0.1.7",
"main": "./dist/local-traffic.js",
"private": false,
"keywords": [
"reverse-proxy",
"proxy",
"h2",
"http2",
"https",
"websocket"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/libetl/local-traffic.git"
},
"author": "LiBe <libe4@free.fr>",
"scripts": {
"start": "./dist/local-traffic.js",
"typescript": "tsc",
"zipify": "node ./zipify.js ./dist/terser.js > ./dist/local-traffic.js",
"remove-useless-whitespaces": "cat ./dist/index.js | sed -e 's/^[ \t]*//' > ./dist/minified.js",
"terser": "terser ./dist/minified.js -c -m --toplevel > ./dist/terser.js",
"chmod": "chmod a+x ./dist/local-traffic.js",
"clean": "rm -rf dist",
"build": "npm run clean && npm run typescript && npm run remove-useless-whitespaces && npm run terser && npm run zipify && npm run chmod",
"crash-test": "node ./dist/local-traffic.js --crash-test",
"test": "node ./test/tests.spec.mjs"
},
"devDependencies": {
"@types/node": "^22.10.2",
"terser": "^5.37.0",
"typescript": "^5.7.2"
},
"bin": {
"local-traffic": "dist/local-traffic.js"
},
"engines": {
"node": ">=8"
}
}