Skip to content

Commit f02d71a

Browse files
committed
fix: generate only .d.ts files
drive-by: mark v0.2.2
1 parent e3153da commit f02d71a

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "deadmanswitch",
33
"type": "module",
4-
"version": "0.2.1",
4+
"version": "0.2.2",
55
"description": "",
66
"exports": {
77
"./*": {

tsconfig.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
"include": ["src"],
33
"exclude": ["lib"],
44
"compilerOptions": {
5+
"emitDeclarationOnly": true,
6+
"declaration": true,
7+
"declarationDir": "./types",
8+
"outDir": "./types",
9+
"noEmit": false,
10+
511
"allowJs": true,
612
"checkJs": true,
713
"strict": true,
@@ -12,8 +18,7 @@
1218
"esModuleInterop": true,
1319
"module": "NodeNext",
1420
"lib": [ "esnext", "DOM", "DOM.Iterable" ],
15-
"types": [ "node" ],
16-
"outDir": "./types"
21+
"types": [ "node" ]
1722
},
1823
"references": [
1924
]

0 commit comments

Comments
 (0)