We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c908bb8 commit 274211cCopy full SHA for 274211c
.husky/pre-commit
@@ -1,4 +1,4 @@
1
#!/usr/bin/env sh
2
. "$(dirname -- "$0")/_/husky.sh"
3
4
-npx lint-staged && npm run test:build
+npx lint-staged && npm run test:commit
package.json
@@ -22,8 +22,9 @@
22
"prepublishOnly": "npm run build",
23
"lint": "eslint src/**/*.{ts,vue} --max-warnings 4",
24
"prepare": "husky install",
25
- "test": "vitest",
26
- "test:build": "vitest --run --bail 1"
+ "test": "vitest --reporter verbose",
+ "test:commit": "vitest --run --bail 1",
27
+ "test:build": "vitest --run --bail 1 --reporter dot"
28
},
29
"lint-staged": {
30
"src/**/*.{js,ts,vue}": [
0 commit comments