Comparing version 1.3.1 to 1.4.0
{ | ||
"name": "git-open", | ||
"version": "1.3.1", | ||
"version": "1.4.0", | ||
"description": "Type `git open` to open the GitHub/GitLab/Bitbucket homepage for a repository.", | ||
@@ -37,3 +37,4 @@ "author": "Paul Irish (http://paulirish.com/)", | ||
"lint:readme": "node ./node_modules/markdownlint/lib/markdownlint.js --config markdownlint.json README.md", | ||
"test": "npm run lint:package && npm run lint:readme && npm run lint:editorconfig", | ||
"test": "npm run unit && npm run lint:package && npm run lint:readme && npm run lint:editorconfig", | ||
"unit": "bats test/", | ||
"watch": "find . -maxdepth 2 -iname '*bats' -o -iname 'git-open' | entr bats test/" | ||
@@ -40,0 +41,0 @@ }, |
@@ -57,2 +57,6 @@ # git-open [![Build Status](https://img.shields.io/travis/paulirish/git-open/master.svg)](https://travis-ci.org/paulirish/git-open) | ||
#### Using Windows with `cmd` terminal | ||
Save the `git-open` script in any place accessible via your `%PATH%` environment var. | ||
#### Using a ZSH Framework | ||
@@ -73,3 +77,3 @@ | ||
1. `cd ~/.oh-my-zsh/custom/plugins` | ||
1. `git clone git@github.com:paulirish/git-open.git` | ||
1. `git clone https://github.com/paulirish/git-open.git` | ||
1. Add `git-open` to your plugin list - edit `~/.zshrc` and change | ||
@@ -149,3 +153,3 @@ `plugins=(...)` to `plugins=(... git-open)` | ||
```sh | ||
BATS_CWD="." ./git-open | ||
env BROWSER='echo' ./git-open | ||
``` | ||
@@ -161,3 +165,3 @@ | ||
# Run the test suite once: | ||
bats test | ||
bats test # or `npm run unit` | ||
@@ -164,0 +168,0 @@ # Run it on every change with `entr` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
140472
54
188