-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
222 lines (222 loc) · 9.81 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
{
"name": "sputnik-v2-api",
"version": "0.0.3",
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"build-api": "nest build api",
"build-aggregator": "nest build aggregator",
"build-notifier": "nest build notifier",
"format": "prettier --write \"apps/**/*.ts\" \"libs/**/*.ts\"",
"start-api": "nest start api",
"start-api:dev": "nest start api --watch | pino-pretty",
"start-aggregator": "nest start aggregator",
"start-aggregator:dev": "nest start aggregator --watch | pino-pretty",
"start-notifier": "nest start notifier",
"start-notifier:dev": "nest start notifier --watch | pino-pretty",
"start-draft": "nest start draft",
"start-draft:dev": "nest start draft --watch | pino-pretty",
"start-indexer-processor": "nest start indexer-processor",
"start-indexer-processor:dev": "nest start indexer-processor --watch | pino-pretty",
"start": "concurrently \"yarn start-aggregator\" \"yarn start-api\" \"yarn start-notifier\"",
"start:dev": "concurrently \"yarn start-aggregator:dev\" \"yarn start-api:dev\" \"yarn start-notifier:dev\"",
"start-migrations": "nest start migrations",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"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-api:e2e": "jest --config ./apps/api/test/jest-e2e.json",
"test-aggregator:e2e": "jest --config ./apps/aggregator/test/jest-e2e.json",
"test-notifier:e2e": "jest --config ./apps/notifier/test/jest-e2e.json",
"typeorm": "npx ts-node --transpile-only ./node_modules/typeorm/cli.js",
"migration:show": "npm run typeorm migration:show",
"migration:run": "npm run typeorm migration:run",
"migration:generate": "npm run typeorm migration:generate -- -n SchemaRefactoring",
"migration:revert": "npm run typeorm migration:revert",
"schema:log": "npm run typeorm schema:log",
"schema:sync": "npm run typeorm schema:sync",
"schema:drop": "npm run typeorm schema:drop"
},
"dependencies": {
"@hapi/joi": "^17.1.1",
"@nestjs/axios": "^0.0.3",
"@nestjs/common": "^8.4.7",
"@nestjs/config": "^2.1.0",
"@nestjs/core": "^8.4.7",
"@nestjs/microservices": "^8.4.7",
"@nestjs/platform-express": "^8.4.7",
"@nestjs/platform-socket.io": "^8.4.7",
"@nestjs/schedule": "^2.0.1",
"@nestjs/swagger": "^5.2.1",
"@nestjs/throttler": "^2.0.0",
"@nestjs/typeorm": "^8.0.4",
"@nestjs/websockets": "^8.4.7",
"@nestjsx/crud": "^5.0.0-alpha.3",
"@nestjsx/crud-request": "^5.0.0-alpha.3",
"@nestjsx/crud-typeorm": "^5.0.0-alpha.3",
"@notifi-network/notifi-axios-utils": "^0.8.0",
"@notifi-network/notifi-node": "^0.11.1",
"@opensearch-project/opensearch": "^2.0.0",
"@supercharge/promise-pool": "^1.7.0",
"@types/cache-manager": "^3.4.2",
"amqp-connection-manager": "^3.2.2",
"amqplib": "^0.8.0",
"aws-sdk": "^2.937.0",
"bcrypt": "^5.0.1",
"cache-manager": "^3.4.4",
"cache-manager-redis-store": "^2.0.0",
"camelcase-keys": "^7.0.0",
"class-transformer": "^0.4.0",
"class-validator": "^0.13.1",
"dd-trace": "^2.10.0",
"exponential-backoff": "^3.1.0",
"hot-shots": "^9.2.0",
"ioredis": "^4.14.1",
"launchdarkly-node-server-sdk": "^6.4.3",
"luxon": "^3.1.0",
"mongodb": "^3.7.3",
"near-api-js": "^1.1.0",
"nestjs-ddtrace": "^1.0.4",
"nestjs-opensearch": "^0.2.0",
"nestjs-pino": "^2.6.0",
"object-hash": "^2.2.0",
"parse-redis-url-simple": "^1.0.2",
"pg": "^8.6.0",
"pino-http": "^7.1.0",
"prom-client": "^14.0.1",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^7.3.0",
"socket.io": "^4.2.0",
"swagger-ui-express": "^4.1.6",
"twilio": "^3.75.0",
"ts-loader": "^8.0.18",
"ts-node": "^9.1.1",
"tsconfig-paths": "^3.12.0",
"typeorm": "^0.2.45",
"typeorm-naming-strategies": "^2.0.0",
"typescript-retry-decorator": "^2.0.6",
"typescript": "^4.2.3",
"uuid": "^9.0.0"
},
"devDependencies": {
"@nestjs/cli": "^8.2.8",
"@nestjs/schematics": "^8.0.11",
"@nestjs/testing": "^8.4.7",
"@types/express": "^4.17.11",
"@types/hapi__joi": "^17.1.6",
"@types/ioredis": "^4.27.4",
"@types/jest": "^26.0.22",
"@types/luxon": "^3.1.0",
"@types/node": "^14.14.36",
"@types/object-hash": "^2.2.1",
"@types/supertest": "^2.0.10",
"@typescript-eslint/eslint-plugin": "^4.19.0",
"@typescript-eslint/parser": "^4.19.0",
"concurrently": "^6.2.1",
"eslint": "^7.22.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.3.1",
"jest": "^26.6.3",
"pino-pretty": "^9.1.1",
"prettier": "^2.2.1",
"supertest": "^6.1.3",
"ts-jest": "^26.5.4"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": ".",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "./coverage",
"testEnvironment": "node",
"roots": [
"<rootDir>/apps/",
"<rootDir>/libs/"
],
"moduleNameMapper": {
"sputnik-v2/config/(.*)": "<rootDir>/libs/config/src/$1",
"sputnik-v2/config": "<rootDir>/libs/config/src",
"sputnik-v2/common/(.*)": "<rootDir>/libs/common/src/$1",
"sputnik-v2/common": "<rootDir>/libs/common/src",
"@sputnik-v2/subscription/(.*)": "<rootDir>/libs/subscription/src/$1",
"@sputnik-v2/subscription": "<rootDir>/libs/subscription/src",
"@sputnik-v2/dao/(.*)": "<rootDir>/libs/dao/src/$1",
"@sputnik-v2/dao": "<rootDir>/libs/dao/src",
"@sputnik-v2/dao-funds/(.*)": "<rootDir>/libs/dao-funds/src/$1",
"@sputnik-v2/dao-funds": "<rootDir>/libs/dao-funds/src",
"@sputnik-v2/dao-settings/(.*)": "<rootDir>/libs/dao-settings/src/$1",
"@sputnik-v2/dao-settings": "<rootDir>/libs/dao-settings/src",
"@sputnik-v2/account/(.*)": "<rootDir>/libs/account/src/$1",
"@sputnik-v2/account": "<rootDir>/libs/account/src",
"@sputnik-v2/near-indexer/(.*)": "<rootDir>/libs/near-indexer/src/$1",
"@sputnik-v2/near-indexer": "<rootDir>/libs/near-indexer/src",
"@sputnik-v2/bounty/(.*)": "<rootDir>/libs/bounty/src/$1",
"@sputnik-v2/bounty": "<rootDir>/libs/bounty/src",
"@sputnik-v2/event/(.*)": "<rootDir>/libs/event/src/$1",
"@sputnik-v2/event": "<rootDir>/libs/event/src",
"@sputnik-v2/near-api/(.*)": "<rootDir>/libs/near-api/src/$1",
"@sputnik-v2/near-api": "<rootDir>/libs/near-api/src",
"@sputnik-v2/utils/(.*)": "<rootDir>/libs/utils/src/$1",
"@sputnik-v2/utils": "<rootDir>/libs/utils/src",
"@sputnik-v2/proposal/(.*)": "<rootDir>/libs/proposal/src/$1",
"@sputnik-v2/proposal": "<rootDir>/libs/proposal/src",
"@sputnik-v2/sputnikdao/(.*)": "<rootDir>/libs/sputnikdao/src/$1",
"@sputnik-v2/sputnikdao": "<rootDir>/libs/sputnikdao/src",
"@sputnik-v2/token/(.*)": "<rootDir>/libs/token/src/$1",
"@sputnik-v2/token": "<rootDir>/libs/token/src",
"@sputnik-v2/transaction/(.*)": "<rootDir>/libs/transaction/src/$1",
"@sputnik-v2/transaction": "<rootDir>/libs/transaction/src",
"@sputnik-v2/cache/(.*)": "<rootDir>/libs/cache/src/$1",
"@sputnik-v2/cache": "<rootDir>/libs/cache/src",
"@sputnik-v2/transaction-handler/(.*)": "<rootDir>/libs/transaction-handler/src/$1",
"@sputnik-v2/transaction-handler": "<rootDir>/libs/transaction-handler/src",
"@sputnik-v2/migrations/(.*)": "<rootDir>/libs/migrations/src/$1",
"@sputnik-v2/migrations": "<rootDir>/libs/migrations/src",
"@sputnik-v2/notification/(.*)": "<rootDir>/libs/notification/src/$1",
"@sputnik-v2/notification": "<rootDir>/libs/notification/src",
"@sputnik-v2/comment/(.*)": "<rootDir>/libs/comment/src/$1",
"@sputnik-v2/comment": "<rootDir>/libs/comment/src",
"@sputnik-v2/opensearch/(.*)": "<rootDir>/libs/opensearch/src/$1",
"@sputnik-v2/opensearch": "<rootDir>/libs/opensearch/src",
"@sputnik-v2/stats/(.*)": "<rootDir>/libs/stats/src/$1",
"@sputnik-v2/stats": "<rootDir>/libs/stats/src",
"@sputnik-v2/notifi-client/(.*)": "<rootDir>/libs/notifi-client/src/$1",
"@sputnik-v2/notifi-client": "<rootDir>/libs/notifi-client/src",
"@sputnik-v2/otp/(.*)": "<rootDir>/libs/otp/src/$1",
"@sputnik-v2/otp": "<rootDir>/libs/otp/src",
"@sputnik-v2/proposal-template/(.*)": "<rootDir>/libs/proposal-template/src/$1",
"@sputnik-v2/proposal-template": "<rootDir>/libs/proposal-template/src",
"@sputnik-v2/draft-proposal/(.*)": "<rootDir>/libs/draft-proposal/src/$1",
"@sputnik-v2/draft-proposal": "<rootDir>/libs/draft-proposal/src",
"@sputnik-v2/draft-comment/(.*)": "<rootDir>/libs/draft-comment/src/$1",
"@sputnik-v2/draft-comment": "<rootDir>/libs/draft-comment/src",
"@sputnik-v2/draft-hashtag/(.*)": "<rootDir>/libs/draft-hashtag/src/$1",
"@sputnik-v2/draft-hashtag": "<rootDir>/libs/draft-hashtag/src",
"@sputnik-v2/websocket/(.*)": "<rootDir>/libs/websocket/src/$1",
"@sputnik-v2/websocket": "<rootDir>/libs/websocket/src",
"@sputnik-v2/dao-api/(.*)": "<rootDir>/libs/dao-api/src/$1",
"@sputnik-v2/dao-api": "<rootDir>/libs/dao-api/src",
"@sputnik-v2/error-tracker/(.*)": "<rootDir>/libs/error-tracker/src/$1",
"@sputnik-v2/error-tracker": "<rootDir>/libs/error-tracker/src",
"@sputnik-v2/dynamodb/(.*)": "<rootDir>/libs/dynamodb/src/$1",
"@sputnik-v2/dynamodb": "<rootDir>/libs/dynamodb/src",
"@sputnik-v2/feature-flags/(.*)": "<rootDir>/libs/feature-flags/src/$1",
"@sputnik-v2/feature-flags": "<rootDir>/libs/feature-flags/src"
}
}
}