Detalhes do pacote

pro-commit

therealparmesh72MIT1.2.3

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

commit, git, hook, pre-commit

readme (leia-me)

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

changelog (log de mudanças)

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.2.3 (2022-01-25)

1.2.2 (2021-12-01)

1.2.1 (2021-11-22)

1.2.0 (2021-11-22)

Features

1.1.0 (2021-11-18)

Features

  • add support for core.hooksPath (c7f595c)

1.0.4 (2021-11-17)

1.0.3 (2021-11-17)

1.0.2 (2021-11-17)

Bug Fixes

1.0.1 (2021-11-17)

1.0.0 (2021-11-17)

Features