-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 2.14 KB
/
Copy pathpackage.json
File metadata and controls
72 lines (72 loc) · 2.14 KB
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": "w3p-tx-firewall",
"version": "0.2.0",
"description": "A simple POC service to let user accept/reject ethereum transaction before it reaches RPC endpoint",
"keywords": [
"web3pi",
"w3p",
"firewall",
"ethreum"
],
"author": "web3-pi",
"license": "MIT",
"type": "module",
"scripts": {
"dev": "tsx watch src/index.ts",
"start": "node dist/index.js",
"build:backend": "tsc",
"build:frontend": "npm run build --prefix frontend",
"build": "npm run build:backend && npm run build:frontend",
"build:bundle": "bun build src/index.ts --target=node --outfile=build/index.mjs --external='\\!*'",
"prod": "npm run build && node dist/index.js",
"lint": "eslint",
"lint:fix": "eslint --fix",
"format": "prettier --write \"src/**/*.ts\"",
"test": "jest",
"test:unit": "jest src",
"test:integration": "jest test/integration",
"hardhat:start": "npx hardhat node",
"sandbox": "tsx test/sandbox/txn-emitter.ts"
},
"devDependencies": {
"@eslint/js": "^9.23.0",
"@nomicfoundation/hardhat-ethers": "^3.0.8",
"@swc/jest": "^0.2.37",
"@types/express": "^5.0.1",
"@types/jest": "^29.5.14",
"@types/node": "^22.13.14",
"@types/uuid": "^10.0.0",
"@types/ws": "^8.18.0",
"@typescript-eslint/eslint-plugin": "^8.28.0",
"@typescript-eslint/parser": "^8.28.0",
"eslint": "^9.23.0",
"eslint-config-prettier": "^10.1.1",
"eslint-plugin-prettier": "^5.2.5",
"ethers": "^6.13.5",
"globals": "^16.0.0",
"hardhat": "^2.23.0",
"jest": "^29.7.0",
"nock": "^14.0.2",
"node-fetch-jest": "npm:node-fetch@^2.7.0",
"prettier": "^3.5.3",
"ts-jest": "^29.3.0",
"ts-mockito": "^2.6.1",
"ts-node": "^10.9.2",
"tsx": "^4.19.3",
"typescript": "^5.8.2",
"typescript-eslint": "^8.28.0"
},
"dependencies": {
"@influxdata/influxdb-client": "^1.35.0",
"@openzeppelin/contracts": "^5.3.0",
"dotenv": "^16.4.7",
"ethereumjs-util": "^7.1.5",
"express": "^4.21.2",
"node-fetch": "^3.3.2",
"pino": "^9.6.0",
"pino-pretty": "^13.0.0",
"uuid": "^11.1.0",
"web3": "^4.16.0",
"ws": "^8.18.1"
}
}