-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
131 lines (131 loc) · 3.63 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
{
"name": "fcd",
"version": "2.6.1",
"description": "Terra FCD Suite",
"main": "index.js",
"author": "Terra Engineering <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/terra-money/fcd.git"
},
"engines": {
"node": ">=16"
},
"scripts": {
"prettier": "prettier --write './src/**/*.ts'",
"lint": "eslint --fix src",
"test": "jest",
"dev": "better-npm-run api-dev",
"start": "better-npm-run api-prod",
"coldev": "better-npm-run collector-dev",
"collector": "better-npm-run collector-prod",
"do": "ts-node -T --files -r tsconfig-paths/register",
"typeorm": "npm run do ./node_modules/.bin/typeorm",
"apidoc": "npm run do src/scripts/generateApidoc.ts",
"prepare": "husky install"
},
"betterScripts": {
"api-dev": {
"command": "nodemon --signal SIGINT --exec ts-node --files -r tsconfig-paths/register src/server.ts"
},
"api-prod": {
"command": "node --stack_size=4096 --max-old-space-size=4096 -r ts-node/register/transpile-only -r tsconfig-paths/register src/server.ts",
"env": {
"NODE_ENV": "production"
}
},
"collector-dev": {
"command": "nodemon --signal SIGINT --exec ts-node --files -r tsconfig-paths/register src/collector/collector.ts"
},
"collector-prod": {
"command": "node --stack_size=4096 --max-old-space-size=4096 -r ts-node/register/transpile-only -r tsconfig-paths/register src/collector/collector.ts",
"env": {
"NODE_ENV": "production"
}
}
},
"dependencies": {
"@koa/cors": "^3.1.0",
"@sentry/node": "^6.1.0",
"@terra-money/terra.js": "^3.0.12",
"@terra-money/terra.proto": "^0.1.7",
"apidoc-core": "^0.11.1",
"bech32": "^2.0.0",
"better-npm-run": "^0.1.1",
"bignumber.js": "^9.0.1",
"bluebird": "^3.7.2",
"byline": "^5.0.0",
"date-fns": "^2.28.0",
"date-fns-timezone": "^0.1.4",
"globby": "^11.0.4",
"http-proxy": "^1.18.1",
"koa": "^2.13.0",
"koa-body": "^5.0.0",
"koa-helmet": "^6.0.0",
"koa-joi-controllers": "^1.2.3",
"koa-morgan": "^1.0.1",
"koa-mount": "^4.0.0",
"koa-router": "^10.0.0",
"koa-static": "^5.0.0",
"lodash": "^4.17.20",
"memoizee": "^0.4.14",
"node-cron": "^3.0.0",
"parse-duration": "^1.0.0",
"pg": "^8.5.1",
"reconnecting-websocket": "^4.4.0",
"ts-node": "^10.1.0",
"tsconfig-paths": "^3.9.0",
"typeorm": "^0.2.38",
"typescript": "^4.1.3",
"undici": "^5.8.0",
"winston": "^3.3.3",
"winston-daily-rotate-file": "^4",
"ws": "^8.2.0",
"yargs": "^17.0.1"
},
"devDependencies": {
"@types/bluebird": "^3.5.33",
"@types/jest": "^27.0.1",
"@types/joi": "^17.2.3",
"@types/koa": "^2.11.6",
"@types/koa-router": "^7.4.1",
"@types/lodash": "^4.14.166",
"@types/memoizee": "^0.4.5",
"@types/supertest": "^2.0.10",
"@types/ws": "^8.2.0",
"@types/yargs": "^17.0.2",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"eslint": "^8.0.1",
"husky": "^7.0.0",
"jest": "^27.0.6",
"jest-circus": "^27.0.6",
"jest-extended": "^2.0.0",
"js-yaml": "^4.0.0",
"lint-staged": "^12.3.7",
"nodemon": "^2.0.6",
"prettier": "^2.2.1",
"supertest": "^6.1.4",
"ts-jest": "^27.0.5"
},
"prettier": {
"printWidth": 120,
"singleQuote": true,
"semi": false,
"trailingComma": "none"
},
"lint-staged": {
"./src/**/*.ts": [
"prettier --write",
"eslint --fix"
]
},
"quokka": {
"env": {
"params": {
"env": "TS_NODE_FILES=true"
}
}
}
}