-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 2.45 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"devDependencies": {
"@commitlint/config-conventional": "^12.1.1",
"@google/semantic-release-replace-plugin": "^1.0.2",
"@semantic-release/changelog": "5.0.1",
"@semantic-release/exec": "^5.0.0",
"@semantic-release/git": "9.0.0",
"@semantic-release/github": "^7.2.3",
"commitlint": "12.1.1",
"conventional-changelog-conventionalcommits": "4.5.0",
"cz-conventional-changelog": "^3.3.0",
"gradle-semantic-release-plugin": "1.4.17",
"husky": "^6.0.0",
"semantic-release": "17.4.2"
},
"scripts": {
"postinstall": "husky install",
"semantic-release": "semantic-release"
},
"release": {
"branches": [
"master"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"@google/semantic-release-replace-plugin",
{
"replacements": [
{
"files": [
"setup.py"
],
"from": "version\\s?=\\s?'.*'",
"to": "version='${nextRelease.version}'",
"results": [
{
"file": "setup.py",
"hasChanged": true,
"numMatches": 1,
"numReplacements": 1
}
],
"countMatches": true
},
{
"files": [
"strmprivacy/driver/__init__.py"
],
"from": "__version__\\s?=\\s?'.*'",
"to": "__version__ = '${nextRelease.version}'",
"results": [
{
"file": "strmprivacy/driver/__init__.py",
"hasChanged": true,
"numMatches": 1,
"numReplacements": 1
}
],
"countMatches": true
}
]
}
],
[
"@semantic-release/git",
{
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}",
"assets": [
"setup.py",
"strmprivacy/driver/__init__.py",
"CHANGELOG.md"
]
}
],
"@semantic-release/github"
]
},
"engines": {
"node": "^12.12.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}