We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4829a15 commit c71b5f7Copy full SHA for c71b5f7
.husky/pre-commit
@@ -1,4 +1,4 @@
1
#!/usr/bin/env sh
2
. "$(dirname -- "$0")/_/husky.sh"
3
4
-npx lint-staged
+npx lint-staged && npm run test:deploy
package.json
@@ -21,7 +21,8 @@
21
"lint": "eslint src/**/*.{ts,vue} --max-warnings 20",
22
"prepare": "husky install",
23
"test:dev": "vitest",
24
- "test:all": "vitest --run"
+ "test:all": "vitest --run",
25
+ "test:deploy": "vitest --run --bail 1"
26
},
27
"lint-staged": {
28
"src/**/*.{js,ts,vue}": [
0 commit comments