gh-switcher
Version:
Lightning-fast GitHub account switcher for developers with multiple identities
70 lines (69 loc) • 2.15 kB
JSON
{
"name": "gh-switcher",
"version": "0.1.0",
"description": "Lightning-fast GitHub account switcher for developers with multiple identities",
"main": "gh-switcher.sh",
"bin": {
"ghs": "gh-switcher.sh"
},
"files": [
"gh-switcher.sh",
"LICENSE",
"README.md"
],
"scripts": {
"lint": "shellcheck -x -e SC1091,SC2155,SC2181 gh-switcher.sh",
"test": "CI=true bats -r tests",
"test:unit": "bats -r tests/unit",
"test:integration": "bats -r tests/integration",
"test:e2e": "bats -r tests/e2e",
"build": "echo 'No build step needed for bash project' && exit 0",
"ci-check": "./scripts/ci-check.sh",
"ci-test": "./scripts/local-ci-test.sh",
"install-global": "echo 'source $(pwd)/gh-switcher.sh' >> ~/.zshrc && echo 'Added to ~/.zshrc - restart your terminal'",
"uninstall-global": "sed -i.bak '/gh-switcher.sh/d' ~/.zshrc && echo 'Removed from ~/.zshrc'",
"install-hook": "bash gh-switcher.sh guard install",
"uninstall-hook": "bash gh-switcher.sh guard uninstall",
"install-dev-hooks": "./scripts/install-dev-hooks.sh",
"precommit": "npm run lint && npm test",
"shell-reset": "./scripts/shell-reset.sh",
"prepublishOnly": "npm run ci-check",
"release:patch": "npm version patch && git push --follow-tags",
"release:minor": "npm version minor && git push --follow-tags",
"release:major": "npm version major && git push --follow-tags",
"release:dry-run": "npm pack --dry-run"
},
"keywords": [
"github",
"cli",
"git",
"account-switcher",
"ssh",
"developer-tools",
"github-cli",
"multi-account"
],
"author": {
"name": "seconds-0",
"email": "seconds0.005@gmail.com",
"url": "https://github.com/seconds-0"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/seconds-0/gh-switcher.git"
},
"bugs": {
"url": "https://github.com/seconds-0/gh-switcher/issues"
},
"homepage": "https://github.com/seconds-0/gh-switcher#readme",
"engines": {
"node": ">=14.0.0"
},
"preferGlobal": true,
"os": [
"darwin",
"linux",
"!win32"
]
}