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