Skip to content

Commit 51fe842

Browse files
authored
build: add semantic-release config (#991)
1 parent f04c1a5 commit 51fe842

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

package.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,23 @@
116116
},
117117
"lint-staged": {
118118
"*.js": "eslint"
119+
},
120+
"release": {
121+
"plugins": [
122+
"@semantic-release/commit-analyzer",
123+
"@semantic-release/release-notes-generator",
124+
"@semantic-release/npm",
125+
"@semantic-release/github"
126+
],
127+
"branches": [
128+
"v6",
129+
{
130+
"name": "v7",
131+
"prerelease": "alpha"
132+
}
133+
]
134+
},
135+
"publishConfig": {
136+
"tag": "alpha"
119137
}
120138
}

0 commit comments

Comments
 (0)