forked from GaloyMoney/blink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
164 lines (164 loc) · 6.54 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
{
"name": "galoy",
"scripts": {
"tsc-check-noimplicitany": "tsc --noEmit -p tsconfig.no-implicit-any.json --skipLibCheck",
"tsc-check": "tsc --noEmit -p tsconfig.d.json && tsc --noEmit --skipLibCheck",
"eslint-check": "eslint \"{src,test}/**/*.ts\"",
"eslint-fix": "eslint \"{src,test}/**/*.ts\" --fix",
"build": "tsc -p tsconfig-build.json --skipLibCheck && cp -R src/services/price/protos lib/services/price/ && cp -R src/services/dealer-price/proto lib/services/dealer-price/ && tscpaths -p tsconfig.json -s ./src -o ./lib",
"trigger": "yarn build && node lib/servers/trigger.js | pino-pretty -c -l",
"watch": "nodemon -V -e ts,graphql -w ./src -x yarn run start",
"watch-trigger": "nodemon -V -e ts,graphql -w ./src -x yarn trigger",
"kill-graphql": "kill $(lsof -t -i:4001) & kill $(lsof -t -i:4002)",
"forward-mongodb": "kubectl port-forward $(kubectl get pods -l app.kubernetes.io/name=mongodb | awk '/mongo/ {print $1}') 27017",
"cron": ". ./.envrc && yarn build && node lib/servers/cron.js",
"exporter": "yarn build && node lib/servers/exporter.js",
"lncli1": "lncli --network regtest --macaroonpath=./dev/lnd/lnd1.macaroon --tlscertpath=./dev/lnd/tls.cert --rpcserver=${LND1_DNS}:${LND1_RPCPORT}",
"lncli2": "lncli --network regtest --macaroonpath=./dev/lnd/lnd2.macaroon --tlscertpath=./dev/lnd/tls.cert --rpcserver=${LND2_DNS}:${LND2_RPCPORT}",
"bitcoin-cli": "bitcoin-cli -rpcuser=rpcuser -rpcpassword=$BITCOINDRPCPASS -regtest",
"test": "export JEST_JUNIT_OUTPUT_DIR=\"./artifacts\" && jest --ci --reporters=default --reporters=jest-junit",
"test:unit": ". ./.envrc && LOGLEVEL=warn jest --config ./test/jest-unit.config.js --bail --verbose $TEST | yarn pino-pretty -c -l",
"test:integration": ". ./.envrc && LOGLEVEL=warn jest --config ./test/jest-integration.config.js --bail --runInBand --verbose $TEST | yarn pino-pretty -c -l",
"test:e2e": ". ./.envrc && LOGLEVEL=warn jest --config ./test/jest-e2e.config.js --bail --runInBand --verbose $TEST | yarn pino-pretty -c -l",
"build-docs": "npx spectaql spectaql-config.yml -1"
},
"engines": {
"node": "16"
},
"dependencies": {
"@google-cloud/storage": "^6.4.1",
"@grpc/grpc-js": "^1.6.12",
"@grpc/proto-loader": "^0.7.2",
"@opentelemetry/api": "^1.1.0",
"@opentelemetry/core": "^1.4.0",
"@opentelemetry/exporter-jaeger": "^1.4.0",
"@opentelemetry/instrumentation": "^0.32.0",
"@opentelemetry/instrumentation-graphql": "^0.29.0",
"@opentelemetry/instrumentation-grpc": "^0.32.0",
"@opentelemetry/instrumentation-http": "^0.32.0",
"@opentelemetry/instrumentation-ioredis": "^0.31.0",
"@opentelemetry/instrumentation-mongodb": "^0.31.1",
"@opentelemetry/resources": "^1.6.0",
"@opentelemetry/sdk-trace-base": "^1.6.0",
"@opentelemetry/sdk-trace-node": "^1.5.0",
"@opentelemetry/semantic-conventions": "^1.4.0",
"@ory/client": "^0.2.0-alpha.30",
"ajv": "^8.10.0",
"apollo-server-core": "^3.10.1",
"apollo-server-errors": "^3.3.1",
"apollo-server-express": "^3.10.2",
"axios": "^0.27.2",
"balanceofsatoshis": "^12.18.0",
"bip32": "^3.0.1",
"bitcoin-core-ts": "^3.0.3",
"bitcoinjs-lib": "^6.0.2",
"cors": "^2.8.5",
"csv-writer": "^1.6.0",
"dedent": "^0.7.0",
"dotenv": "^16.0.0",
"express": "^4.17.2",
"express-jwt": "^7.7.5",
"firebase-admin": "^11.0.1",
"google-protobuf": "^3.21.0",
"graphql": "^16.3.0",
"graphql-middleware": "^6.1.32",
"graphql-redis-subscriptions": "^2.4.2",
"graphql-relay": "^0.10.0",
"graphql-shield": "^7.5.0",
"graphql-tools": "^8.3.4",
"gt3-server-node-express-sdk": "https://github.com/GaloyMoney/gt3-server-node-express-bypass#master",
"helmet": "^5.1.1",
"i18n": "^0.15.0",
"invoices": "^2.2.0",
"ioredis": "^5.2.3",
"ioredis-cache": "^1.4.1",
"js-yaml": "^4.1.0",
"jsonwebtoken": "^8.5.1",
"lightning": "^5.21.0",
"ln-service": "^53.17.2",
"lodash.difference": "^4.5.0",
"lodash.find": "^4.6.0",
"lodash.groupby": "^4.6.0",
"lodash.map": "^4.6.0",
"lodash.mapvalues": "^4.6.0",
"lodash.mergewith": "^4.6.2",
"lodash.sortby": "^4.7.0",
"lodash.sumby": "^4.6.0",
"medici": "^5.2.2",
"mongoose": "^6.6.0",
"node-2fa": "^2.0.2",
"node-cache": "^5.1.2",
"pino": "^8.4.2",
"pino-http": "^8.2.0",
"prom-client": "^14.1.0",
"rate-limiter-flexible": "^2.3.8",
"redlock": "^5.0.0-beta.2",
"subscriptions-transport-ws": "^0.11.0",
"twilio": "^3.81.0",
"uuid-by-string": "^3.0.4"
},
"devDependencies": {
"@apollo/client": "^3.6.6",
"@babel/core": "^7.18.13",
"@babel/preset-env": "^7.18.10",
"@graphql-tools/jest-transform": "^1.2.1",
"@jest/test-sequencer": "^29.0.1",
"@types/babel__core": "^7.1.15",
"@types/babel__preset-env": "^7.9.2",
"@types/dedent": "^0.7.0",
"@types/eslint": "^8.4.6",
"@types/express": "^4.17.13",
"@types/google-protobuf": "^3.15.6",
"@types/i18n": "^0.13.3",
"@types/ioredis": "^4.26.4",
"@types/jest": "^28.1.1",
"@types/js-yaml": "^4.0.2",
"@types/jsonwebtoken": "^8.5.9",
"@types/lodash.difference": "^4.5.6",
"@types/lodash.find": "^4.6.6",
"@types/lodash.groupby": "^4.6.6",
"@types/lodash.map": "^4.6.13",
"@types/lodash.mapvalues": "^4.6.6",
"@types/lodash.mergewith": "^4.6.7",
"@types/lodash.sortby": "^4.7.6",
"@types/lodash.sumby": "^4.6.6",
"@types/migrate-mongo": "^8.2.0",
"@types/node": "^16.0.0",
"@types/nodemon": "^1.19.2",
"@types/prettier": "^2.7.0",
"@typescript-eslint/eslint-plugin": "^5.33.1",
"@typescript-eslint/parser": "^5.36.1",
"axios-mock-adapter": "^1.21.1",
"cross-fetch": "^3.1.4",
"eslint": "^8.22.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-prettier": "^4.0.0",
"grpc-tools": "^1.11.2",
"grpc_tools_node_protoc_ts": "^5.3.2",
"http-terminator": "^3.0.3",
"jest": "^28.1.1",
"jest-junit": "^14.0.0",
"migrate-mongo": "^9.0.0",
"nodemon": "^2.0.15",
"pino-pretty": "^9.1.0",
"prettier": "^2.5.1",
"spectaql": "^1.5.3",
"tiny-secp256k1": "^2.2.1",
"tree-kill": "^1.2.2",
"ts-jest": "^28.0.8",
"ts-node": "^10.9.1",
"ts-node-dev": "^2.0.0",
"tsconfig-paths": "^4.1.0",
"tscpaths": "^0.0.9",
"typescript": "^4.7.3",
"ws": "^8.8.1"
},
"resolutions": {
"**/**/ws": ">=7.4.6",
"**/**/json-bigint": ">=1.0.0",
"**/**/lodash": ">=4.17.12",
"**/**/lodash.merge": ">=4.6.2"
},
"private": true
}