Skip to content

Commit 0720991

Browse files
Update script name
1 parent f711a0f commit 0720991

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/husky.sh"
33

4-
npx lint-staged && npm run test:deploy
4+
npx lint-staged && npm run test:build

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"dev": "vite",
1414
"watch": "pnpm dev",
1515
"play": "sh src/playground/configs/build.sh && NODE_ENV=playground vite",
16-
"build": "vue-tsc && npm run test:deploy && vite build --config vite.build.config.ts",
16+
"build": "vue-tsc && npm run test:build && vite build --config vite.build.config.ts",
1717
"build:docs": "vite build",
1818
"predeploy": "npm run build",
1919
"deploy": "gh-pages -d docs",
@@ -22,7 +22,7 @@
2222
"prepare": "husky install",
2323
"test:dev": "vitest",
2424
"test:all": "vitest --run",
25-
"test:deploy": "vitest --run --bail 1"
25+
"test:build": "vitest --run --bail 1"
2626
},
2727
"lint-staged": {
2828
"src/**/*.{js,ts,vue}": [

0 commit comments

Comments
 (0)