|
|
|
@ -33,8 +33,10 @@
|
|
|
|
|
},
|
|
|
|
|
"scripts": {
|
|
|
|
|
"build": "yarn clean && tsc",
|
|
|
|
|
"install-linux": "yarn pkg:linux && cp ./bin/index-linux-x64 /usr/local/bin/git-remote-git3",
|
|
|
|
|
"install-mac": "yarn pkg && cp ./bin/index-macos-x64 /usr/local/bin/git-remote-git3",
|
|
|
|
|
"install-mac-arm": "yarn pkg && cp ./bin/index-macos-arm64 /usr/local/bin/git-remote-git3",
|
|
|
|
|
"pkg:linux": "yarn build && pkg ./dist/index.js --out-path bin/ --targets node18-linux-x64",
|
|
|
|
|
"pkg": "yarn build && pkg ./dist/index.js --out-path bin/ --targets node18-macos-x64,node18-macos-arm64,node18-linux-x64,node18-win-x64",
|
|
|
|
|
"build:git3": "esbuild ./src/git3/index.js --bundle --platform=node --target=es6 --outfile=dist/git3.js",
|
|
|
|
|
"pkg:git3": "yarn build:git3 && pkg dist/git3.js --output bin/git3 && cp bin/git3 /usr/local/bin/git3",
|
|
|
|
|