-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
81 lines (78 loc) · 2.58 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
{
"name": "acala-wormhole-relayer",
"version": "1.9.0",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib/**/*"
],
"repository": "https://github.com/AcalaNetwork/wormhole-relayer/",
"scripts": {
"build": "tsc",
"clean": "rm -rf coverage .nyc_output dist/",
"dev": "ts-node-dev --respawn src/index.ts | pino-pretty --singleLine --colorize --ignore time,hostname,ip",
"start": "node dist/index.js",
"start:db": "docker compose up -- db",
"start:coverage": "pm2 start --name relayer 'nyc node -r ts-node/register src/index.ts' && ./scripts/health-check.sh",
"start:test-infra": "docker compose up",
"stop:coverage": "pm2 stop relayer && pm2 delete relayer",
"db:init": "prisma init",
"db:gen": "prisma generate",
"db:migrate:dev": "prisma migrate dev",
"db:migrate:prod": "prisma migrate deploy",
"test": "vitest src/__tests__/*.test.ts --singleThread --run",
"test:coverage": "yarn start:coverage && yarn test && yarn stop:coverage",
"test:ci": "yarn start:test-infra -d; yarn test:coverage"
},
"dependencies": {
"@acala-network/api": "~6.0.4",
"@acala-network/asset-router": "~1.0.19",
"@acala-network/bodhi": "~2.7.13",
"@acala-network/contracts": "^4.5.0",
"@acala-network/eth-providers": "~2.7.14",
"@certusone/wormhole-sdk": "^0.9.12",
"@improbable-eng/grpc-web": "^0.14.0",
"@improbable-eng/grpc-web-node-http-transport": "^0.15.0",
"@polkadot/api": "^10.9.1",
"@prisma/client": "^5.19.1",
"axios": "^0.26.1",
"bech32": "^2.0.0",
"cors": "^2.8.5",
"dotenv": "^16.0.3",
"envalid": "^8.0.0",
"ethers": "~5.7.0",
"express": "^4.17.1",
"js-base64": "^3.6.1",
"pino": "^8.11.0",
"prisma": "^5.19.1",
"protobufjs": "^6.11.2",
"rxjs": "^7.3.0",
"yup": "^1.0.2"
},
"devDependencies": {
"@typechain/ethers-v5": "^7.0.1",
"@types/cors": "^2.8.13",
"@types/express": "^4.17.17",
"@types/long": "^4.0.1",
"@types/node": "^16.6.1",
"@types/react": "^17.0.19",
"@typescript-eslint/eslint-plugin": "^5.11.0",
"@typescript-eslint/parser": "^5.11.0",
"@vitest/coverage-v8": "^0.33.0",
"@vitest/ui": "^0.33.0",
"copy-dir": "^1.3.0",
"eslint": "^8.9.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
"nyc": "^17.0.0",
"pino-pretty": "^10.0.0",
"pm2": "^5.4.2",
"prettier": "^2.3.2",
"ts-node": "^10.5.0",
"ts-node-dev": "^2.0.0",
"typescript": "^4.3.5",
"vite": "^5.3.3",
"vitest": "^0.33.0"
}
}