git-hooks-list
Advanced tools
+31
-32
@@ -1,31 +0,1 @@ | ||
| type GitHook = | ||
| | 'applypatch-msg' | ||
| | 'pre-applypatch' | ||
| | 'post-applypatch' | ||
| | 'pre-commit' | ||
| | 'pre-merge-commit' | ||
| | 'prepare-commit-msg' | ||
| | 'commit-msg' | ||
| | 'post-commit' | ||
| | 'pre-rebase' | ||
| | 'post-checkout' | ||
| | 'post-merge' | ||
| | 'pre-push' | ||
| | 'pre-receive' | ||
| | 'update' | ||
| | 'proc-receive' | ||
| | 'post-receive' | ||
| | 'post-update' | ||
| | 'reference-transaction' | ||
| | 'push-to-checkout' | ||
| | 'pre-auto-gc' | ||
| | 'post-rewrite' | ||
| | 'sendemail-validate' | ||
| | 'fsmonitor-watchman' | ||
| | 'p4-changelist' | ||
| | 'p4-prepare-changelist' | ||
| | 'p4-post-changelist' | ||
| | 'p4-pre-submit' | ||
| | 'post-index-change' | ||
| /** | ||
@@ -39,7 +9,36 @@ List of Git hooks. | ||
| console.log(gitHooks) | ||
| //-> ['applypatch-msg', 'pre-applypatch', 'post-applypatch', …] | ||
| //-> ['applypatch-msg', 'pre-applypatch', 'post-applypatch', ... 25 more items] | ||
| ``` | ||
| */ | ||
| declare const gitHooks: GitHook[] | ||
| declare const gitHooks: readonly [ | ||
| 'applypatch-msg', | ||
| 'pre-applypatch', | ||
| 'post-applypatch', | ||
| 'pre-commit', | ||
| 'pre-merge-commit', | ||
| 'prepare-commit-msg', | ||
| 'commit-msg', | ||
| 'post-commit', | ||
| 'pre-rebase', | ||
| 'post-checkout', | ||
| 'post-merge', | ||
| 'pre-push', | ||
| 'pre-receive', | ||
| 'update', | ||
| 'proc-receive', | ||
| 'post-receive', | ||
| 'post-update', | ||
| 'reference-transaction', | ||
| 'push-to-checkout', | ||
| 'pre-auto-gc', | ||
| 'post-rewrite', | ||
| 'sendemail-validate', | ||
| 'fsmonitor-watchman', | ||
| 'p4-changelist', | ||
| 'p4-prepare-changelist', | ||
| 'p4-post-changelist', | ||
| 'p4-pre-submit', | ||
| 'post-index-change', | ||
| ] | ||
| export default gitHooks |
+1
-10
| { | ||
| "name": "git-hooks-list", | ||
| "version": "4.2.0", | ||
| "version": "4.2.1", | ||
| "description": "List of Git hooks", | ||
@@ -41,11 +41,2 @@ "keywords": [ | ||
| ], | ||
| "c8": { | ||
| "include": [ | ||
| "index.js" | ||
| ], | ||
| "reporter": [ | ||
| "text", | ||
| "lcov" | ||
| ] | ||
| }, | ||
| "publishConfig": { | ||
@@ -52,0 +43,0 @@ "access": "public", |
+1
-1
@@ -35,5 +35,5 @@ # git-hooks-list | ||
| console.log(gitHooks) | ||
| //-> ['applypatch-msg', 'pre-applypatch', 'post-applypatch', …] | ||
| //-> ['applypatch-msg', 'pre-applypatch', 'post-applypatch', ... 25 more items] | ||
| ``` | ||
| <!-- example end --> |
4838
-2.42%