-
Notifications
You must be signed in to change notification settings - Fork 59
/
package.json
117 lines (117 loc) · 4.06 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
{
"name": "engine",
"version": "0.1.0",
"license": "Apache-2.0",
"description": "thirdweb Engine",
"main": "src/server/index.ts",
"author": "thirdweb engineering <[email protected]>",
"type": "module",
"scripts": {
"dev": "yarn dev:infra && yarn dev:db && yarn dev:run",
"dev:infra": "docker compose -f ./docker-compose.yml up -d",
"dev:db": "yarn prisma:setup:dev",
"dev:run": "npx nodemon --watch 'src/**/*.ts' --exec 'npx tsx ./src/index.ts' --files src/index.ts",
"build": "rm -rf dist && tsc -p ./tsconfig.json --outDir dist",
"build:docker": "docker build . -f Dockerfile -t prod",
"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:migrations && yarn start:run",
"start:migrations": "npx tsx ./dist/scripts/apply-migrations.js",
"start:run": "node --experimental-specifier-resolution=node ./dist/index.js",
"start:docker": "docker compose --profile engine --env-file ./.env up --remove-orphans",
"start:docker-force-build": "docker compose --profile engine --env-file ./.env up --remove-orphans --build",
"lint:fix": "eslint --fix 'src/**/*.ts'",
"test:unit": "vitest",
"test:coverage": "vitest run --coverage",
"copy-files": "cp -r ./src/prisma ./dist/"
},
"dependencies": {
"@aws-sdk/client-kms": "^3.679.0",
"@bull-board/fastify": "^5.23.0",
"@cloud-cryptographic-wallet/cloud-kms-signer": "^0.1.2",
"@cloud-cryptographic-wallet/signer": "^0.0.5",
"@ethersproject/json-wallets": "^5.7.0",
"@fastify/swagger": "^8.9.0",
"@fastify/type-provider-typebox": "^3.2.0",
"@fastify/websocket": "^8.2.0",
"@google-cloud/kms": "^4.4.0",
"@prisma/client": "5.17.0",
"@sinclair/typebox": "^0.31.28",
"@t3-oss/env-core": "^0.6.0",
"@thirdweb-dev/auth": "^4.1.87",
"@thirdweb-dev/chains": "^0.1.77",
"@thirdweb-dev/sdk": "^4.0.89",
"@thirdweb-dev/service-utils": "^0.4.28",
"@types/base-64": "^1.0.2",
"aws-kms-signer": "^0.5.3",
"base-64": "^1.0.0",
"bullmq": "^5.11.0",
"cron-parser": "^4.9.0",
"crypto": "^1.0.1",
"crypto-js": "^4.2.0",
"dd-trace": "^5.23.0",
"dotenv": "^16.0.3",
"ethers": "5",
"ethers-aws-kms-signer": "^1.3.2",
"ethers-gcp-kms-signer": "^1.1.6",
"fastify": "^4.28.1",
"fastify-plugin": "^4.5.0",
"http-status-codes": "^2.2.0",
"ioredis": "^5.4.1",
"jsonwebtoken": "^9.0.2",
"knex": "^3.1.0",
"mnemonist": "^0.39.8",
"node-cron": "^3.0.2",
"pg": "^8.11.3",
"prisma": "^5.14.0",
"prom-client": "^15.1.3",
"superjson": "^2.2.1",
"thirdweb": "^5.71.0",
"uuid": "^9.0.1",
"winston": "^3.14.1",
"zod": "^3.23.8"
},
"devDependencies": {
"@biomejs/biome": "^1.9.2",
"@types/cli-progress": "^3.11.3",
"@types/crypto-js": "^4.2.2",
"@types/jsonwebtoken": "^9.0.6",
"@types/node": "^18.15.4",
"@types/node-cron": "^3.0.8",
"@types/pg": "^8.6.6",
"@types/uuid": "^9.0.1",
"@types/ws": "^8.5.5",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"@vitest/coverage-v8": "^2.0.3",
"eslint": "^9.3.0",
"eslint-config-prettier": "^8.7.0",
"openapi-typescript-codegen": "^0.25.0",
"prettier": "^2.8.7",
"prool": "^0.0.16",
"typescript": "^5.1.3",
"vitest": "^2.0.3"
},
"lint-staged": {
"*.{js,ts}": "eslint --cache --fix",
"*.{js,ts,md}": "prettier --write"
},
"prisma": {
"schema": "./src/prisma/schema.prisma"
},
"resolutions": {
"@thirdweb-dev/auth/**/axios": ">=1.7.4",
"@thirdweb-dev/auth/**/web3-utils": ">=4.2.1",
"ethers-gcp-kms-signer/**/protobufjs": ">=7.2.5",
"fastify/**/find-my-way": ">=8.2.2",
"@grpc/grpc-js": ">=1.8.22",
"body-parser": ">=1.20.3",
"cookie": ">=0.7.0",
"elliptic": ">=6.6.0",
"micromatch": ">=4.0.8",
"secp256k1": ">=4.0.4",
"ws": ">=8.17.1",
"cross-spawn": ">=7.0.6"
}
}