-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
86 lines (86 loc) · 1.91 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
{
"name": "semantic-release-demo",
"version": "1.2.0",
"description": "",
"main": "index.js",
"scripts": {
"cm": "git-cz",
"semantic-release": "semantic-release",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@commitlint/cli": "^7.2.1",
"@commitlint/config-conventional": "^7.1.2",
"@semantic-release/changelog": "^5.0.0",
"@semantic-release/git": "^9.0.0",
"commitizen": "^3.0.5",
"cz-conventional-changelog": "^2.1.0",
"husky": "^1.2.0",
"semantic-release": "^17.0.1",
"semantic-release-version-bump": "^1.1.0"
},
"release": {
"branches": [
"release",
{
"name": "alpha",
"prerelease": true
}
],
"prepare": [
"@semantic-release/changelog",
"@semantic-release/npm",
[
"semantic-release-version-bump",
{
"files": "some-file.php"
}
],
{
"path": "@semantic-release/git",
"assets": [
"some-file.php",
"package.json",
"package-lock.json",
"CHANGELOG.md"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
"semantic-release-version-bump",
[
"@semantic-release/github",
{
"assets": [
{
"path": "dist.txt",
"label": "Test dist files"
}
]
}
]
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}