-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
109 lines (109 loc) · 2.77 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
{
"name": "@web3-storage/gateway-lib",
"version": "5.1.2",
"description": "Shared library of components for building an IPFS gateway in Cloudflare workers.",
"main": "src/index.js",
"type": "module",
"types": "./types/index.d.ts",
"files": [
"tsconfig.json",
"src",
"types"
],
"exports": {
".": {
"import": "./src/index.js",
"types": "./types/index.d.ts"
},
"./middleware": {
"import": "./src/middleware.js",
"types": "./types/middleware.d.ts"
},
"./handlers": {
"import": "./src/handlers/index.js",
"types": "./types/handlers/index.d.ts"
},
"./util": {
"import": "./src/util/index.js",
"types": "./types/util/index.d.ts"
}
},
"typesVersions": {
"*": {
"middleware": [
"types/middleware.d.ts"
],
"handlers": [
"types/handlers/index.d.ts"
],
"util": [
"types/util/index.d.ts"
],
"*": [
"types/*"
],
"types/*": [
"types/*"
]
}
},
"scripts": {
"prepare": "npm run build",
"test": "node --test test/**/*.spec.js",
"lint": "standard",
"build": "npm run build:types && npm run build:templates",
"build:types": "tsc && cp src/bindings.d.ts types/bindings.d.ts",
"build:templates": "rm -f src/handlers/templates/bundle.cjs && echo '// @ts-nocheck' >> src/handlers/templates/bundle.cjs && handlebars src/handlers/templates/*.handlebars -c @web3-storage/handlebars/runtime.js >> src/handlers/templates/bundle.cjs",
"assets": "w3 up src/handlers/templates/assets/",
"clean": "rm -rf types && rm -f src/handlers/templates/bundle.cjs"
},
"keywords": [
"IPFS",
"HTTP",
"gateway"
],
"author": "Alan Shaw",
"license": "Apache-2.0 OR MIT",
"dependencies": {
"@httpland/range-parser": "^1.2.0",
"@ipld/car": "^5.2.6",
"@web3-storage/handlebars": "^1.0.0",
"bytes": "^3.1.2",
"chardet": "^2.0.0",
"dagula": "^8.0.0",
"magic-bytes.js": "^1.8.0",
"mrmime": "^1.0.1",
"multiformats": "^13.0.1",
"multipart-byte-range": "^2.0.1",
"timeout-abort-controller": "^3.0.0",
"uint8arrays": "^5.0.1"
},
"devDependencies": {
"@ipld/dag-cbor": "^9.0.8",
"@ipld/dag-pb": "^4.0.8",
"@types/bytes": "^3.1.4",
"ipfs-unixfs": "^11.1.2",
"ipfs-unixfs-exporter": "^13.3.0",
"standard": "^17.1.0",
"typescript": "^5.3.3"
},
"publishConfig": {
"access": "public"
},
"directories": {
"test": "test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/storacha/gateway-lib.git"
},
"bugs": {
"url": "https://github.com/storacha/gateway-lib/issues"
},
"homepage": "https://github.com/storacha/gateway-lib#readme",
"standard": {
"ignore": [
"*.ts"
]
}
}