package.json for npm publish

This commit is contained in:
Paul Irish 2025-02-06 17:39:04 -08:00
parent e8a0560e05
commit 8237f19b10
No known key found for this signature in database
GPG key ID: 047F4C1E64AD96C0
2 changed files with 6 additions and 5 deletions

View file

@ -1,9 +1,10 @@
{
"name": "git-recent",
"version": "1.1.1",
"description": "List recent git branches, formatted so fancy",
"version": "2.0",
"description": "List recent git branches, select one for checkout. See branch commits and diffs, all formatted so fancy",
"bin": {
"git-recent": "git-recent"
"git-recent": "git-recent",
"git-recent-og": "git-recent-og"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"

View file

@ -53,8 +53,8 @@ If you're a Windows user, you need to use [Git Bash](https://git-scm.com/downloa
### Installation
You can add the `git-recent` location to your path (e.g. add the directory to your `PATH` environment
or copy `git-recent` into an existing included path like `/usr/local/bin` or `~/bin/`).
You can download/clone and add the `git-recent` directory to your path (e.g. add the directory to your `PATH` environment
or copy `git-recent-og` script into an existing included path like `/usr/local/bin` or `~/bin/`).
You can use also `npm` to install the global binary: