-
Notifications
You must be signed in to change notification settings - Fork 401
/
package.json
115 lines (115 loc) · 4.39 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "@farcaster/hubble",
"version": "1.16.3",
"description": "Farcaster Hub",
"author": "",
"license": "",
"private": true,
"bugs": {
"url": "https://github.com/farcasterxyz/hub-monorepo/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/farcasterxyz/hub.git"
},
"homepage": "https://github.com/farcasterxyz/hub-monorepo#readme",
"type": "module",
"scripts": {
"bench": "NODE_OPTIONS='--max-old-space-size=8192' tsx src/test/bench",
"copy:rust": "mkdir -p build/addon && cp src/addon/index.node build/addon/index.node",
"build:rust": "cargo-cp-artifact -ac addon src/addon/index.node -- cargo build --manifest-path ./src/addon/Cargo.toml --message-format=json-render-diagnostics --release",
"build:ts": "tsc --project ./tsconfig.json",
"build:all": "yarn build:rust && yarn build:ts && yarn copy:rust",
"build": "yarn build:all",
"clean": "rimraf ./build && cargo clean --manifest-path ./src/addon/Cargo.toml",
"dev": "yarn start | yarn pino-pretty",
"lint": "yarn lint:ts && yarn lint:rust",
"lint:ts": "yarn lint:customjs && biome format src/ --write && biome check src/ --apply",
"lint:rust": "cargo fmt --manifest-path ./src/addon/Cargo.toml && cargo fmt --manifest-path ./src/addon/Cargo.toml --check",
"lint:ci": "yarn lint:customjs && biome ci src/",
"lint:customjs": "node scripts/linter.cjs",
"snapshot-url": "node --no-warnings build/cli.js snapshot-url",
"start": "node --max-old-space-size=8192 --no-warnings $HUBBLE_NODE_ARGS build/cli.js start",
"identity": "node --no-warnings build/cli.js identity",
"dbreset": "node build/cli.js dbreset",
"events-reset": "node build/cli.js events-reset",
"console": "node build/cli.js console",
"profile": "node --max-old-space-size=8192 build/cli.js profile",
"status": "node build/cli.js status",
"test": "yarn test:ts && yarn test:rust",
"test:ts": "yarn build:all && NODE_OPTIONS=\"--experimental-vm-modules --max-old-space-size=4096\" jest",
"test:rust": "cargo test --manifest-path ./src/addon/Cargo.toml",
"test:ci": "yarn build:all && yarn test:rust --release && ENVIRONMENT=test NODE_OPTIONS=\"--experimental-vm-modules --max-old-space-size=4096\" jest --ci --forceExit --coverage -w 2"
},
"devDependencies": {
"@libp2p/interface-compliance-tests": "5.4.10",
"@types/async-lock": "^1.4.0",
"@types/chance": "^1.1.3",
"@types/cli-progress": "^3.11.0",
"@types/node-cron": "^3.0.7",
"@types/progress": "^2.0.5",
"@types/rwlock": "^5.0.3",
"@types/semver": "^7.5.3",
"@types/tar": "^6.1.5",
"@viem/anvil": "^0.0.6",
"biome-config-custom": "*",
"cargo-cp-artifact": "^0.1",
"chance": "~1.1.11",
"csv-stringify": "~6.3.0",
"fishery": "~2.2.2",
"pino-pretty": "~10.0.0",
"prettier-config-custom": "*",
"progress": "~2.0.3",
"remark": "^15.0.1",
"remark-gfm": "^4.0.0",
"remark-parse": "^11.0.0",
"ts-mockito": "~2.6.1",
"tsx": "~4.16.2",
"unified": "^11.0.3"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.400.0",
"@aws-sdk/client-sts": "^3.398.0",
"@aws-sdk/lib-storage": "^3.504.0",
"@chainsafe/libp2p-gossipsub": "13.1.0",
"@chainsafe/libp2p-noise": "15.1.0",
"@datastructures-js/priority-queue": "^6.3.1",
"@faker-js/faker": "~7.6.0",
"@farcaster/hub-nodejs": "^0.12.7",
"@fastify/cors": "^8.4.0",
"@figma/hot-shots": "^9.0.0-figma.1",
"@grpc/grpc-js": "~1.11.1",
"@libp2p/interface": "1.6.2",
"@libp2p/interface-compliance-tests": "5.4.10",
"@libp2p/autonat": "^1.1.3",
"@libp2p/identify": "^2.1.3",
"@libp2p/ping": "^1.1.3",
"@libp2p/fetch": "^1.1.3",
"@libp2p/mplex": "10.1.3",
"@libp2p/peer-id-factory": "4.2.2",
"@libp2p/tcp": "9.1.3",
"@libp2p/utils": "5.4.7",
"@multiformats/multiaddr": "^12.0.0",
"@noble/curves": "^1.0.0",
"abitype": "^0.8.3",
"async-lock": "^1.4.0",
"axios": "^1.6.0",
"bs58": "^5.0.0",
"cli-progress": "^3.12.0",
"commander": "~10.0.0",
"fastify": "^4.22.0",
"libp2p": "1.8.2",
"neverthrow": "~6.0.0",
"node-cron": "~3.0.2",
"patch-package": "^8.0.0",
"pino": "~8.11.0",
"pm2": "^5.3.1",
"postinstall-postinstall": "^2.1.0",
"rate-limiter-flexible": "^2.4.1",
"rwlock": "~5.0.0",
"semver": "^7.5.4",
"tar": "^6.2.1",
"tiny-typed-emitter": "~2.1.0",
"viem": "^2.17.4"
}
}