husky 0.1.0 copy "husky: ^0.1.0" to clipboard
husky: ^0.1.0 copied to clipboard

Husky make it easy to manage you Dart and Flutter project's git hooks.

husky #

Dart version husky (known in JavaScript comunity)

Husky make it easy to manage you Dart and Flutter project's git hooks.

Install #

Add husky to your dev_dependencies in pubspec.yaml

dev_dependencies:
  husky: latest

Usage #

dart pub get
dart pub run husky install

Add a hook:

dart pub run husky add .husky/pre-commit "dart test"
git add .husky/pre-commit

Make a commit:

git commit -m "Keep calm and commit"
# `dart test` will run
30
likes
0
pub points
89%
popularity

Publisher

unverified uploader

Husky make it easy to manage you Dart and Flutter project's git hooks.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args, cli_util, path

More

Packages that depend on husky