2022-08-07 01:52:34 +00:00
|
|
|
{
|
|
|
|
"name": "nostr-ts-relay",
|
2022-10-14 03:15:10 +00:00
|
|
|
"version": "1.3.0",
|
2022-08-07 01:52:34 +00:00
|
|
|
"description": "A nostr relay written in Typescript.",
|
|
|
|
"main": "src/index.ts",
|
|
|
|
"scripts": {
|
|
|
|
"dev": "ts-node src/index.ts",
|
|
|
|
"dev:watch": "nodemon --watch src src/index.ts",
|
|
|
|
"clean": "rimraf ./dist",
|
2022-10-12 01:19:22 +00:00
|
|
|
"build": "tsc --project tsconfig.build.json",
|
2022-08-15 03:17:38 +00:00
|
|
|
"build:check": "tsc --noEmit",
|
2022-08-15 03:17:56 +00:00
|
|
|
"lint": "eslint ./src ./test --ext .ts",
|
2022-08-07 01:52:34 +00:00
|
|
|
"lint:fix": "npm run lint -- --fix",
|
|
|
|
"db:migrate": "knex migrate:latest",
|
|
|
|
"db:migrate:rollback": "knex migrate:rollback",
|
|
|
|
"db:seed": "knex seed:run",
|
2022-10-12 01:19:22 +00:00
|
|
|
"start": "node dist/index.js",
|
2022-08-14 05:33:57 +00:00
|
|
|
"test": "mocha 'test/**/*.spec.ts'",
|
|
|
|
"test:watch": "npm run test -- --min --watch --watch-files src/**/*,test/**/*",
|
|
|
|
"cover": "nyc npm run test",
|
2022-10-12 01:19:22 +00:00
|
|
|
"cover:watch": "nyc npm run test",
|
|
|
|
"docker:build": "docker build -t nostr-ts-relay ."
|
2022-08-07 01:52:34 +00:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/Cameri/nostr-ts-relay.git"
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"nostr"
|
|
|
|
],
|
|
|
|
"author": "Ricardo Arturo Cabral Mejía",
|
|
|
|
"license": "MIT",
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/Cameri/nostr-ts-relay/issues"
|
|
|
|
},
|
|
|
|
"homepage": "https://github.com/Cameri/nostr-ts-relay#readme",
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/chai": "^4.3.1",
|
2022-08-29 01:52:40 +00:00
|
|
|
"@types/chai-as-promised": "^7.1.5",
|
2022-08-07 01:52:34 +00:00
|
|
|
"@types/mocha": "^9.1.1",
|
|
|
|
"@types/node": "^17.0.24",
|
|
|
|
"@types/pg": "^8.6.5",
|
|
|
|
"@types/ramda": "^0.28.13",
|
|
|
|
"@types/sinon": "^10.0.11",
|
2022-08-14 05:33:57 +00:00
|
|
|
"@types/sinon-chai": "^3.2.8",
|
2022-08-07 01:52:34 +00:00
|
|
|
"@types/ws": "^8.5.3",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.19.0",
|
|
|
|
"@typescript-eslint/parser": "^5.19.0",
|
|
|
|
"chai": "^4.3.6",
|
2022-08-29 01:52:40 +00:00
|
|
|
"chai-as-promised": "^7.1.1",
|
2022-08-07 01:52:34 +00:00
|
|
|
"eslint": "^8.13.0",
|
|
|
|
"mocha": "^9.2.2",
|
2022-08-14 05:33:57 +00:00
|
|
|
"mochawesome": "^7.1.3",
|
|
|
|
"nyc": "^15.1.0",
|
2022-08-07 01:52:34 +00:00
|
|
|
"rimraf": "^3.0.2",
|
|
|
|
"sinon-chai": "^3.7.0",
|
2022-08-14 05:33:57 +00:00
|
|
|
"source-map-support": "^0.5.21",
|
2022-08-07 01:52:34 +00:00
|
|
|
"ts-node": "^10.7.0",
|
|
|
|
"ts-node-dev": "^1.1.8",
|
|
|
|
"typescript": "^4.6.3",
|
|
|
|
"uuid": "^8.3.2"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-09-22 21:47:57 +00:00
|
|
|
"@noble/secp256k1": "1.7.0",
|
|
|
|
"joi": "17.6.1",
|
|
|
|
"knex": "2.3.0",
|
|
|
|
"pg": "8.8.0",
|
2022-08-11 23:13:28 +00:00
|
|
|
"pg-query-stream": "4.2.3",
|
2022-09-22 21:47:57 +00:00
|
|
|
"ramda": "0.28.0",
|
|
|
|
"ws": "8.9.0"
|
2022-08-07 01:52:34 +00:00
|
|
|
}
|
|
|
|
}
|