-
Notifications
You must be signed in to change notification settings - Fork 447
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.03 KB
/
Copy pathpackage.json
File metadata and controls
78 lines (78 loc) · 2.03 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": "@nostr-watch/rstate",
"version": "0.1.0",
"private": true,
"description": "NIP-66 relay intelligence state machine with ContextVM and REST Enpoints.",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"bin": {
"relayvm": "./dist/cli.js"
},
"scripts": {
"build": "tsup",
"dev": "tsx watch src/index.ts",
"start": "node dist/index.js",
"type-check": "tsc --noEmit",
"test": "vitest",
"test:ui": "vitest --ui",
"cli": "tsx src/cli.ts",
"cli:validate": "tsx src/cli.ts config:validate",
"cli:health": "tsx src/cli.ts health",
"cli:cache": "tsx src/cli.ts cache:stats",
"generate:client": "ctxcn generate",
"test:smoke": "tsx test/smoke.ts",
"test:smoke:full": "tsx test/smoke-full.ts",
"test:smoke:watch": "./test/run-smoke-tests.sh",
"docker:build": "docker build -t nostr-watch/cvm:latest .",
"docker:run": "docker-compose up",
"docker:stop": "docker-compose down"
},
"dependencies": {
"@contextvm/sdk": "^0.13.9",
"@fastify/cors": "^11.1.0",
"@fastify/swagger": "^9.5.2",
"@modelcontextprotocol/sdk": "^1.26.0",
"@noble/secp256k1": "^2.1.0",
"@nostrwatch/announce": "workspace:^",
"@nostrwatch/publisher": "workspace:^",
"@nostrwatch/utils": "workspace:^",
"@scalar/fastify-api-reference": "^1.29.6",
"ajv": "^8.20.0",
"applesauce-relay": "^4.0.0",
"dotenv": "^17.2.3",
"fastify": "^5.8.5",
"nostr-tools": "^2.11.0",
"pino": "^9.5.0",
"pino-pretty": "^13.0.0",
"ws": "^8.21.0",
"yaml": "^2.8.3"
},
"devDependencies": {
"@types/node": "^22.10.2",
"@types/ws": "^8.5.13",
"tsup": "^8.3.5",
"tsx": "^4.19.2",
"typescript": "^5.9.3",
"vitest": "^3.2.6"
},
"engines": {
"node": ">=20"
},
"keywords": [
"nostr",
"nip-66",
"mcp",
"contextvm",
"relay",
"monitoring",
"aggregation"
],
"license": "MIT"
}