Skip to content

Commit

Permalink
fix: fixes type mapping (#9)
Browse files Browse the repository at this point in the history
There is no `src` dir which type mappings assumed. Also fixes incorrect prepare script.
  • Loading branch information
Gozala authored Dec 18, 2020
1 parent 7ba1672 commit 34747cb
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"author": "Alex Potsides <[email protected]>",
"homepage": "https://github.com/achingbrain/uint8arrays",
"bugs": "https://github.com/achingbrain/uint8arrays/issues",
"types": "dist/src/index.d.ts",
"types": "dist/index.d.ts",
"typesVersions": {
"*": {
"src/*": [
"dist/src/*",
"dist/src/*/index"
"*": [
"dist/*",
"dist/*/index"
]
}
},
Expand All @@ -24,14 +24,15 @@
"to-string.js",
"dist/*.ts",
"dist/*.map",
"dist/*.js"
"dist/*.js",
"tsconfig.json"
],
"repository": {
"type": "git",
"url": "https://github.com/achingbrain/uint8arrays.git"
},
"scripts": {
"prepare": "aegir ts -p check",
"prepare": "aegir ts -p types",
"test": "aegir test",
"lint": "aegir lint",
"release": "aegir release --docs",
Expand All @@ -51,6 +52,7 @@
"contributors": [
"achingbrain <[email protected]>",
"Cayman <[email protected]>",
"Rafael Ramalho <[email protected]>"
"Rafael Ramalho <[email protected]>",
"Irakli Gozalishvili <[email protected]>"
]
}

0 comments on commit 34747cb

Please sign in to comment.