-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
33 lines (33 loc) · 781 Bytes
/
package.json
File metadata and controls
33 lines (33 loc) · 781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"name": "test-git-hooks",
"version": "1.0.0",
"description": "testing pre-git hook installs.",
"main": "index.js",
"scripts": {
"test": "echo \"This is a unit test \"",
"commit": "commit-wizard",
"demo-pre-commit": "DEBUG=pre-git .git/hooks/pre-commit -f",
"demo-commit-msg": "DEBUG=pre-git .git/hooks/commit-msg"
},
"author": "",
"license": "ISC",
"repository": {
"type": "git",
"url": "git://github.com/bahmutov/test-pre-git.git"
},
"config": {
"pre-git": {
"commit-msg": "validate-commit-msg",
"pre-commit": ["npm test"],
"pre-push": [
"echo pre push command",
"exit -1"
],
"post-commit": [],
"post-merge": []
}
},
"devDependencies": {
"pre-git": "^1.3.0"
}
}