-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
23 lines (23 loc) · 1.03 KB
/
Copy pathpackage.json
File metadata and controls
23 lines (23 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"name": "cf-worker-ws-dev",
"version": "2.0.0",
"description": "A Cloudflare Worker-based VLESS proxy with WebSocket transport. Modular architecture for easy maintenance.",
"type": "module",
"main": "src/index.js",
"scripts": {
"deploy": "wrangler deploy",
"build": "wrangler deploy --dry-run",
"dev": "wrangler dev --remote",
"dev-local": "wrangler dev src/index.js --remote",
"bundle": "esbuild src/index.js --bundle --outfile=dist/bundle.js --format=esm --platform=browser --external:cloudflare:sockets --minify",
"obfuscate": "npm run bundle && javascript-obfuscator dist/bundle.js --output _worker.js --compact true --identifier-names-generator hexadecimal --rename-globals true --string-array true --string-array-threshold 1 --string-array-encoding base64 --transform-object-keys true --seed 0"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@cloudflare/workers-types": "^4.20230710.1",
"esbuild": "^0.27.2",
"javascript-obfuscator": "^4.1.1",
"wrangler": "^4.60.0"
}
}