Skip to content

Commit 561a9d2

Browse files
authored
ci: exposes type definitions (#24)
1 parent 0740157 commit 561a9d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
".": {
1313
"require": "./dist/index.cjs.js",
1414
"import": "./dist/index.esm.js",
15+
"types": "./dist/index.d.ts",
1516
"default": "./dist/airbyte-embedded-widget.iife.js"
1617
}
1718
},
@@ -24,7 +25,7 @@
2425
"scripts": {
2526
"test": "jest",
2627
"clean": "rm -rf dist",
27-
"build": "rollup -c",
28+
"build": "rollup -c && tsc --declaration --emitDeclarationOnly --declarationDir dist",
2829
"prepare": "pnpm run clean && pnpm run build"
2930
},
3031
"keywords": [

0 commit comments

Comments
 (0)