Skip to content

Commit

Permalink
Husky commit hook updated
Browse files Browse the repository at this point in the history
  • Loading branch information
delowardev committed Apr 23, 2022
1 parent e6550d6 commit 98fa0ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run type-check
npm run build
npx lint-staged
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"lint:fix": "eslint --fix --ext .ts,.js,.vue ./",
"prettier": "prettier -c --ignore-unknown ./",
"prettier:fix": "prettier -c --write --ignore-unknown ./",
"precommit": "npm run type-check && npm run prettier:fix && npm run lint:fix"
"precommit": "npm run type-check && npm run prettier:fix && npm run lint:fix && vite build"
},
"devDependencies": {
"@babel/types": "^7.15.6",
Expand Down

0 comments on commit 98fa0ed

Please sign in to comment.