-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
30 lines (30 loc) · 1.71 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
{
"name": "honostr",
"version": "1.0.0",
"scripts": {
"build": "$npm_execpath build:wrangler && $npm_execpath build:relay && $npm_execpath build:event && $npm_execpath build:req",
"build:relay": "esbuild src/workers/relay/index.ts --bundle --outfile=dist/relay-worker.js --platform=neutral --target=es2020 --format=esm",
"build:event": "esbuild src/workers/event/index.ts --bundle --outfile=dist/event-worker.js --platform=neutral --target=es2020 --format=esm",
"build:req": "esbuild src/workers/req/index.ts --bundle --outfile=dist/req-worker.js --platform=neutral --target=es2020 --format=esm",
"build:wrangler": "ts-node src/utils/build-wrangler.ts",
"dev:relay": "$npm_execpath build:wrangler && $npm_execpath build:relay && cd src/workers/relay && wrangler dev",
"dev:event": "$npm_execpath build:wrangler && $npm_execpath build:event && cd src/workers/event && wrangler dev",
"dev:req": "$npm_execpath build:wrangler && $npm_execpath build:req && cd src/workers/req && wrangler dev",
"deploy:relay": "$npm_execpath build:wrangler && $npm_execpath build:relay && cd src/workers/relay && wrangler publish --minify",
"deploy:event": "$npm_execpath build:wrangler && $npm_execpath build:event && cd src/workers/event && wrangler publish --minify",
"deploy:req": "$npm_execpath build:wrangler && $npm_execpath build:req && cd src/workers/req && wrangler publish --minify"
},
"dependencies": {
"@noble/curves": "^1.0.0",
"hono": "^4.6.12"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20241112.0",
"@types/node": "^22.10.0",
"dotenv": "^16.4.5",
"esbuild": "^0.19.2",
"ts-node": "^10.9.2",
"typescript": "^5.7.2",
"wrangler": "^3.88.0"
}
}