npx lint-staged

if git diff --cached --name-only | grep -q '^docs/.*\.md$'; then
  npm run docs:index
  git add docs/INDEX.md
fi
