Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 2.42 KB
/
Copy pathpackage.json
File metadata and controls
71 lines (71 loc) · 2.42 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
{
"name": "hashpay",
"version": "0.1.0",
"description": "A Cloudflare Workers crypto payment gateway with D1, Queues, Cron Triggers, Telegram, and a Vue admin console.",
"license": "Apache-2.0",
"private": true,
"type": "module",
"cloudflare": {
"label": "HashPay",
"products": ["Workers", "D1", "Queues"],
"categories": ["storage"],
"publish": false,
"bindings": {
"ASSETS": {
"description": "Worker Assets generated by `npm run build` and served with SPA fallback."
},
"DB": {
"description": "D1 database used for configs, merchants, payment channels, orders, notifications, and reviews. Apply migrations with `npm run db:migrate:remote` after creating the database."
},
"QUEUE_NOTIFY": {
"description": "Cloudflare Queue used to deliver merchant callback notifications asynchronously."
},
"TGBOT_TOKEN": {
"description": "Worker secret containing the Telegram Bot token used for webhook, Mini App, login, and inline payment flows."
},
"APP_SECRET": {
"description": "Worker secret used to sign admin sessions and login challenges. Use a long random value."
}
}
},
"scripts": {
"build": "vite build",
"cf-typegen": "wrangler types",
"check": "vue-tsc --noEmit && tsc --noEmit",
"cron:test": "wrangler dev --test-scheduled",
"db:migrate:local": "wrangler d1 migrations apply hashpay --local",
"db:migrate:remote": "wrangler d1 migrations apply hashpay --remote",
"deploy": "wrangler deploy --keep-vars",
"deploy:dry": "npm run build && wrangler deploy --dry-run",
"deploy:preview": "wrangler versions upload",
"dev": "vite",
"dev:worker": "wrangler dev",
"start": "wrangler dev",
"test": "vitest run"
},
"dependencies": {
"@vitejs/plugin-vue": "^6.0.1",
"decimal.js": "^10.6.0",
"grammy": "^1.44.0",
"hono": "^4.10.7",
"jose": "^6.1.3",
"naive-ui": "^2.44.1",
"qrcode": "^1.5.4",
"vue": "^3.5.25",
"vue-router": "^4.6.4",
"zod": "^4.1.13"
},
"devDependencies": {
"@cloudflare/vite-plugin": "^1.40.2",
"@cloudflare/vitest-pool-workers": "^0.16.15",
"@cloudflare/workers-types": "^4.20260613.1",
"@types/node": "^24.10.0",
"@types/qrcode": "^1.5.6",
"sass-embedded": "^1.96.0",
"typescript": "^5.9.3",
"vite": "^7.2.7",
"vitest": "^4.0.15",
"vue-tsc": "^3.1.8",
"wrangler": "^4.100.0"
}
}