node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…

pull-checkout-merge-command.hook

Run scripts after <code>pull</code>, <code>merge</code> and <code>checkout</code> succeed. Great for compiled source management between branches and automating migrations

Pull, Checkout, Merge... COMMAND!

Run scripts after certain git commands are used. Great for compiled source mangeagement between branches and automating magrations

hooks add pull-checkout-merge-command.hook

Open package.json and add "pcm-command" param to your scripts.

{
    "name": "my-cool-tool",
    "scripts":{
        "pcm-command": "echo \"this runs"\"
    }
}
  • git pull
  • git merge
  • git checkout

The first draft.