-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 1.22 KB
/
package.json
File metadata and controls
50 lines (50 loc) · 1.22 KB
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": "0.1.11",
"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"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jinjutech/commit-message-validator.git"
},
"keywords": [
"git",
"commit-msg",
"validator"
],
"author": "Yudu Ban <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/jinjutech/commit-message-validator/issues"
},
"homepage": "https://github.com/jinjutech/commit-message-validator#readme",
"bin": {
"commit-message-validator": "./lib/cli.js"
},
"devDependencies": {
"eslint": "^5.16.0",
"husky": "^0.13.3"
},
"dependencies": {
"chalk": "^1.1.3",
"find-git-root": "^1.0.0",
"find-root": "^1.0.0",
"fs": "^0.0.1-security",
"path": "^0.12.7"
},
"config": {
"commit-message-validator": {
"pattern": [
"^\\s*refs\\s+#\\d+\\s+.+$",
"^[vV]?\\d+\\.\\d+\\.\\d+"
],
"errorMessage": "Commit message must match pattern in package.json"
}
}
}