2.0.1 • Published 2 months ago

pre-commit.js v2.0.1

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

Pre-Commit JS

Install your custom pre-commit Node.js script

npm (scoped) install size downloads license Forks Stars

npm i -D pre-commit.js

Usage

It automatically sets pre-commit hook after installation. Check .git/hooks/pre-commit to sure.

Then put the path of your desired script in preCommitScript field in your "package.json" file.

Currently, only Node.js scripts are acceptable. Bun.js support is on the agenda.

Good to know!

You can also manually set it up using:

npx init-pre-commit-hook

after installation (npm install).

1.1.1

2 months ago

1.1.6

2 months ago

1.1.5

2 months ago

1.1.4

2 months ago

1.1.3

2 months ago

1.1.2

2 months ago

2.0.1

2 months ago

2.0.0

2 months ago

1.1.0

7 months ago

1.0.8

9 months ago

1.0.7

12 months ago

1.0.6

12 months ago

1.0.5

12 months ago

1.0.4

12 months ago

1.0.3

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago