Skip to content

Commit 56595cf

Browse files
author
Saiya
committed
chore: update prepublish command
1 parent 8dc706d commit 56595cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"scripts": {
1818
"dev": "tsx ./test/demo.ts",
1919
"build": "vite build",
20-
"prepublish": "yarn run build",
20+
"prepublish": "yarn test && yarn build",
2121
"test": "vitest --coverage",
2222
"test:server": "vitest --watch",
2323
"lint": "eslint src"

0 commit comments

Comments
 (0)