forked from terra-money/terraswap-graph
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
132 lines (132 loc) · 4.52 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
{
"name": "terraswap-graph",
"version": "1.0.0",
"license": "Apache-2.0",
"main": "src/main.ts",
"scripts": {
"commithash": "GIT_COMMIT_HASH=$(git rev-parse --short HEAD)",
"dev": "nodemon --signal SIGINT --exec ts-node -e ts,json --files -r tsconfig-paths/register src/main.ts",
"start": "node --stack_size=4096 --max-old-space-size=4096 -r ts-node/register/transpile-only -r tsconfig-paths/register src/main.ts",
"collect": "node --stack_size=4096 --max-old-space-size=4096 -r ts-node/register/transpile-only -r tsconfig-paths/register src/collector/main.ts",
"migration-gen": "node --require ts-node/register -r tsconfig-paths/register ./node_modules/typeorm/cli.js migration:generate -c migration -d src/orm/migrations -n",
"migration-revert": "node --require ts-node/register -r tsconfig-paths/register ./node_modules/typeorm/cli.js migration:revert -c migration",
"migration-run": "node --require ts-node/register -r tsconfig-paths/register ./node_modules/typeorm/cli.js migration:run -c migration",
"correction": "node --stack_size=4096 --max-old-space-size=4096 -r ts-node/register/transpile-only -r tsconfig-paths/register src/adjust.ts",
"lint": "eslint '*/**/*.{js,ts,tsx}' --fix",
"test": "npm test",
"migrate": "node --stack_size=4096 --max-old-space-size=4096 -r ts-node/register/transpile-only -r tsconfig-paths/register src/migrate_col5_pairs/main.ts",
"dashboard": "npm run commithash && node --stack_size=1024 --max-old-space-size=2048 -r ts-node/register/transpile-only -r tsconfig-paths/register src/dashboard/main.ts"
},
"dependencies": {
"@nestjs/common": "^8.0.0",
"@nestjs/config": "^1.1.5",
"@nestjs/core": "^8.0.0",
"@nestjs/platform-express": "^8.0.0",
"@nestjs/platform-fastify": "^8.1.2",
"@nestjs/swagger": "^5.1.4",
"@nestjs/throttler": "^2.0.0",
"@sentry/integrations": "^6.15.0",
"@sentry/node": "^6.9.0",
"@terra-money/hive": "^0.1.0",
"@terra-money/log-finder": "^1.1.4",
"@terra-money/terra.js": "^3.0.8",
"@types/eslint": "^7.28.0",
"apollo-server-koa": "^3.0.2",
"axios": "^0.24.0",
"bignumber.js": "^9.0.1",
"bluebird": "^3.7.2",
"class-transformer": "^0.4.0",
"class-validator": "^0.13.1",
"date-fns-timezone": "^0.1.4",
"fastify-swagger": "^4.12.6",
"graphql-request": "^3.4.0",
"koa": "^2.13.1",
"koa-body": "^4.2.0",
"koa-helmet": "^6.1.0",
"koa-joi-controllers": "^1.2.3",
"koa-router": "^10.0.0",
"lodash": "^4.17.21",
"memoizee": "^0.4.15",
"memoizee-decorator": "^1.0.3",
"nest-raven": "^8.0.0",
"pg": "^8.6.0",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^7.2.0",
"tsconfig-paths": "^3.10.1",
"type-graphql": "^1.1.1",
"typedi": "^0.10.0",
"typeorm": "^0.2.34",
"typeorm-naming-strategies": "^2.0.0",
"typeorm-typedi-extensions": "^0.4.1",
"typescript": "^4.3.5"
},
"devDependencies": {
"@nestjs/cli": "^8.0.0",
"@nestjs/schematics": "^8.0.0",
"@nestjs/testing": "^8.0.0",
"@types/bluebird": "^3.5.33",
"@types/express": "^4.17.13",
"@types/jest": "^27.0.1",
"@types/koa": "^2.13.4",
"@types/koa-helmet": "^6.0.4",
"@types/koa-router": "^7.4.4",
"@types/lodash": "^4.14.171",
"@types/memoizee": "^0.4.6",
"@types/node": "^16.3.2",
"@types/node-fetch": "^2.5.11",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^4.28.4",
"@typescript-eslint/parser": "^4.28.3",
"eslint": "^7.31.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^7.0.1",
"jest": "^27.2.5",
"lint-staged": "^11.0.1",
"nodemon": "^2.0.12",
"prettier": "2.3.2",
"source-map-support": "^0.5.20",
"supertest": "^6.1.3",
"ts-jest": "^27.0.3",
"ts-loader": "^9.2.3",
"ts-node": "^10.4.0",
"tsconfig-paths": "^3.10.1",
"typescript": "^4.3.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"./src/**/*.{js,ts}": [
"prettier --write",
"eslint --fix",
"git add"
]
},
"prettier": {
"parser": "typescript",
"printWidth": 100,
"singleQuote": true,
"semi": false
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}