Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit f8cc058

Browse files
committedSep 27, 2021
fix: add types versions to http-response
1 parent 26d1cb1 commit f8cc058

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed
 

‎packages/ipfs-http-response/package.json

+15-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@
55
"leadMaintainer": "Vasco Santos <vasco.santos@moxy.studio>",
66
"main": "src/index.js",
77
"types": "types/src/index.d.ts",
8+
"typesVersions": {
9+
"*": {
10+
"*": [
11+
"types/*",
12+
"types/src/*"
13+
],
14+
"types/*": [
15+
"types/*",
16+
"types/src/*"
17+
]
18+
}
19+
},
820
"type": "module",
921
"eslintConfig": {
1022
"extends": "ipfs",
@@ -17,8 +29,10 @@
1729
"import": "./src/index.js"
1830
}
1931
},
32+
"publishConfig": {
33+
"directory": "dist"
34+
},
2035
"scripts": {
21-
"prepare": "aegir build --no-bundle && cp -R types dist",
2236
"lint": "aegir ts -p check && aegir lint",
2337
"build": "aegir build",
2438
"release": "aegir release --target node",

0 commit comments

Comments
 (0)
This repository has been archived.