-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
35 lines (35 loc) · 1.18 KB
/
Copy pathpackage.json
File metadata and controls
35 lines (35 loc) · 1.18 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": "workers-for-platforms-template",
"version": "1.0.0",
"description": "A template for building website hosting platforms using Cloudflare Workers for Platforms. Deploy static sites and custom Workers code through a simple web interface.",
"license": "Apache-2.0",
"engines": {
"node": ">=18"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20240329.0",
"typescript": "^5.0.0",
"wrangler": "^4.54.0"
},
"scripts": {
"dev": "wrangler dev --remote",
"build": "node scripts/setup-quick.js",
"deploy": "wrangler deploy && node scripts/setup-quick.js --set-secrets",
"setup": "node scripts/setup.js",
"setup:quick": "node scripts/setup-quick.js"
},
"dependencies": {
"hono": "^4.2.1",
"workers-qb": "^0.1.1"
},
"cloudflare": {
"bindings": {
"CUSTOM_DOMAIN": {
"description": "(Optional) Your platform's domain, e.g. `myplatform.com`. Leave empty to use workers.dev"
},
"CLOUDFLARE_API_TOKEN": {
"description": "(Optional) API token with **SSL and Certificates Edit** permission for custom domain support. [Create token](https://dash.cloudflare.com/profile/api-tokens)"
}
}
}
}