Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

Commit a2d04e8

Browse files
committed
build(add script to bump version better):
1 parent 1b43dc0 commit a2d04e8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "live2d-widget",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"description": "Add the Sseexxyyy live2d to webpages.",
55
"scripts": {
66
"inst:dev": "npm install -g commitizen&&npm install",
@@ -10,6 +10,12 @@
1010
"commit": "git pull&&git-cz",
1111
"_changelog": "./node_modules/.bin/conventional-changelog -i docsrc/CHANGELOG.md -r 0 -s -u",
1212
"changelog": "git pull&&npm run _changelog&&git add docsrc/CHANGELOG.md&&git commit -m \"docs: update CHANGELOG\"&&git push&&git status",
13+
"v:major": "npm version major",
14+
"v:pmajor": "npm version premajor",
15+
"v:minor": "npm version minor",
16+
"v:pminor": "npm version preminor",
17+
"v:patch": "npm version patch",
18+
"v:ppatch": "npm version prepatch",
1319
"test": "echo \"Error: no test specified\" && exit 1",
1420
"ghpages": "push-gh-pages"
1521
},

0 commit comments

Comments
 (0)