Skip to content

Commit 34747cb

Browse files
authored
fix: fixes type mapping (#9)
There is no `src` dir which type mappings assumed. Also fixes incorrect prepare script.
1 parent 7ba1672 commit 34747cb

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

package.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"author": "Alex Potsides <[email protected]>",
77
"homepage": "https://github.com/achingbrain/uint8arrays",
88
"bugs": "https://github.com/achingbrain/uint8arrays/issues",
9-
"types": "dist/src/index.d.ts",
9+
"types": "dist/index.d.ts",
1010
"typesVersions": {
1111
"*": {
12-
"src/*": [
13-
"dist/src/*",
14-
"dist/src/*/index"
12+
"*": [
13+
"dist/*",
14+
"dist/*/index"
1515
]
1616
}
1717
},
@@ -24,14 +24,15 @@
2424
"to-string.js",
2525
"dist/*.ts",
2626
"dist/*.map",
27-
"dist/*.js"
27+
"dist/*.js",
28+
"tsconfig.json"
2829
],
2930
"repository": {
3031
"type": "git",
3132
"url": "https://github.com/achingbrain/uint8arrays.git"
3233
},
3334
"scripts": {
34-
"prepare": "aegir ts -p check",
35+
"prepare": "aegir ts -p types",
3536
"test": "aegir test",
3637
"lint": "aegir lint",
3738
"release": "aegir release --docs",
@@ -51,6 +52,7 @@
5152
"contributors": [
5253
"achingbrain <[email protected]>",
5354
"Cayman <[email protected]>",
54-
"Rafael Ramalho <[email protected]>"
55+
"Rafael Ramalho <[email protected]>",
56+
"Irakli Gozalishvili <[email protected]>"
5557
]
5658
}

0 commit comments

Comments
 (0)