Files
JavaScript/.husky/pre-commit
Akibur Rahman 5198af80a9 merge: Run "style" and "test" scripts automatically when committing new changes (#918)
* feat: add style and run scripts on pre-commit hooks

* Update package-lock.json
2022-03-09 20:41:14 +05:30

6 lines
69 B
Bash
Executable File

#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npm run style
npm run test