-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
72 lines (72 loc) · 1.9 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"name": "boilerplate",
"version": "0.0.1",
"description": "Magic tools and Terra-firma for Open-Source JS projects !",
"main": "index.js",
"scripts": {
"build": "echo \"WARN: you should change the build task\" && exit 1",
"test": "echo \"ERROR: no test specified\" && exit 1",
"cz": "git-cz",
"cc": "conventional-changelog",
"release": "standard-version",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kane-thornwyrd/boilerplate.git"
},
"author": "Jean-cédric Thérond <[email protected]>",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/kane-thornwyrd/boilerplate/issues"
},
"homepage": "https://github.com/kane-thornwyrd/boilerplate#readme",
"devDependencies": {
"@commitlint/config-conventional": "16.2.1",
"commitizen": "4.2.4",
"commitlint": "16.2.3",
"cz-conventional-changelog": "3.3.0",
"git-precommit-checks": "3.0.7",
"husky": "7.0.4",
"precise-commits": "1.0.2",
"prettier": "2.6.1",
"standard-version": "9.3.2"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog",
"maxHeaderWidth": 100,
"maxLineWidth": 100
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "git-precommit-checks && precise-commits"
}
},
"hooks": {
"pre-commit": [
{
"message": "You’ve got leftover conflict markers",
"regex": "/^[<>|=]{4,}/m"
},
{
"filter": "\\.jsx?$",
"message": "You’ve got leftover `console.log`",
"regex": "console\\.log"
},
{
"filter": "\\.jsx?$",
"message": "You have unfinished devs",
"nonBlocking": "true",
"regex": "(?:FIXME|TODO)"
}
]
}
}