forked from thirdweb-dev/engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
111 lines (111 loc) · 4.29 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": "web3-api",
"version": "0.1.0",
"license": "Apache-2.0",
"description": "thirdweb's web3-api server",
"main": "src/server/index.ts",
"author": "thirdweb engineering <[email protected]>",
"type": "module",
"scripts": {
"docker": "docker compose --env-file ./.env up --remove-orphans",
"docker:build": "docker compose build --no-cache",
"dev": "yarn dev:infra && yarn dev:db && (yarn dev:server & yarn dev:worker)",
"dev:infra": "docker compose -f ./docker-compose-infra.yml up -d",
"dev:db": "yarn prisma:setup:dev",
"dev:server": "nodemon --watch 'src/server/**/*.ts' --watch 'src/**/*.ts' --exec 'npx tsx ./src/server/index.ts' --files src/server/index.ts",
"dev:worker": "nodemon --watch 'src/worker/**/*.ts' --watch 'src/**/*.ts' --exec 'npx tsx ./src/worker/index.ts' --files src/worker/index.ts",
"build": "yarn && rm -rf dist && tsc -p ./tsconfig.json --outDir dist",
"generate:sdk": "npx tsx ./src/scripts/generate-sdk && cd ./sdk && yarn build",
"prisma:setup:dev": "npx tsx ./src/scripts/setup-db.ts",
"prisma:setup:prod": "npx tsx ./dist/scripts/setup-db.js",
"start": "yarn prisma:setup:prod && (yarn start:server & yarn start:worker)",
"start:server": "node --experimental-specifier-resolution=node ./dist/server/index.js",
"start:worker": "node --experimental-specifier-resolution=node ./dist/worker/index.js",
"start:docker": "docker compose build && docker compose --env-file ./.env up --remove-orphans",
"docker-build-run": "docker compose build --no-cache && docker compose --env-file ./.env up --remove-orphans",
"copy-files": "copyfiles -u 2 ./src/prisma/* ./dist/prisma/ && copyfiles -u 3 ./src/prisma/migrations/**/*.sql ./dist/prisma/migrations/",
"lint": "eslint 'src/**/*.ts'",
"lint:fix": "eslint --fix 'src/**/*.ts'",
"test:load": "npx tsx ./test/load/index.ts",
"test:load:benchmark": "npx tsx ./test/load/scripts/account.ts"
},
"dependencies": {
"@aws-sdk/client-kms": "^3.398.0",
"@eth-optimism/sdk": "^3.1.6",
"@fastify/cookie": "^8.3.0",
"@fastify/cors": "^8.2.1",
"@fastify/express": "^2.3.0",
"@fastify/swagger": "^8.9.0",
"@fastify/type-provider-typebox": "^3.2.0",
"@fastify/websocket": "^8.2.0",
"@google-cloud/kms": "^4.0.0",
"@prisma/client": "5.2.0",
"@sinclair/typebox": "^0.28",
"@t3-oss/env-core": "^0.6.0",
"@thirdweb-dev/auth": "^4.1.0-nightly-c238fde8-20231020022304",
"@thirdweb-dev/chains": "^0.1.61-nightly-d2001ca4-20231209002129",
"@thirdweb-dev/sdk": "^4.0.17",
"@thirdweb-dev/service-utils": "^0.4.2",
"@thirdweb-dev/wallets": "^2.1.5",
"body-parser": "^1.20.2",
"cookie": "^0.5.0",
"cookie-parser": "^1.4.6",
"copyfiles": "^2.4.1",
"crypto-js": "^4.1.1",
"dotenv": "^16.0.3",
"ethers": "5",
"ethers-aws-kms-signer": "^1.3.2",
"ethers-gcp-kms-signer": "^1.1.6",
"fastify": "^4.15.0",
"fastify-plugin": "^4.5.0",
"http-status-codes": "^2.2.0",
"knex": "^2.4.2",
"node-cron": "^3.0.2",
"p-queue": "^7.3.4",
"pg": "^8.11.0",
"pino": "^8.15.1",
"pino-pretty": "^10.0.0",
"prisma": "^5.2.0",
"uuidv4": "^6.2.13",
"viem": "^1.14.0",
"zod": "^3.21.4"
},
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.2.3",
"@swc/core": "^1.3.41",
"@types/autocannon": "^7.9.1",
"@types/cli-progress": "^3.11.3",
"@types/cookie": "^0.5.1",
"@types/crypto-js": "^4.1.2",
"@types/express": "^4.17.17",
"@types/node": "^18.15.4",
"@types/node-cron": "^3.0.8",
"@types/pg": "^8.6.6",
"@types/supertest": "^2.0.12",
"@types/uuid": "^9.0.1",
"@types/ws": "^8.5.5",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"autocannon": "^7.12.0",
"chalk": "^5.3.0",
"cli-progress": "^3.12.0",
"commander": "^11.0.0",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.7.0",
"hardhat": "^2.1.2",
"nodemon": "^2.0.21",
"openapi-typescript-codegen": "^0.25.0",
"prettier": "^2.8.7",
"prompts": "^2.4.2",
"supertest": "^6.3.3",
"ts-node": "^10.9.1",
"typescript": "^5.1.3"
},
"lint-staged": {
"*.{js,ts}": "eslint --cache --fix",
"*.{js,ts,md}": "prettier --write"
},
"prisma": {
"schema": "./src/prisma/schema.prisma"
}
}