-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
128 lines (128 loc) · 4.88 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
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "@helia/http-gateway",
"version": "0.0.1",
"description": "HTTP IPFS Gateway implemented using Helia",
"license": "Apache-2.0 OR MIT",
"homepage": "https://github.com/ipfs/helia-http-gateway#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/ipfs/helia-http-gateway.git"
},
"bugs": {
"url": "https://github.com/ipfs/helia-http-gateway/issues"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"keywords": [
"docker",
"helia",
"p2p",
"retrievals"
],
"type": "module",
"types": "./dist/src/index.d.ts",
"files": [
"src",
"dist",
"!dist/test",
"!**/*.tsbuildinfo"
],
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/src/index.js"
}
},
"eslintConfig": {
"extends": "ipfs",
"parserOptions": {
"project": true,
"sourceType": "module"
}
},
"scripts": {
"clean": "aegir clean dist playwright-report test",
"lint": "aegir lint",
"build": "aegir build --bundle false",
"docs": "aegir docs",
"dep-check": "aegir dep-check",
"doc-check": "aegir doc-check",
"start": "node --trace-warnings dist/src/index.js",
"start:env-dr": "node -r dotenv/config --trace-warnings dist/src/index.js dotenv_config_path=./.env-delegated-routing",
"start:env-to": "node -r dotenv/config --trace-warnings dist/src/index.js dotenv_config_path=./.env-trustless-only",
"start:dev": "npm run build && node dist/src/index.js",
"start:dev-trace": "npm run build && node --trace-warnings dist/src/index.js",
"start:dev-doctor": "npm run build && npx clinic doctor --name playwright -- node dist/src/index.js",
"start:dev-flame": "npm run build && npx clinic flame --name playwright -- node dist/src/index.js",
"start:inspect": "npm run build && node --inspect dist/src/index.js",
"test": "echo \"Error: no test specified\" && exit 1",
"test:e2e": "playwright test",
"test:http-e2e": "cross-env USE_BITSWAP=false USE_LIBP2P=false playwright test",
"test:e2e-flame": "concurrently -k -s all -n \"gateway,playwright\" -c \"magenta,blue\" \"npm run start:dev-flame\" \"wait-on 'tcp:$HTTP_PORT' && npm run test:e2e\"",
"test:e2e-doctor": "concurrently -k -s all -n \"gateway,playwright\" -c \"magenta,blue\" \"npm run start:dev-doctor\" \"wait-on 'tcp:$HTTP_PORT' && npm run test:e2e\"",
"test:gwc-kubo": "node ./scripts/kubo-init.js",
"test:gwc-helia": "wait-on \"tcp:$KUBO_PORT\" && npm run start:dev-trace",
"test:gwc-setup": "concurrently -k -s all -n \"kubo,helia\" -c \"magenta,blue\" \"npm run test:gwc-kubo\" \"npm run test:gwc-helia\"",
"test:gwc-execute": "docker run --network host -v $PWD:/workspace -w /workspace $GWC_DOCKER_IMAGE test --gateway-url=$GWC_GATEWAY_URL --subdomain-url=$GWC_SUBDOMAIN_URL --verbose --json gwc-report.json $GWC_SPECS -- -test.skip=\"$GWC_SKIP\" -timeout 30m",
"test:gwc": "concurrently -k -s all -n \"kubo,helia,gateway-conformance\" -c \"magenta,blue,green\" \"npm run test:gwc-kubo\" \"npm run test:gwc-helia\" \"wait-on 'tcp:$PORT' && npm run test:gwc-execute\"",
"healthcheck": "node dist/src/healthcheck.js",
"debug:until-death": "./debugging/until-death.sh",
"debug:test-gateways": "./debugging/test-gateways.sh",
"postinstall": "patch-package"
},
"dependencies": {
"@chainsafe/libp2p-noise": "^15.0.0",
"@chainsafe/libp2p-yamux": "^6.0.2",
"@fastify/compress": "^7.0.3",
"@fastify/cors": "^9.0.1",
"@helia/block-brokers": "^3.0.2",
"@helia/delegated-routing-v1-http-api-client": "^3.0.0",
"@helia/http": "^1.0.3",
"@helia/interface": "^4.1.0",
"@helia/routers": "^1.0.2",
"@helia/verified-fetch": "^1.3.12",
"@libp2p/bootstrap": "^10.0.17",
"@libp2p/circuit-relay-v2": "^1.0.17",
"@libp2p/identify": "^2.1.1",
"@libp2p/interface": "^1.1.5",
"@libp2p/kad-dht": "^12.0.10",
"@libp2p/mplex": "^10.0.17",
"@libp2p/peer-id": "^4.0.8",
"@libp2p/prometheus-metrics": "^3.0.17",
"@libp2p/tcp": "^9.0.17",
"@libp2p/tls": "^1.0.3",
"@libp2p/webrtc": "^4.0.23",
"@libp2p/websockets": "^8.0.17",
"@multiformats/multiaddr": "^12.2.1",
"@sgtpooki/file-type": "^1.0.1",
"blockstore-fs": "^1.1.10",
"datastore-level": "^10.1.7",
"fastify": "^4.26.2",
"fastify-metrics": "^11.0.0",
"helia": "^4.1.0",
"ipns": "^9.1.0",
"libp2p": "^1.3.1",
"multiformats": "^13.1.0",
"pino-pretty": "^11.0.0",
"private-ip": "^3.0.2",
"race-signal": "^1.0.2"
},
"devDependencies": {
"@playwright/test": "^1.43.0",
"@types/node": "^20.11.30",
"aegir": "^44.0.1",
"clinic": "^13.0.0",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"debug": "^4.3.4",
"dotenv": "^16.4.5",
"execa": "^9.3.0",
"glob": "^11.0.0",
"kubo": "^0.29.0",
"patch-package": "^8.0.0",
"typescript": "5.x",
"wait-on": "^7.2.0"
}
}