diff --git a/package.json b/package.json index 00f6340..6714fda 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@xiangnanscu/lua2js", - "version": "0.22.0", + "version": "0.23.0", "main": "src/lua2js.mjs", "type": "module", "bin": { @@ -14,8 +14,10 @@ "commit": "git add . && git commit -am ", "c": "npm run commit", "push": "npm run commit", - "postpush": "uname -s | grep -q Darwin && while true; do git push origin && break; done || while true; do timeout 5 git push origin && break; done", - "pull": "while true; do timeout 5 git pull --recurse-submodules origin && break; done" + "_push": "git push --recurse-submodules=on-demand origin", + "_pull": "git pull --recurse-submodules origin", + "postpush": "uname -s | grep -q Darwin && npm run _push || while true; do timeout 5 npm run _push && break; done", + "pull": "uname -s | grep -q Darwin && npm run _pull || while true; do timeout 5 npm run _pull && break; done" }, "dependencies": { "@highlightjs/vue-plugin": "^2.1.0",