-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
151 lines (151 loc) · 5.58 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
{
"name": "astro-stats-api",
"version": "0.0.1",
"description": "AstroStats API backend",
"author": "",
"private": true,
"license": "UNLICENSED",
"engines": {
"node": ">=16"
},
"scripts": {
"build": "nest build",
"build-api": "nest build api",
"build-astro": "nest build astro",
"build-aggregator": "nest build aggregator",
"format": "prettier --write \"apps/**/*.ts\" \"libs/**/*.ts\"",
"start-api": "nest start api",
"start-api:dev": "nest start api --watch",
"start-aggregator": "nest start aggregator",
"start-aggregator:dev": "nest start aggregator --watch",
"start": "concurrently \"yarn start-aggregator\" \"yarn start-api\"",
"start:dev": "concurrently \"yarn start-aggregator:dev\" \"yarn start-api:dev\"",
"start-migrations": "nest start migrations",
"start-historical-aggregation": "DATABASE_MIGRATIONS_LIST=HistoricalAggregationMigration yarn 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",
"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": {
"@medibloc/nestjs-request-context": "1.0.1",
"@nestjs/axios": "0.0.5",
"@nestjs/common": "8.4.7",
"@nestjs/config": "1.2.1",
"@nestjs/core": "8.4.7",
"@nestjs/microservices": "8.4.7",
"@nestjs/platform-express": "8.4.7",
"@nestjs/schedule": "1.1.0",
"@nestjs/swagger": "5.2.1",
"@nestjs/typeorm": "8.0.4",
"@supercharge/promise-pool": "1.9.0",
"@type-cacheable/core": "10.1.2",
"@type-cacheable/lru-cache-adapter": "10.0.2",
"@types/cache-manager": "3.4.3",
"axios": "0.25.0",
"cache-manager": "3.6.3",
"cache-manager-redis-store": "2.0.0",
"class-transformer": "0.5.1",
"class-validator": "0.13.2",
"cron": "1.8.2",
"decimal.js": "10.4.3",
"dotenv": "16.0.3",
"ioredis": "4.28.5",
"js-yaml": "4.1.0",
"lru-cache": "6.0.0",
"moment": "2.29.4",
"near-api-js": "0.43.1",
"parse-redis-url-simple": "1.0.2",
"pg": "8.8.0",
"reflect-metadata": "0.1.13",
"rimraf": "3.0.2",
"rxjs": "7.8.0",
"swagger-ui-express": "4.6.0",
"ts-loader": "9.4.2",
"ts-node": "10.9.1",
"tsconfig-paths": "4.1.1",
"typeorm": "0.2.45",
"typeorm-naming-strategies": "2.0.0",
"typescript": "4.8.4"
},
"devDependencies": {
"@nestjs/cli": "8.2.8",
"@nestjs/schematics": "8.0.11",
"@nestjs/testing": "8.4.7",
"@types/cron": "1.7.3",
"@types/express": "4.17.15",
"@types/ioredis": "4.28.10",
"@types/jest": "27.5.2",
"@types/js-yaml": "4.0.5",
"@types/node": "16.18.11",
"@types/supertest": "2.0.12",
"@typescript-eslint/eslint-plugin": "5.47.1",
"@typescript-eslint/parser": "5.47.1",
"concurrently": "6.5.1",
"eslint": "8.30.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.2.1",
"jest": "26.6.3",
"prettier": "2.8.1",
"supertest": "6.3.3",
"ts-jest": "26.5.6"
},
"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": {
"@dao-stats/config/(.*)": "<rootDir>/libs/config/src/$1",
"@dao-stats/config": "<rootDir>/libs/config/src",
"@dao-stats/common/(.*)": "<rootDir>/libs/common/src/$1",
"@dao-stats/common": "<rootDir>/libs/common/src",
"@dao-stats/cache/(.*)": "<rootDir>/libs/cache/src/$1",
"@dao-stats/cache": "<rootDir>/libs/cache/src",
"@dao-stats/redis/(.*)": "<rootDir>/libs/redis/src/$1",
"@dao-stats/redis": "<rootDir>/libs/redis/src",
"@dao-stats/migrations/(.*)": "<rootDir>/libs/migrations/src/$1",
"@dao-stats/migrations": "<rootDir>/libs/migrations/src",
"@dao-stats/near/(.*)": "<rootDir>/libs/near/src/$1",
"@dao-stats/near": "<rootDir>/libs/near/src",
"@dao-stats/near-indexer/(.*)": "<rootDir>/libs/near-indexer/src/$1",
"@dao-stats/near-indexer": "<rootDir>/libs/near-indexer/src",
"@dao-stats/receipt/(.*)": "<rootDir>/libs/receipt/src/$1",
"@dao-stats/receipt": "<rootDir>/libs/receipt/src",
"@dao-stats/astro/(.*)": "<rootDir>/libs/astro/src/$1",
"@dao-stats/astro": "<rootDir>/libs/astro/src",
"@dao-stats/exchange/(.*)": "<rootDir>/libs/exchange/src/$1",
"@dao-stats/exchange": "<rootDir>/libs/exchange/src",
"@dao-stats/sputnik-dao/(.*)": "<rootDir>/libs/sputnik-dao/src/$1",
"@dao-stats/sputnik-dao": "<rootDir>/libs/sputnik-dao/src",
"@dao-stats/transaction/(.*)": "<rootDir>/libs/transaction/src/$1",
"@dao-stats/transaction": "<rootDir>/libs/transaction/src"
}
}
}