Skip to content

Commit

Permalink
fix: gitsync
Browse files Browse the repository at this point in the history
  • Loading branch information
snomiao committed Mar 28, 2021
1 parent 8c17abb commit 274fd57
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,23 @@
"description": "CapsLockX 提供一套超好上手的:鼠标模拟、编辑增强、虚拟桌面与窗口管理、应用内热键增强、JS数学表达式计算、等超多功能等你来定义。",
"scripts": {
"CapsLockX": "CapsLockX.exe",
"start": "CapsLockX.exe",
"build:patch": "npm version patch",
"build:minor": "npm version minor",
"build:major": "npm version major",
"versioning": "git commit -a -m versioning",
"version": "node tools/versioning.node.mjs && conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
"postversion": "npm run versioning && npm run gitpush && npm publish",
"gitpush": "npm run gitpush:gh && npm run gitpush:cn && npm run gitpush:bb",
"postversion": "npm run versioning && npm run gitsync && npm publish",
"gitsync": "npm run gitsync:gh && npm run gitsync:cn && npm run gitsync:bb",
"gitpush:gh": "git push --follow-tag --repo [email protected]:snomiao/CapsLockX.git",
"gitpull:gh": "git pull [email protected]:snomiao/CapsLockX.git",
"gitsync:gh": "npm run gitpull:gh && npm run gitpush:gh",
"gitpush:cn": "git push --follow-tag --repo [email protected]:snomiao/CapslockX.git",
"gitpush:bb": "git push --follow-tag --repo [email protected]:snomiao/capslockx.git"
"gitpull:cn": "git pull [email protected]:snomiao/CapslockX.git",
"gitsync:cn": "npm run gitpull:cn && npm run gitpush:cn",
"gitpush:bb": "git push --follow-tag --repo [email protected]:snomiao/capslockx.git",
"gitpull:bb": "git pull [email protected]:snomiao/capslockx.git",
"gitsync:bb": "npm run gitpull:bb && npm run gitpush:bb",
"start": "CapsLockX.exe"
},
"repository": {
"type": "git",
Expand All @@ -35,4 +41,4 @@
"@commitlint/config-conventional": "^12.0.1",
"conventional-changelog-cli": "^2.1.1"
}
}
}

0 comments on commit 274fd57

Please sign in to comment.