Nobel Prize Magnet

    captainhook

    0.2.1 • Public • Published

    Captain Hook 🪝

    Git hooks made easy, even for a codfish!

    Install

    npm i -D captainhook
    

    Uninstall

    npm uninstall captainhook
    

    Add the following to package.json:

    "hooks": {
      "pre-commit": "npm test"
    }

    Supported Hooks

    Captain Hook supports all client-side git hooks.

    • applypatch-msg
    • pre-applypatch
    • post-applypatch
    • pre-commit
    • prepare-commit-msg
    • commit-msg
    • post-commit
    • pre-rebase
    • post-checkout
    • post-merge
    • post-update
    • pre-auto-gc
    • post-rewrite
    • pre-push

    Install

    npm i captainhook

    DownloadsWeekly Downloads

    5

    Version

    0.2.1

    License

    MIT

    Unpacked Size

    30.3 kB

    Total Files

    8

    Last publish

    Collaborators

    • imhoff