1.2.3 • Published 2 years ago

pro-commit v1.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

pro-commit

Easily add a Git pre-commit hook to your Node.js project.

npm npm

Install

npm install --save-dev pro-commit

Uninstall

npm uninstall --save-dev pro-commit
# change this if the project has a custom Git hooks path
rm .git/hooks/pre-commit

Usage

Add prepare and pro-commit:task to scripts in package.json:

{
  "scripts": {
    "prepare": "pro-commit",
    "pro-commit:task": "..."
  }
}

Run install to ensure that the prepare lifecycle script sets up a Git pre-commit hook:

npm install
1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago