diff --git a/.git-hooks/pre-commit b/.git-hooks/pre-commit
index ec280c3..c1b19d5 100755
--- a/.git-hooks/pre-commit
+++ b/.git-hooks/pre-commit
@@ -11,7 +11,7 @@ if [[ "$BRANCH" =~ $REGEX ]]; then
 fi
 
 # Lint staged files
-npm run lint
+npm run build
 
 # Run license-checker
 npm run license-checker
\ No newline at end of file