Skip to content

Commit b790ebf

Browse files
committed
Add types in package.json
1 parent 073a5b7 commit b790ebf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66
"main": "dist/index.js",
77
"module": "dist/index.mjs",
88
"unpkg": "dist/index.umd.js",
9+
"types": "dist/index.d.ts",
910
"scripts": {
1011
"build": "microbundle",
12+
"prepublish": "yarn build",
1113
"storybook": "start-storybook -p 6006",
1214
"build-storybook": "build-storybook",
1315
"codecov": "codecov",

0 commit comments

Comments
 (0)