-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
50 lines (50 loc) · 1.24 KB
/
package.json
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"name": "commit-message-validator",
"version": "1.0.2",
"description": "Git commit-msg hook validator",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint .",
"precommit": "npm run lint",
"commitmsg": "node ./lib/cli.js",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/banyudu/commit-message-validator.git"
},
"keywords": [
"git",
"commit-msg",
"validator"
],
"author": "Yudu Ban <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/banyudu/commit-message-validator/issues"
},
"homepage": "https://github.com/banyudu/commit-message-validator#readme",
"bin": {
"commit-message-validator": "./lib/cli.js"
},
"devDependencies": {
"commit-message-validator": "^1.0.1",
"eslint": "^5.16.0",
"husky": "^7.0.2"
},
"dependencies": {
"chalk": "^1.1.3",
"find-git-root": "^1.0.0",
"find-root": "^1.0.0"
},
"config": {
"commit-message-validator": {
"pattern": [
"^\\s*refs\\s+#\\d+\\s+.+$",
"^[vV]?\\d+\\.\\d+\\.\\d+"
],
"errorMessage": "Commit message must match pattern in package.json"
}
}
}