Skip to content
This repository was archived by the owner on Dec 12, 2020. It is now read-only.

Commit 49b5806

Browse files
committed
fix: use semantic-release to publish
1 parent 93d2948 commit 49b5806

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

package.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,20 @@
6262
"test": "npm run cy:run",
6363
"unit": "mocha src/*-spec.js",
6464
"unused-deps": "echo skip dependency-check --unused --no-dev --no-peer . --entry cypress/plugins/index.js",
65-
"semantic-release": "semantic-action pre && npm publish && semantic-action post",
65+
"semantic-release": "semantic-release",
6666
"cy:open": "cypress open",
6767
"cy:run": "cypress run"
6868
},
6969
"release": {
70-
"analyzeCommits": "simple-commit-message",
71-
"generateNotes": "github-post-release"
70+
"analyzeCommits": {
71+
"preset": "angular",
72+
"releaseRules": [
73+
{
74+
"type": "break",
75+
"release": "major"
76+
}
77+
]
78+
}
7279
},
7380
"devDependencies": {
7481
"babel-plugin-transform-object-rest-spread": "6.26.0",
@@ -84,8 +91,8 @@
8491
"nsp": "3.2.1",
8592
"pre-git": "3.17.1",
8693
"prettier-standard": "8.0.0",
87-
"semantic-action": "1.1.6",
8894
"simple-commit-message": "4.0.3",
95+
"semantic-release": "15.1.4",
8996
"standard": "11.0.1",
9097
"vue": "2.5.16",
9198
"vue-loader": "14.2.2",

0 commit comments

Comments
 (0)