-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathpackage.json
72 lines (72 loc) · 2.45 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
{
"name": "@acala-network/eth-rpc-adapter",
"version": "2.9.5",
"license": "MIT",
"author": "Acala Developers <[email protected]>",
"bin": "./bin/eth-rpc-adapter.js",
"scripts": {
"build": "tsc",
"ncc:pack": "ncc build src/index.ts -t --target es2020",
"typegen": "typechain --target=ethers-v5 --out-dir=./src/__tests__/types src/__tests__/abis/*.json",
"dev": "ts-node-dev -T -r tsconfig-paths/register src/index.ts | pino-pretty --singleLine --colorize --ignore time,hostname,jsonrpc,dd",
"clean": "rm -rf tsconfig.tsbuildinfo .nyc_output coverage/ lib/",
"health-check": "./scripts/health-check.sh",
"start": "ts-node -r tsconfig-paths/register src/index.ts",
"start:coverage": "COVERAGE_DIR=${COVERAGE_DIR:-eth-rpc-adapter/coverage} pm2 start --name eth-rpc 'nyc --report-dir=$COVERAGE_DIR node -r ts-node/register -r tsconfig-paths/register src/index.ts' && yarn health-check",
"stop:coverage": "pm2 stop eth-rpc && pm2 delete eth-rpc",
"test": "vitest --no-file-parallelism",
"test:coverage": "COVERAGE_DIR=${COVERAGE_DIR:-eth-rpc-adapter/coverage} yarn start:coverage && COVERAGE_DIR=${COVERAGE_DIR:-eth-rpc-adapter/coverage} yarn test --run && yarn stop:coverage"
},
"peerDependencies": {
"@polkadot/api": "^14.3.1"
},
"dependencies": {
"@acala-network/eth-providers": "workspace:*",
"@acala-network/eth-transactions": "workspace:*",
"axios": "~1.6.0",
"body-parser": "~1.19.0",
"connect": "~3.7.0",
"cors": "~2.8.5",
"dd-trace": "~4.16.0",
"ethers": "~5.7.0",
"pino": "~7.0.0-rc.3",
"ws": "~8.2.3",
"yargs": "16.2.0"
},
"devDependencies": {
"@acala-network/contracts": "4.3.4",
"@typechain/ethers-v5": "^11.1.2",
"@types/body-parser": "~1.19.1",
"@types/connect": "~3.4.35",
"@types/cors": "~2.8.12",
"@types/dd-trace": "^0.9.0",
"@types/node": "~20.1.0",
"@types/ws": "~8.2.0",
"@types/yargs": "^16.0.4",
"@vercel/ncc": "^0.36.1",
"nyc": "^17.1.0",
"pino-pretty": "~7.0.1",
"pm2": "^5.4.2",
"ts-node": "^10.9.1",
"ts-node-dev": "^2.0.0",
"typechain": "^8.3.2",
"vitest": "^2.1.1"
},
"files": [
"lib",
"bin"
],
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"exports": {
".": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"./*": {
"types": "./lib/*.d.ts",
"default": "./lib/*.js"
},
"./package.json": "./package.json"
}
}