-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathpackage.json
More file actions
140 lines (140 loc) · 5.02 KB
/
Copy pathpackage.json
File metadata and controls
140 lines (140 loc) · 5.02 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
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
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "@helia/service-worker-gateway",
"version": "3.4.8",
"private": true,
"type": "module",
"description": "An IPFS Gateway that uses @helia/verified-fetch in a Service Worker to fetch content",
"keywords": [],
"license": "MIT",
"scripts": {
"reset": "npm run clean -- **/node_modules **/package-lock.json",
"clean": "aegir clean dist dist-tsc test-e2e/fixtures/data/gateway-conformance-fixtures test-conformance/fixtures/gateway-conformance-fixtures",
"dep-check": "aegir dep-check",
"lint": "aegir lint",
"build": "node --experimental-strip-types build.js && go build -o service-worker-gateway main.go",
"build:test": "cross-env NODE_ENV=test npm run build",
"start": "cross-env NODE_ENV=development node --experimental-strip-types ./serve.ts --load-fixtures --watch",
"test": "cross-env NODE_ENV=test aegir test -- --experimental-strip-types",
"test:chrome": "npm run build:test && playwright test -c playwright.config.js --project chromium",
"test:firefox": "npm run build:test && playwright test -c playwright.config.js --project firefox no-service-worker",
"test:safari": "npm run build:test && playwright test -c playwright.config.js --project safari",
"test:local-binary": "npm run build:test && concurrently -k --success first -n \"binary,tests\" \"./service-worker-gateway\" \"cross-env SHOULD_BUILD=false SHOULD_SERVE=false playwright test -c playwright.config.js --project deployed no-service-worker\"",
"test:node": "cross-env NODE_ENV=test aegir test -t node -- --experimental-strip-types",
"test:conformance": "npm run build:test && playwright test -c ./test-conformance/playwright.config.js --project chromium",
"update-conformance": "node --experimental-strip-types ./test-conformance/fixtures/update-expected-tests.ts",
"postinstall": "patch-package",
"generate-fixtures": "node --experimental-strip-types ./test-e2e/fixtures/data/generate.ts",
"benchmark": "playwright test -c ./benchmark/playwright.config.js --project chromium"
},
"browser": "./dist/src/index.js",
"browserslist": [
"Chrome >= 130",
"Edge >= 130",
"Firefox >= 122",
"Safari >= 18.4",
"iOS >= 18.4"
],
"eslintConfig": {
"extends": "ipfs",
"parserOptions": {
"project": true,
"sourceType": "module"
}
},
"dependencies": {
"@chainsafe/is-ip": "^2.1.0",
"@chainsafe/libp2p-noise": "^17.0.0",
"@chainsafe/libp2p-yamux": "^8.0.1",
"@helia/block-brokers": "^5.2.1",
"@helia/delegated-routing-v1-http-api-client": "^6.0.1",
"@helia/routers": "^5.1.0",
"@helia/utils": "^2.5.0",
"@helia/verified-fetch": "^7.2.16",
"@ipld/dag-cbor": "^9.2.5",
"@ipld/dag-json": "^10.2.5",
"@ipld/dag-pb": "^4.1.5",
"@libp2p/crypto": "^5.1.13",
"@libp2p/dcutr": "^3.0.7",
"@libp2p/identify": "^4.0.7",
"@libp2p/interface": "^3.1.0",
"@libp2p/keychain": "^6.0.7",
"@libp2p/logger": "^6.2.0",
"@libp2p/peer-id": "^6.0.4",
"@libp2p/ping": "^3.0.7",
"@libp2p/websockets": "^10.1.0",
"@libp2p/webtransport": "^6.0.9",
"@multiformats/blake2": "^2.0.2",
"@multiformats/dns": "^1.0.13",
"@noble/hashes": "^2.0.1",
"any-signal": "^4.1.1",
"blockstore-core": "^6.1.2",
"datastore-core": "^11.0.2",
"execa": "^9.5.2",
"file-type": "^22.0.1",
"ipfs-css": "^1.4.0",
"libp2p": "^3.1.0",
"multiformats": "^13.4.1",
"preact": "^10.28.2",
"pretty-bytes": "^7.1.0",
"react-icons": "^5.5.0",
"react-router-dom": "^7.9.5",
"tachyons": "^4.12.0",
"uint8arrays": "^5.1.0",
"weald": "^1.1.1"
},
"devDependencies": {
"@babel/core": "^7.28.0",
"@babel/preset-env": "^7.28.0",
"@babel/preset-react": "^7.27.1",
"@babel/preset-typescript": "^7.27.1",
"@cloudflare/workers-types": "^4.20260301.1",
"@helia/car": "^5.4.0",
"@helia/dag-cbor": "^5.1.0",
"@helia/dag-json": "^5.1.0",
"@helia/json": "^5.1.0",
"@helia/unixfs": "^7.2.0",
"@ipld/car": "^5.4.2",
"@libp2p/utils": "^7.0.10",
"@playwright/test": "^1.53.2",
"@types/cors": "^2.8.19",
"@types/polka": "^0.5.8",
"@types/react": "^19.1.6",
"@types/react-dom": "^19.1.9",
"@types/sinon": "^21.0.1",
"@types/wait-on": "^5.3.4",
"aegir": "^47.0.24",
"body-parser": "^2.2.2",
"cborg": "^5.1.0",
"concurrently": "^9.1.2",
"cors": "^2.8.5",
"cross-env": "^10.1.0",
"delay": "^7.0.0",
"esbuild": "^0.28.0",
"fast-glob": "^3.3.3",
"glob": "^13.0.0",
"helia": "^6.1.1",
"http-server": "^14.1.1",
"ipfs-unixfs": "^13.0.0",
"ipfs-unixfs-importer": "^16.1.0",
"ipfsd-ctl": "^16.0.0",
"ipns": "^10.1.3",
"it-all": "^3.0.7",
"it-drain": "^3.0.10",
"it-to-buffer": "^4.0.10",
"kubo": "^0.40.0",
"kubo-rpc-client": "^6.0.2",
"patch-package": "^8.0.0",
"playwright": "^1.45.3",
"polka": "^0.5.2",
"rimraf": "^6.0.1",
"sinon": "^21.0.2",
"tar": "^7.5.2",
"wait-on": "^9.0.1"
},
"sideEffects": [
"*.css"
],
"overrides": {
"multiformats": "^13.4.1"
}
}