-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.44 KB
/
package.json
File metadata and controls
78 lines (78 loc) · 2.44 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "@cloudflare/mpp-proxy",
"version": "0.1.0",
"description": "Cloudflare Worker reverse proxy with MPP payment-gated routes and stateless JWT authentication",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/cloudflare/mpp-proxy.git"
},
"homepage": "https://github.com/cloudflare/mpp-proxy#readme",
"bugs": {
"url": "https://github.com/cloudflare/mpp-proxy/issues"
},
"engines": {
"node": ">=20"
},
"keywords": [
"cloudflare-workers",
"mpp",
"tempo",
"payments",
"proxy"
],
"cloudflare": {
"label": "MPP Payment-Gated Proxy",
"products": [
"Workers"
],
"categories": [
"starter"
],
"publish": true,
"preview_image_url": "https://imagedelivery.net/wSMYJvS3Xw-n339CbDyDIA/26abc75c-56c4-4c74-ba7e-e16c10f96a00/preview",
"preview_icon_url": "https://imagedelivery.net/wSMYJvS3Xw-n339CbDyDIA/9b1345c4-7bfe-4be2-89fd-80cd59985e00/public",
"healthCheckPath": "/__mpp/health",
"bindings": {
"JWT_SECRET": {
"description": "Secret key for signing JWT authentication tokens. Generate with `openssl rand -hex 32`"
},
"MPP_SECRET_KEY": {
"description": "Secret key for signing MPP payment challenges. Generate with `openssl rand -hex 32`"
},
"PAY_TO": {
"description": "Tempo recipient wallet for all collected MPP fees. Generate with `cast wallet new` or any other tool that supports EVM wallets"
},
"PAYMENT_CURRENCY": {
"description": "Accepted payment currency for paywalled requests. Default is USDC on Tempo Mainnet"
}
}
},
"dependencies": {
"hono": "4.11.1",
"mppx": "^0.4.11"
},
"devDependencies": {
"@types/node": "^25.5.0",
"@typescript-eslint/eslint-plugin": "8.50.0",
"@typescript-eslint/parser": "8.50.0",
"eslint": "9.39.2",
"eslint-config-prettier": "10.1.8",
"prettier": "3.7.4",
"tsx": "4.21.0",
"viem": "^2.47.4",
"wrangler": "4.75.0"
},
"scripts": {
"cf-typegen": "wrangler types --env-interface CloudflareBindings",
"deploy": "wrangler deploy --minify",
"dev": "wrangler dev",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "npm run typecheck && npm run format:check && eslint .",
"lint:fix": "prettier --write . && eslint . --fix",
"test:client": "tsx test-client.ts",
"typecheck": "tsc --noEmit"
},
"type": "module"
}