-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 1.7 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
{
"name": "@kitakitsune0x/bats-rpc",
"version": "6.6.9",
"description": "Load balancer for Solana RPCs with websocket support by THE BAT🦇.",
"sideEffects": false,
"module": "./dist/esm/index.js",
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"bun": "./src/index.ts",
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"files": [
"/dist/esm/**/*",
"/dist/cjs/**/*",
"/dist/types/**/*"
],
"scripts": {
"test": "bun test ./tests/*.test.ts",
"build:esm": "bun build ./src/index.ts --outdir ./dist/esm --target node --format esm",
"build:cjs": "bun build ./src/index.ts --outdir ./dist/cjs --target node --format cjs",
"build": "bun run build:esm && bun run build:cjs",
"publish:private": "bun run build && bun publish",
"publish:public": "bun run build && bun publish --access public --registry https://registry.npmjs.org",
"publish:all": "bun run publish:private && bun run publish:public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kitakitsune0x/bats-rpc.git"
},
"license": "MIT",
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"dependencies": {
"@solana/web3.js": "^1.91.1",
"ioredis": "^5.3.2",
"rate-limiter-flexible": "^4.0.0"
},
"devDependencies": {
"@types/chai": "^4.3.5",
"@types/mocha": "^10.0.1",
"@types/node": "^20.10.5",
"@types/semaphore": "^1.1.1",
"@types/ws": "^8",
"chai": "^4.3.10",
"mocha": "^10.2.0",
"prettier": "^2.7.1",
"ts-mocha": "^10.0.0",
"ts-node": "^10.9.1",
"typescript": "^4.7.4"
}
}