Skip to content

Commit a3cedeb

Browse files
committed
chore: update publish script
1 parent 779b82c commit a3cedeb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.husky/pre-push

100644100755
File mode changed.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"clean": "del-cli dist",
1212
"build:js": "rollup -c rollup.conf.js",
1313
"build": "run-s ci clean build:js",
14-
"prepare": "husky install"
14+
"prepare": "husky install",
15+
"prepublishOnly": "run-s build"
1516
},
1617
"main": "dist/index.common.js",
1718
"module": "dist/index.esm.js",

0 commit comments

Comments
 (0)