Skip to content

Commit

Permalink
Merge pull request #20 from RebeccaStevens/dts
Browse files Browse the repository at this point in the history
build: generate types for release
  • Loading branch information
JoshuaKGoldberg authored Feb 7, 2023
2 parents 605e236 + 705de7a commit bfaee86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"type": "module",
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.js",
"require": "./lib/index.cjs"
}
Expand All @@ -24,7 +25,7 @@
],
"scripts": {
"build": "tsc",
"build:release": "tsup src/index.ts --format cjs --outDir lib",
"build:release": "tsup src/index.ts --format cjs --outDir lib --dts",
"format": "prettier \"**/*\" --ignore-unknown",
"format:write": "pnpm format --write",
"lint": "eslint . --max-warnings 0 --report-unused-disable-directives",
Expand Down

0 comments on commit bfaee86

Please sign in to comment.