mirror of
https://github.com/nick-fields/retry.git
synced 2025-12-29 03:09:37 +08:00
* patch: setup prettier * patch: move .commitlintrc.js to .config * patch: config lint-staged and update husky * patch: configure eslint as well
9 lines
154 B
Bash
Executable File
9 lines
154 B
Bash
Executable File
#!/usr/bin/env sh
|
|
. "$(dirname -- "$0")/_/husky.sh"
|
|
|
|
# run lint/styling on staged changes
|
|
npx lint-staged
|
|
|
|
# regenerate dist
|
|
npm run prepare && git add .
|