Skip to content

Instantly share code, notes, and snippets.

@james-huston
Created December 5, 2013 14:13
Show Gist options
  • Save james-huston/7805743 to your computer and use it in GitHub Desktop.
Save james-huston/7805743 to your computer and use it in GitHub Desktop.
Package.json entry for firing the pre-commit creator on npm install.
{
"name": "youproject",
"version": "0.0.1",
"description": "some cool stuff",
"main": "index.js",
"scripts": {
"install": "bash scripts/pre-commit.sh"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment