Skip to content

Commit

Permalink
build: update types exports
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Dec 23, 2023
1 parent ead082c commit 150c1fe
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,24 @@
"license": "MIT",
"sideEffects": false,
"type": "module",
"bin": {
"giget": "./dist/cli.mjs"
},
"exports": {
".": {
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs"
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"require": "./dist/index.cjs"
}
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"bin": {
"giget": "./dist/cli.mjs"
},
"files": [
"dist"
],
Expand Down Expand Up @@ -56,4 +61,4 @@
"vitest": "^1.1.0"
},
"packageManager": "pnpm@8.12.1"
}
}

0 comments on commit 150c1fe

Please sign in to comment.