Skip to content

Commit 159725b

Browse files
committed
Add prepublish script
1 parent d5f786a commit 159725b

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
@@ -71,7 +71,8 @@
7171
"test:ci": "jest --coverage",
7272
"lint": "eslint 'src/**/*.{js,ts,tsx}' 'stories/**/*.{js,ts,tsx}' --fix",
7373
"lint:ci": "eslint 'src/**/*.{js,ts,tsx}' 'stories/**/*.{js,ts,tsx}'",
74-
"build-storybook": "build-storybook"
74+
"build-storybook": "build-storybook",
75+
"prepublish": "yarn install && yarn build"
7576
},
7677
"files": [
7778
"dist",

0 commit comments

Comments
 (0)