forked from Spl0itable/nosflare
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 2.33 KB
/
Copy pathpackage.json
File metadata and controls
67 lines (67 loc) · 2.33 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
{
"name": "opendating",
"version": "0.1.0",
"description": "OpenDating protocol — privacy-first decentralized dating on Nostr. Reference relay (Cloudflare Workers + D1 + Durable Objects), protocol npm package, and client integration specification.",
"keywords": [
"opendating",
"nostr",
"relay",
"dating",
"privacy",
"decentralized",
"cloudflare-workers",
"d1",
"durable-objects",
"nip-44",
"nip-59",
"nip-17",
"end-to-end-encrypted",
"self-sovereign",
"protocol"
],
"homepage": "https://github.com/jongan69/OpenDating#readme",
"repository": {
"type": "git",
"url": "https://github.com/jongan69/OpenDating.git"
},
"bugs": {
"url": "https://github.com/jongan69/OpenDating/issues"
},
"author": "OpenDating",
"main": "worker.js",
"type": "module",
"scripts": {
"build": "esbuild src/index.ts --bundle --outfile=worker.js --platform=neutral --target=es2020 --format=esm --minify=false --keep-names --external:node:*",
"dev": "wrangler dev",
"deploy": "wrangler deploy",
"typecheck": "tsc --noEmit",
"lint": "oxlint src tests packages/protocol/src",
"test": "vitest run",
"test:watch": "vitest",
"test:unit": "vitest run tests/unit",
"test:integration": "vitest run tests/integration",
"test:security": "vitest run tests/security",
"test:protocol": "vitest run tests/opendating",
"db:migrate:local": "wrangler d1 execute opendating-relay --local --file=migrations/run-all.sql",
"db:migrate:remote": "wrangler d1 execute opendating-relay --remote --file=migrations/run-all.sql",
"ci": "npm run typecheck && npm run lint && npm run build && npm test",
"opendating:test": "vitest run --dir tests/opendating",
"opendating:test:conformance": "vitest run --dir tests/opendating/conformance",
"opendating:keys:generate": "npx tsx scripts/opendating-keys-generate.ts",
"opendating:demo": "npx tsx examples/client-demo/demo.ts",
"opendating:test:e2e": "vitest run --dir tests/opendating/e2e"
},
"dependencies": {
"@noble/ciphers": "^2.2.0",
"@noble/curves": "^1.6.0"
},
"devDependencies": {
"@cloudflare/workers-types": "^5.20260801.1",
"esbuild": "0.28.1",
"oxlint": "1.77.0",
"sql.js": "^1.14.1",
"typescript": "^7.0.2",
"vitest": "^4.1.10",
"wrangler": "^4.120.0"
}
}