-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.53 KB
/
package.json
File metadata and controls
83 lines (83 loc) · 2.53 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
73
74
75
76
77
78
79
80
81
82
83
{
"name": "rpc-proxy",
"private": true,
"version": "1.0.6",
"description": "Reverse RPC Proxy for EVM chains",
"license": "MIT",
"author": "CPUchain",
"type": "module",
"main": "./lib/index.cjs",
"module": "./lib/index.js",
"types": "./lib/index.d.ts",
"exports": {
".": {
"import": "./lib/index.js",
"require": "./lib/index.cjs",
"default": "./lib/index.js"
}
},
"bin": "./lib/start.js",
"keywords": [
"cpuchain"
],
"repository": {
"type": "git",
"url": "git+https://github.com/cpuchain/rpc-proxy.git"
},
"scripts": {
"lint": "eslint scripts/**/*.ts src/**/*.ts test/**/*.ts",
"build:pkg": "tsx ./scripts/pkgJson.ts",
"build:dist": "yarn build && pkg -d --no-native-build --no-signature --no-bytecode -c ./package.json ./lib/start.cjs",
"build": "yarn build:pkg && tsc -p tsconfig.types.json --noEmit && rollup -c",
"start": "node --max-old-space-size=8192 lib/start.js",
"dev": "tsx ./src/start.ts",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"test": "vitest && istanbul-badges-readme --colors=\"red:50,yellow:60\""
},
"target": "node22",
"pkg": {
"scripts": "./lib/start.cjs",
"assets": [
"lib",
"node_modules/@fastify/swagger-ui/static/**/*"
],
"targets": [
"node22-linux-x64",
"node22-macos-x64",
"node22-win-x64"
],
"outputPath": "."
},
"devDependencies": {
"@cpuchain/eslint": "^1.0.10",
"@cpuchain/rollup": "^1.0.5",
"@fastify/cors": "^11.1.0",
"@fastify/swagger": "^9.5.2",
"@fastify/swagger-ui": "^5.2.3",
"@fastify/websocket": "^11.2.0",
"@types/node": "^24.5.2",
"@types/ws": "^8.18.1",
"@vitest/coverage-v8": "^3.2.4",
"@yao-pkg/pkg": "^6.7.0",
"ajv": "^8.17.1",
"cross-env": "^10.0.0",
"dotenv": "^17.2.2",
"ethers": "^6.15.0",
"fastify": "^5.6.1",
"glob": "^11.0.3",
"isomorphic-ws": "^5.0.0",
"istanbul-badges-readme": "^1.9.0",
"logger-chain": "^1.0.3",
"ts-node": "^10.9.2",
"tsc": "^2.0.4",
"tsx": "^4.20.6",
"typescript": "^5.9.2",
"vitepress": "^1.6.4",
"vitest": "^3.2.4"
},
"resolutions": {
"fast-glob": ">=3.3.3"
}
}