Comparing version 1.3.0 to 1.3.1
{ | ||
"name": "git-open", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Type `git open` to open the GitHub/GitLab/Bitbucket homepage for a repository.", | ||
@@ -34,8 +34,11 @@ "author": "Paul Irish (http://paulirish.com/)", | ||
"scripts": { | ||
"lint:package": "echo \"\nLinting package.json\" && node ./node_modules/package-json-validator/bin/pjv --recommendations --warnings && echo \"OK\n\n\"", | ||
"lint:readme": "echo \"\nLinting README.md\" && node ./node_modules/markdownlint/lib/markdownlint.js --config markdownlint.json README.md && echo \"OK\n\n\"", | ||
"test": "npm run --silent lint:package && npm run --silent lint:readme" | ||
"lint:editorconfig": "eclint check git-open* readme* .travis.yml", | ||
"lint:package": "pjv --recommendations --warnings", | ||
"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", | ||
"watch": "find . -maxdepth 2 -iname '*bats' -o -iname 'git-open' | entr bats test/" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"eclint": "^2.1.0", | ||
"markdownlint": "^0.2.0", | ||
@@ -42,0 +45,0 @@ "package-json-validator": "^0.6.1" |
@@ -1,2 +0,2 @@ | ||
# git-open | ||
# git-open [![Build Status](https://img.shields.io/travis/paulirish/git-open/master.svg)](https://travis-ci.org/paulirish/git-open) | ||
@@ -85,3 +85,3 @@ Type `git open` to open the repo website (GitHub, GitLab, Bitbucket) in your browser. | ||
`zplug "paulirish/git-open", as:command` | ||
`zplug "paulirish/git-open", as:plugin` | ||
@@ -123,3 +123,3 @@ ### Supported remote repositories | ||
## Related projects / alternatives | ||
## Alternative projects | ||
@@ -143,6 +143,26 @@ See [hub](https://github.com/github/hub) for complete GitHub opening support. | ||
## Contributing | ||
## Contributing & Development | ||
Please provide examples of the URLs you are parsing with each PR. | ||
You can run `git-open` in `echo` mode, which doesn't open your browser, but just prints the URL to stdout: | ||
```sh | ||
BATS_CWD="." ./git-open | ||
``` | ||
#### Testing: | ||
You'll need to install [bats](https://github.com/sstephenson/bats#installing-bats-from-source), the Bash automated testing system. It's also available as `brew install bats` | ||
```sh | ||
git submodule update --init # pull in the assertion libraries | ||
# Run the test suite once: | ||
bats test | ||
# Run it on every change with `entr` | ||
brew install entr | ||
npm run watch | ||
``` | ||
## Related projects | ||
@@ -160,2 +180,3 @@ | ||
- **2017-06-17** - test suite added | ||
- **2016-07-23** - readme -- fix oh-my-zsh install instructions | ||
@@ -162,0 +183,0 @@ - **2016-07-22** - 1.1.0, update and add linters for package.json, readme. |
Sorry, the diff of this file is not supported yet
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
137962
51
184
3
1