-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
59 lines (59 loc) · 2.78 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
{
"name": "dertunnel",
"version": "0.6.20",
"description": "A ngrok-style tunnel client/server",
"main": "index.js",
"scripts": {
"server": "node -r esbuild-register src/server/index.ts",
"client": "node -r esbuild-register src/client/cli.ts",
"token": "node -r esbuild-register src/create-token.ts",
"test": "jest",
"compile": "tsc --noemit",
"licenses": "node ./licenses.js ./dist",
"lint": "eslint src/ --ext .ts",
"ci": "npm run compile && npm run lint && npm run test && npm run package",
"bundle": "npm run licenses && npm run server:bundle && npm run client:bundle && npm run ui:bundle && npm run client:lib",
"server:bundle": "esbuild --target=es2022 --bundle --minify --platform=node --metafile=./dist/dertunnel-server-meta.json --outfile=./dist/dertunnel-server.js ./src/server/index.ts",
"client:bundle": "esbuild --target=es2022 --bundle --minify --platform=node --metafile=./dist/dertunnel-client-meta.json --outfile=./dist/dertunnel-client.js ./src/client/cli.ts",
"client:lib": "esbuild --target=es2022 --bundle --minify --platform=node --outfile=./packages/dertunnel/index.js ./src/client/client.ts && cd packages/dertunnel && npm pack --pack-destination ../../dist && cd ../..",
"client:package": "pkg --public --no-bytecode -c ./pkg.client.json ./dist/dertunnel-client.js",
"server:package": "pkg --public --no-bytecode -c ./pkg.server.json ./dist/dertunnel-server.js",
"package": "npm run bundle && npm run server:package && npm run client:package",
"ui:bundle": "esbuild --target=es2022 --bundle --minify --sourcemap --outfile=./public/bundle.js ./src/ui/index.tsx",
"ui:watch": "esbuild --target=es2022 --watch --bundle --sourcemap --outfile=./public/bundle.js ./src/ui/index.tsx"
},
"keywords": [
"tunnel"
],
"author": "faulpeltz",
"license": "MIT",
"devDependencies": {
"@types/dns2": "2.0.9",
"@types/express": "5.0.0",
"@types/jest": "29.5.14",
"@types/node": "22.10.2",
"@types/prompts": "~2.4.9",
"@typescript-eslint/eslint-plugin": "8.18.0",
"@typescript-eslint/parser": "8.18.0",
"@yao-pkg/pkg": "6.1.1",
"esbuild": "0.24.0",
"esbuild-register": "3.6.0",
"eslint": "8.57.1",
"eslint-plugin-jest": "28.9.0",
"jest": "29.7.0",
"license-compliance": "3.0.1",
"typescript": "5.7.2"
},
"dependencies": {
"acme-client": "5.4.0",
"chalk": "5.3.0",
"commander": "12.1.0",
"conf": "10.2.0",
"dns2": "2.1.0",
"express": "4.21.2",
"lru-cache": "11.0.2",
"nanoid": "5.0.9",
"prompts": "2.4.2",
"rate-limiter-flexible": "5.0.4"
}
}