-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
77 lines (77 loc) · 1.64 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
73
74
75
76
77
{
"devDependencies": {
"@commitlint/cli": "^9.1.1",
"@commitlint/config-conventional": "^9.1.1",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/exec": "^5.0.0",
"@semantic-release/git": "^9.0.0",
"@semantic-release/github": "^7.0.7",
"husky": "^4.2.5",
"semantic-release": "^17.1.1"
},
"scripts": {
"semantic-release": "semantic-release"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"body-max-line-length": [
0
]
}
},
"release": {
"repositoryUrl": "https://github.com/steakteam/CHProtocol.git",
"branches": [
"master"
],
"tagFormat": "v${version}",
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"@semantic-release/exec",
{
"prepareCmd": "./gradlew setVersion --build-version ${nextRelease.version}",
"publishCmd": "./gradlew clean jar"
}
],
[
"@semantic-release/git",
{
"assets": [
"version.txt",
"CHANGELOG.md"
]
}
],
[
"@semantic-release/github",
{
"assets": [
"build/libs/*.jar"
]
}
],
[
"@semantic-release/commit-analyzer",
{
"releaseRules": [
{
"type": "refactor",
"release": "minor"
}
]
}
]
]
}
}