Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 2.2 KB
/
Copy pathpackage.json
File metadata and controls
56 lines (56 loc) · 2.2 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
46
47
48
49
50
51
52
53
54
55
56
{
"name": "ownlist",
"version": "1.4.0",
"description": "Serverless newsletter on your own Cloudflare account — signup, compliant one-click unsubscribe, and campaigns to your own list. Bring your own email sender.",
"private": true,
"license": "MIT",
"scripts": {
"cf-typegen": "wrangler types",
"check": "tsc && wrangler deploy --dry-run",
"deploy": "wrangler deploy",
"predeploy": "wrangler d1 migrations apply DB --remote",
"dev": "npm run seedLocalD1 && wrangler dev",
"seedLocalD1": "wrangler d1 migrations apply DB --local",
"test:e2e": "playwright test",
"test:e2e:codegen": "playwright codegen http://localhost:8787"
},
"cloudflare": {
"label": "Ownlist",
"products": [
"Workers",
"D1"
],
"bindings": {
"ADMIN_TOKEN": {
"description": "Password that protects your send page (/admin). Use a long, random string."
},
"FROM_NAME": {
"description": "The name your emails are sent from, e.g. \"Jane's Newsletter\"."
},
"FROM_EMAIL": {
"description": "The address your emails are sent from, once you connect an email provider in src/email.ts."
},
"DOUBLE_OPT_IN": {
"description": "Set to \"true\" to require subscribers to confirm via a link before they're added (needs email configured). Default \"false\" (single opt-in)."
},
"NOTIFY_EMAIL": {
"description": "Your own address: get a short notification email whenever a subscription becomes active (needs email configured). Leave blank to disable."
},
"SHOW_CREDIT": {
"description": "Shows a small \"Powered by Ownlist\" link on the public pages and in the email footer. Set to \"pages\" or \"email\" to show it only there, or \"false\" to hide it."
},
"SEND_BATCH": {
"description": "Queued emails delivered per minutely background run. The default 40 fits the free plan; raise it on the paid plan or when sendEmailBatch is implemented in src/email.ts."
}
}
},
"dependencies": {
"hono": "^4.6.14"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20260101.0",
"@playwright/test": "^1.61.1",
"typescript": "5.9.3",
"wrangler": "4.88.0"
}
}