forked from trader-xyz/trader-orderbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
111 lines (111 loc) · 4.91 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
{
"name": "trader-orderbook-api",
"version": "1.0.0",
"main": "index.js",
"author": "johnrjj",
"private": true,
"license": "MIT",
"devDependencies": {
"@cloudflare/workers-types": "^3.8.0",
"@cloudflare/wrangler": "^1.19.12",
"@typechain/ethers-v5": "^10.1.0",
"@types/express": "^4.17.13",
"@types/ioredis": "^4.28.10",
"@types/jest": "^27.4.1",
"@types/lodash": "^4.14.182",
"@types/node": "^17.0.31",
"@types/node-cron": "^3.0.1",
"@types/node-fetch": "2",
"@types/uuid": "^8.3.4",
"foreman": "^3.0.1",
"jest": "^27.5.1",
"prisma": "^4.0.0",
"supertest": "^6.2.3",
"ts-jest": "^27.1.4",
"ts-loader": "9.3.0",
"ts-node": "^10.7.0",
"ts-node-dev": "^1.1.8",
"ts-to-zod": "^1.10.0",
"typechain": "^8.1.0",
"typescript": "^4.6.4",
"webpack": "^5.72.0"
},
"dependencies": {
"@alch/alchemy-web3": "^1.4.6",
"@ethersproject/abi": "^5.7.0",
"@ethersproject/address": "^5.7.0",
"@ethersproject/bignumber": "^5.7.0",
"@ethersproject/bytes": "^5.7.0",
"@ethersproject/constants": "^5.7.0",
"@ethersproject/contracts": "^5.7.0",
"@ethersproject/providers": "^5.7.0",
"@google-cloud/logging": "^9.8.3",
"@google-cloud/logging-winston": "^4.2.3",
"@google-cloud/pubsub": "^2.19.3",
"@prisma/client": "4.0.0",
"@sentry/node": "^6.19.7",
"@sentry/tracing": "^6.19.7",
"@traderxyz/nft-swap-sdk": "^0.32.0",
"@vercel/fetch": "^6.2.0",
"@zoralabs/nft-metadata": "^1.2.6",
"base-64": "^1.0.0",
"body-parser": "^1.20.0",
"cabin": "^9.1.2",
"compression": "^1.7.4",
"cors": "^2.8.5",
"date-fns": "^2.29.2",
"dotenv": "^16.0.0",
"ethers": "^5.7.0",
"express": "^4.18.1",
"express-rate-limit": "^6.4.0",
"helmet": "^5.0.2",
"ioredis": "^5.0.4",
"lodash": "^4.17.21",
"logdna-winston": "^4.0.1",
"node-cron": "^3.0.0",
"node-fetch": "2",
"ohmyfetch": "^0.4.16",
"pg-template-tag": "^0.1.2",
"prettier": "^2.6.2",
"rate-limit-redis": "^3.0.1",
"sql-template-tag": "^5.0.1",
"uuid": "^8.3.2",
"winston": "^3.7.2",
"zod": "^3.14.4"
},
"scripts": {
"build": "tsc",
"prettier": "prettier --write 'src/**/*.ts' --config .prettierrc",
"lint": "tslint --project . --format stylish",
"lint:fix": "tslint --project . --format stylish --fix",
"lint:prettier": "prettier --check \"src/**/*.{ts,js,json,yml,md}\"",
"start": "node dist/index.js",
"clean": "rimraf dist",
"start:api": "node dist/services/api-web/index.js",
"start:service:producer:block-number": "node ./dist/services/publishers/block-number.js",
"start:service:producer:fix-block-gaps-by-job": "node ./dist/services/publishers/fix-block-gaps-by-job.js",
"start:service:consumer:exchange-events-by-block-number": "node ./dist/services/consumers/get-exchange-events-by-block-number.js",
"start:service:consumer:save-block-to-db": "node ./dist/services/consumers/save-block-to-db.js",
"start:service:consumer:nft-metadata": "node ./dist/services/consumers/nft-metadata.js",
"start:service:cron:os-collections-sync": "node ./dist/services/cron/sync-opensea-collections.js",
"dev": "nf start --procfile=Procfile.dev web=1,svc-pub-block=1,svc-pub-fix-gaps-cron=1,src-con-exch-events=1,src-con-block-events=1",
"dev:api": "ts-node-dev --transpile-only --files ./src/services/api-web/index.ts",
"dev:service:producer:block-number": "ts-node-dev --transpile-only --files ./src/services/publishers/block-number.ts",
"dev:service:producer:fix-block-gaps-by-job": "ts-node-dev --transpile-only --files ./src/services/publishers/fix-block-gaps-by-job.ts",
"dev:service:consumer:exchange-events-by-block-number": "ts-node-dev --transpile-only --files ./src/services/consumers/get-exchange-events-by-block-number.ts",
"dev:service:consumer:save-block-to-db": "ts-node-dev --transpile-only --files ./src/services/consumers/save-block-to-db.ts",
"dev:service:consumer:nft-metadata": "ts-node-dev --transpile-only --files ./src/services/consumers/nft-metadata.ts",
"dev:service:consumer:os-collection-by-address": "ts-node-dev --transpile-only --files ./src/services/consumers/sync-opensea-collection-metadata-by-address.ts",
"dev:service:cron:os-collections-sync": "ts-node-dev --transpile-only --files ./src/services/cron/sync-opensea-collections.ts",
"scriptthing": "TS_NODE=true NODE_OPTIONS=\"-r ts-node/register\" node ./src/scripts/test.ts",
"test": "jest --passWithNoTests",
"test:watch": "jest --watch",
"typecheck": "tsc --noEmit",
"prisma:migrate:prod": "npx prisma migrate deploy",
"prisma:pull": "npx prisma db pull",
"prisma:generate": "npx prisma generate",
"zod:generate": "yarn ts-to-zod src/types.ts src/validations.ts",
"prisma:sync": "yarn prisma:pull && yarn prisma:generate",
"generate-types": "typechain --out-dir 'src/contracts' --target=ethers-v5 'src/abis/**/*.json'"
}
}