Implement exporter using nocap from nostr-watch along with tests
This commit is contained in:
+16
-6
@@ -1,17 +1,27 @@
|
||||
{
|
||||
"name": "relay-exporter",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"description": "Prometheus exporter for Nostr relay health checks",
|
||||
"type": "module",
|
||||
"main": "dist/index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"dev": "tsx watch src/index.ts",
|
||||
"build": "tsc -p tsconfig.json",
|
||||
"start": "node dist/index.js",
|
||||
"test": "tsx --test test/config.test.ts test/smoke.test.ts"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"keywords": [
|
||||
"nostr",
|
||||
"prometheus",
|
||||
"exporter"
|
||||
],
|
||||
"license": "MIT",
|
||||
"packageManager": "pnpm@10.28.0",
|
||||
"dependencies": {
|
||||
"@nostrwatch/nocap": "^0.9.2",
|
||||
"@nostrwatch/nocap-every-adapter-default": "^1.7.0",
|
||||
"nostr-tools": "^2.23.3",
|
||||
"p-limit": "^7.3.0",
|
||||
"prom-client": "^15.1.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user