Skip to content

Commit 74b90d8

Browse files
committed
feat: 在prepublishOnly脚本中添加测试步骤
1 parent 8adce1a commit 74b90d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
2020
"linçt": "npm run lint:es && npm run lint:css",
2121
"prepare": "husky install && dumi setup",
22-
"prepublishOnly": "father doctor && npm run build",
22+
"prepublishOnly": "father doctor && npm run test && npm run build",
2323
"prettier": "prettier --write \"{src,test}/**/*.{js,jsx,ts,tsx,css,less,json,md}\"",
2424
"start": "npm run dev",
2525
"test": "vitest --run",

0 commit comments

Comments
 (0)