Skip to content

Commit

Permalink
build: set typesVersions
Browse files Browse the repository at this point in the history
  • Loading branch information
unicornware committed Sep 30, 2022
1 parent 7ad7469 commit 745b3bf
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,20 @@
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"typesVersions": {
"*": {
"*.cjs": [
"./dist/*.d.cts",
"./dist/*/index.d.cts",
"./dist/index.d.cts"
],
"*": [
"./dist/*.d.mts",
"./dist/*/index.d.mts",
"./dist/index.d.mts"
]
}
},
"scripts": {
"build": "unbuild",
"check:ci": "yarn dedupe --check && yarn check:format && yarn check:lint && yarn check:spelling && yarn check:types && yarn check:types:build && yarn test:cov && NODE_ENV=production yarn pack -o %s-%v.tgz && yarn clean:pack",
Expand Down

0 comments on commit 745b3bf

Please sign in to comment.