-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
35 lines (35 loc) · 1.25 KB
/
Copy pathpackage.json
File metadata and controls
35 lines (35 loc) · 1.25 KB
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
{
"name": "omdbapi-proxy",
"version": "1.0.0",
"private": true,
"type": "module",
"description": "OMDb API proxy manager with Go and Cloudflare Worker versions.",
"scripts": {
"test": "cd cf && npm test",
"cf:dev": "npx wrangler@latest dev",
"cf:deploy": "npx wrangler@latest deploy",
"cf:dry-run": "npx wrangler@latest deploy --dry-run",
"cf:kv:create": "npx wrangler@latest kv namespace create omdbapi_proxy_stats --binding STATS_KV --update-config",
"cf:kv:create-preview": "npx wrangler@latest kv namespace create omdbapi_proxy_stats --preview --binding STATS_KV --update-config"
},
"engines": {
"node": ">=20"
},
"cloudflare": {
"bindings": {
"CLIENT_KEYS": {
"description": "Client access keys for callers. Supports newline, comma, or space separated values."
},
"OMDB_KEYS": {
"description": "Upstream OMDb API key pool. Supports newline, comma, or space separated values. Do not commit real keys."
},
"ADMIN_KEY": {
"description": "Admin API key for /admin/stats and /admin/reload."
},
"STATS_KV": {
"description": "Optional KV namespace binding. When configured, /metrics request counters are persisted."
}
}
},
"license": "MIT"
}