|
|
|
@ -1,12 +1,7 @@
|
|
|
|
|
{
|
|
|
|
|
"name": "git3-cli",
|
|
|
|
|
"version": "1.0.0",
|
|
|
|
|
"main": "dist/index.js",
|
|
|
|
|
"type": "module",
|
|
|
|
|
"types": "dist/index.d.ts",
|
|
|
|
|
"files": [
|
|
|
|
|
"dist/"
|
|
|
|
|
],
|
|
|
|
|
"bin": "dist/index.js",
|
|
|
|
|
"pkg": {
|
|
|
|
|
"targets": [
|
|
|
|
@ -25,7 +20,6 @@
|
|
|
|
|
"colors-cli": "^1.0.28",
|
|
|
|
|
"commander": "^9.4.1",
|
|
|
|
|
"debug": "^4.3.4",
|
|
|
|
|
"esbuild": "^0.16.4",
|
|
|
|
|
"eth-ens-namehash": "^2.0.8",
|
|
|
|
|
"ethers": "^5.7.2",
|
|
|
|
|
"git-config-path": "^2.0.0",
|
|
|
|
@ -38,15 +32,16 @@
|
|
|
|
|
"superpathjoin": "^2.0.1"
|
|
|
|
|
},
|
|
|
|
|
"scripts": {
|
|
|
|
|
"build": "yarn run clean && tsc",
|
|
|
|
|
"install-mac": "yarn pkg && cp ./bin/git3-cli-macos-x64 /usr/local/bin/git-remote-git3",
|
|
|
|
|
"install-mac-arm": "yarn pkg && cp ./bin/git3-cli-macos-arm64 /usr/local/bin/git-remote-git3",
|
|
|
|
|
"pkg": "yarn run build && pkg .",
|
|
|
|
|
"build": "yarn clean && tsc",
|
|
|
|
|
"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": "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",
|
|
|
|
|
"clean": "rm -rf ./dist ./bin"
|
|
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
"esbuild": "^0.16.4",
|
|
|
|
|
"@types/buffer-split": "^1.0.0",
|
|
|
|
|
"@types/debug": "^4.1.7",
|
|
|
|
|
"@types/node": "^18.11.10",
|
|
|
|
|