Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
45 lines (45 loc) · 2.14 KB
/
Copy pathpackage.json
File metadata and controls
45 lines (45 loc) · 2.14 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
36
37
38
39
40
41
42
43
44
45
{
"name": "wasmd-registry-worker",
"version": "0.1.0",
"private": true,
"type": "module",
"engines": {
"node": ">=22"
},
"scripts": {
"build": "node tools/build-worker.mjs",
"dev": "npm run build && wrangler d1 migrations apply DB --local && wrangler dev",
"deploy": "npm run build && node tools/deploy-worker.mjs",
"deploy:dashboard": "npm run build && node tools/deploy-dashboard.mjs",
"check": "tsc --noEmit",
"test": "npm run build && npm run check && wrangler deploy --dry-run --outdir dist/worker && node --test worker/tests/*.test.mjs"
},
"devDependencies": {
"@cloudflare/workers-types": "5.20260911.1",
"dompurify": "3.4.15",
"esbuild": "0.28.2",
"jsdom": "30.0.1",
"jsonc-parser": "3.3.1",
"marked": "18.0.13",
"miniflare": "5.20260911.0-alpha",
"typescript": "5.9.3",
"wasm-pack": "0.15.0",
"wrangler": "4.131.1"
},
"cloudflare": {
"bindings": {
"DB": {
"description": "Select an existing Registry D1 database or choose **Create new**. Accounts, namespaces and releases are stored here. Deployment applies pending migrations to your selected database before publishing the Worker. When reusing a Registry database, also select its matching R2 bucket."
},
"BLOBS": {
"description": "Select an existing Registry R2 bucket or choose **Create new**. Stores WebAssembly artifacts; keep the bucket private. When reusing a Registry database, select its matching bucket. R2 must be enabled on your Cloudflare account."
},
"GITHUB_CLIENT_ID": {
"description": "Paste the **Client ID** from a [GitHub OAuth App](https://github.com/settings/developers). Use your final Worker URL as the Homepage URL and append `/v1/auth/github/callback` for the Authorization callback URL. [Setup guide](https://github.com/liusha-com/registry#create-a-github-oauth-app)."
},
"GITHUB_CLIENT_SECRET": {
"description": "Paste the **Client Secret** generated by the same GitHub OAuth App as GITHUB_CLIENT_ID. Cloudflare stores this as a Worker secret. This is an OAuth App client secret, not a GitHub personal access token."
}
}
}
}