-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
115 lines (115 loc) · 3.48 KB
/
package.json
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "nostr-relay-nestjs",
"version": "2.2.0",
"description": "A high-performance nostr relay, using PostgreSQL",
"author": "codytseng",
"private": true,
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/CodyTseng/nostr-relay-nestjs"
},
"scripts": {
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\"",
"migration:run": "ts-node scripts/migrate-to-latest.ts",
"migration:revert": "ts-node scripts/migrate-down.ts",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/src/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"lint:check": "eslint --max-warnings 0 \"{src,apps,libs,test}/**/*.ts\"",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json"
},
"dependencies": {
"@nestjs/common": "^10.4.4",
"@nestjs/config": "^3.2.3",
"@nestjs/core": "^10.4.4",
"@nestjs/platform-express": "^10.4.4",
"@nestjs/schedule": "^4.1.1",
"@nestjs/swagger": "^7.4.2",
"@nestjs/throttler": "^5.2.0",
"@nestjs/websockets": "^10.4.4",
"@nostr-relay/common": "^0.0.36",
"@nostr-relay/core": "^0.0.36",
"@nostr-relay/created-at-limit-guard": "^0.0.3",
"@nostr-relay/or-guard": "^0.0.4",
"@nostr-relay/pow-guard": "^0.0.3",
"@nostr-relay/throttler": "^0.0.5",
"@nostr-relay/validator": "^0.0.36",
"@nostr-relay/wot-guard": "^0.0.11",
"another-nestjs-ws-adapter": "^10.1.0",
"hbs": "^4.2.0",
"helmet": "^8.0.0",
"kysely": "^0.27.4",
"lodash": "^4.17.21",
"meilisearch": "^0.43.0",
"meilisearch-helper": "^1.2.0",
"nestjs-pino": "^4.1.0",
"nostr-tools": "^2.7.2",
"pg": "^8.13.0",
"pino-http": "^10.3.0",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1",
"tdigest": "^0.1.2",
"zod": "^3.23.8",
"zod-validation-error": "^3.4.0"
},
"devDependencies": {
"@eslint/js": "^9.11.1",
"@golevelup/ts-jest": "^0.5.0",
"@nestjs/cli": "^10.4.5",
"@nestjs/schematics": "^10.1.4",
"@nestjs/testing": "^10.4.4",
"@types/express": "^5.0.0",
"@types/hbs": "^4.0.4",
"@types/jest": "29.5.13",
"@types/lodash": "^4.17.9",
"@types/node": "18.15.3",
"@types/pg": "^8.11.10",
"@types/supertest": "^6.0.2",
"@types/tdigest": "^0.1.4",
"@types/ws": "^8.5.12",
"@typescript-eslint/eslint-plugin": "^8.8.0",
"@typescript-eslint/parser": "^8.8.0",
"eslint": "^9.11.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"globals": "^15.10.0",
"jest": "29.7.0",
"prettier": "^3.3.3",
"source-map-support": "^0.5.21",
"supertest": "^7.0.0",
"ts-jest": "29.2.5",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "^5.6.2",
"typescript-eslint": "^8.8.0"
},
"jest": {
"clearMocks": true,
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"maxWorkers": 1
}
}