Files
gsap-carousel/.husky/pre-push

22 lines
498 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
echo "Запуск проверок перед push..."
echo "Проверка типов TypeScript..."
pnpm type-check || exit 1
echo "Проверка ESLint..."
pnpm lint || exit 1
echo "Проверка Stylelint..."
pnpm lint:styles || exit 1
echo "Запуск Unit тестов..."
pnpm test:unit || exit 1
echo "Production сборка..."
pnpm build:prod || exit 1
echo "Все проверки пройдены успешно!"