diff --git a/.husky/pre-commit b/.husky/pre-commit index 85bead7..4c69bd2 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,5 +1,6 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -npm run test || npm install && npm run test +npm run lint || npm install && npm run lint +npm run test npm run build && git add dist/