-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
23 lines (23 loc) · 881 Bytes
/
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
{
"name": "chad",
"version": "0.1.0",
"description": "Chat to ChatGPT via Slack",
"main": "src/index.ts",
"scripts": {
"tail": "npx wrangler tail",
"start": "npx wrangler dev --port=8021 --local",
"start:local-bypass": "trap 'npm run delete-local-var; kill 0' SIGINT; npm run tunnel & npm run set-local-var & npm start",
"tunnel": "cloudflared tunnel run --url localhost:8021 chad-local",
"set-local-var": "npx wrangler --binding=CHAD --preview=false kv:key put LOCAL_BYPASS_ENABLED true",
"delete-local-var": "npx wrangler --binding=CHAD --preview=false kv:key delete LOCAL_BYPASS_ENABLED",
"publish": "npx wrangler publish src/index.ts"
},
"author": "Noman",
"license": "MIT",
"devDependencies": {
"@cloudflare/workers-types": "^4.20230221.0",
"typescript": "^4.9.5",
"vitest": "^0.29.1",
"wrangler": "^3.13.1"
}
}