Skip to content

Commit b2552a3

Browse files
committed
fix: Adding postinstall script
1 parent eda0c65 commit b2552a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
"prettier:fix": "prettier --write .",
3232
"build-storybook": "storybook build",
3333
"deploy": "npm run build-storybook && gh-pages -d storybook-static",
34-
"release": "npm run prettier:check && npm run test && npm run build && release-it && npm run deploy"
34+
"release": "npm run prettier:check && npm run test && npm run build && release-it && npm run deploy",
35+
"postinstall": "rm -rf dist && npm run build:esm && npm run build:cjs"
3536
},
3637
"dependencies": {
3738
"@types/mustache": "^4.2.5",

0 commit comments

Comments
 (0)