-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
130 lines (130 loc) · 4.99 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
{
"name": "mx-liquid-staking-aggregator-service",
"version": "0.0.1",
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"build:common": "nest build common",
"build:timescaledb": "nest build timescaledb",
"format": "prettier --write \"apps/**/*.ts\" \"libs/**/*.ts\"",
"start:aggregator:mainnet": "npm run copy-apps-providers && npm run copy-mainnet-config && npm run copy-assets && TZ=UTC nest start aggregator",
"start:aggregator:custom:debug": "npm run copy-apps-providers && npm run copy-custom-config && npm run copy-assets && TZ=UTC nest start aggregator --watch --debug",
"test:custom": "npm run copy-custom-config && npm run copy-assets && TZ=UTC && jest --network=custom",
"test:mainnet": "npm run copy-mainnet-config && npm run copy-assets && TZ=UTC && jest --network=mainnet",
"test:devnet": "npm run copy-devnet-config && npm run copy-assets && TZ=UTC && jest --network=devnet",
"test:testnet": "npm run copy-testnet-config && npm run copy-assets && TZ=UTC && jest --network=testnet",
"copy-config": "run-script-os",
"lint": "eslint \"{apps,libs}/**/*.ts\"",
"lint:fix": "eslint \"{apps,libs}/**/*.ts\" --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"typeormcli:config": "node --require ts-node/register ./node_modules/typeorm/cli.js -d typeorm.config.ts",
"typeormcli": "node --require ts-node/register ./node_modules/typeorm/cli.js",
"migration:generate": "yarn build:timescaledb && ts-node ./scripts/migrations/generate-migration.ts",
"migration:run": "yarn build:timescaledb && yarn typeormcli:config migration:run",
"copy-assets": "cpx config/config.yaml dist/config/",
"copy-custom-config": "cp ./config/config.custom.yaml ./config/config.yaml",
"copy-mainnet-config": "cp ./config/config.mainnet.yaml ./config/config.yaml",
"copy-devnet-config": "cp ./config/config.devnet.yaml ./config/config.yaml",
"copy-testnet-config": "cp ./config/config.testnet.yaml ./config/config.yaml",
"copy-apps-providers": "cp -r ./providers ./apps/aggregator/src/providers"
},
"dependencies": {
"@multiversx/sdk-exchange": "^0.2.18",
"@multiversx/sdk-nestjs-auth": "^2.0.0-beta.3",
"@multiversx/sdk-nestjs-cache": "^2.0.0-beta.3",
"@multiversx/sdk-nestjs-common": "^2.0.0-beta.3",
"@multiversx/sdk-nestjs-elastic": "^2.0.0-beta.3",
"@multiversx/sdk-nestjs-http": "^2.0.0-beta.3",
"@multiversx/sdk-nestjs-monitoring": "^2.0.0-beta.3",
"@multiversx/sdk-nestjs-rabbitmq": "^2.0.0-beta.3",
"@multiversx/sdk-nestjs-redis": "^2.0.0-beta.3",
"@nestjs/common": "^10.2.5",
"@nestjs/config": "^3.1.0",
"@nestjs/core": "^10.2.5",
"@nestjs/event-emitter": "^2.0.2",
"@nestjs/graphql": "^12.0.9",
"@nestjs/microservices": "^10.2.5",
"@nestjs/passport": "^10.0.2",
"@nestjs/platform-express": "^10.2.5",
"@nestjs/schedule": "^3.0.3",
"@nestjs/swagger": "^7.1.11",
"@nestjs/typeorm": "^10.0.0",
"apollo-server-plugin-base": "^3.7.2",
"axios": "^1.4.0",
"graphql": "^16.7.1",
"ioredis": "^5.3.2",
"js-yaml": "^4.1.0",
"minimist": "^1.2.8",
"moment": "^2.29.4",
"pg": "^8.11.3",
"reflect-metadata": "^0.1.13",
"request-ip": "^3.3.0",
"rxjs": "^7.8.1",
"typeorm": "^0.3.17"
},
"devDependencies": {
"@nestjs/cli": "^10.1.17",
"@nestjs/schematics": "^10.0.2",
"@nestjs/testing": "^10.1.0",
"@types/cron": "^2.4.0",
"@types/express": "^4.17.17",
"@types/jest": "^29.5.4",
"@types/js-yaml": "^4.0.5",
"@types/minimist": "^1.2.2",
"@types/node": "20.4.2",
"@types/request-ip": "^0.0.38",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"cpx": "^1.5.0",
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-boundaries": "^3.1.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^5.0.0",
"jest": "29.6.1",
"mysql2": "^3.5.2",
"prettier": "^3.0.0",
"run-script-os": "^1.1.6",
"source-map-support": "^0.5.21",
"supertest": "^6.3.3",
"ts-jest": "29.1.1",
"ts-loader": "^9.4.4",
"ts-node": "^10.9.1",
"tsconfig-paths": "4.2.0",
"typescript": "^5.2.2"
},
"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": {
"^@libs/common(|/.*)$": "<rootDir>/libs/common/src/$1",
"^@libs/core(|/.*)$": "<rootDir>/libs/core/src/$1",
"^@libs/timescaledb(|/.*)$": "<rootDir>/libs/timescaledb/src/$1"
}
}
}