Skip to content

Commit 8ba5a1c

Browse files
committed
add release config for semantic-release
1 parent e44e02c commit 8ba5a1c

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

package.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,22 @@
4949
"oclif": {
5050
"bin": "create-javascript-project"
5151
},
52+
"release": {
53+
"branches": [
54+
"+([0-9])?(.{+([0-9]),x}).x",
55+
"main",
56+
"next",
57+
"next-major",
58+
{
59+
"name": "beta",
60+
"prerelease": true
61+
},
62+
{
63+
"name": "alpha",
64+
"prerelease": true
65+
}
66+
]
67+
},
5268
"repository": "hckhanh/create-javascript-project",
5369
"scripts": {
5470
"prepack": "rimraf lib && tsc -b && oclif-dev readme",

0 commit comments

Comments
 (0)