This commit is contained in:
Iliyan Angelov
2025-12-10 01:36:00 +02:00
parent 2f6dca736a
commit 6a9e823402
84 changed files with 5293 additions and 1836 deletions

15
frontEnd/.husky/pre-push Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/sh
# Pre-push hook to run security audit
echo "Running security audit before push..."
# Run npm audit
npm audit --audit-level=moderate
if [ $? -ne 0 ]; then
echo "Security audit failed. Please fix vulnerabilities before pushing."
exit 1
fi
echo "Security audit passed!"