Skip to content

Commit 490146a

Browse files
1.1.0
1 parent f2f9b4a commit 490146a

File tree

4 files changed

+47
-9
lines changed

4 files changed

+47
-9
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,12 @@ Please provide examples of the URLs you are parsing with each PR.
106106
## License
107107

108108
Copyright Jason McCreary & Paul Irish. Licensed under MIT.
109-
http://opensource.org/licenses/MIT
109+
<http://opensource.org/licenses/MIT>
110110

111111
## Changelog
112112

113+
- **2016-07-22** - 1.1.0, update and add linters for package.json, readme.
114+
Re-publish to NPM.
113115
- **2016-07-11** - Changelog started (readme formatting and installation
114116
instructions updated)
117+

markdownlint.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"default": true,
3+
"MD002": false,
4+
"MD003": { "style": "atx" },
5+
"MD004": { "style": "dash" },
6+
"MD007": { "indent": 4 },
7+
"MD009": false,
8+
"MD012": false,
9+
"MD013": false,
10+
"MD026": false,
11+
"MD033": false,
12+
"MD036": false,
13+
"MD041": false
14+
}

package.json

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,43 @@
11
{
22
"name": "git-open",
3-
"version": "1.0.2",
4-
"description": "Type `git open` to open the GitHub page or website for a repository.",
3+
"version": "1.1.0",
4+
"description": "Type `git open` to open the GitHub/GitLab/Bitbucket homepage for a repository.",
5+
"author": "Paul Irish (http://paulirish.com/)",
6+
"license": "MIT",
7+
"homepage": "https://github.com/paulirish/git-open",
8+
"bugs": {
9+
"url": "https://github.com/paulirish/git-open/issues"
10+
},
511
"repository": {
612
"type": "git",
713
"url": "https://github.com/paulirish/git-open.git"
814
},
15+
"contributors": [
16+
"Paul Irish (http://paulirish.com/)",
17+
"Jason McCreary <jason@pureconcepts.net> (http://jason.pureconcepts.net/)",
18+
"David O'Trakoun <me@davidosomething.com> (https://davidosomething.com/)"
19+
],
920
"keywords": [
1021
"git",
1122
"cli"
1223
],
24+
"engines": {
25+
"node": ">=0.10.3",
26+
"npm": ">=2.0.0"
27+
},
28+
"preferGlobal": true,
1329
"bin": {
1430
"git-open": "git-open",
15-
"git-home" : "git-open"
31+
"git-home": "git-open"
1632
},
17-
"author": "Paul Irish",
18-
"license": "MIT",
19-
"bugs": {
20-
"url": "https://github.com/paulirish/git-open/issues"
33+
"scripts": {
34+
"lint:package": "echo \"\nLinting package.json\" && pjv --recommendations --warnings && echo \"OK\n\n\"",
35+
"lint:readme": "echo \"\nLinting README.md\" && markdownlint --config markdownlint.json README.md && echo \"OK\n\n\"",
36+
"test": "npm run --silent lint:package && npm run --silent lint:readme"
2137
},
22-
"homepage": "https://github.com/paulirish/git-open"
38+
"dependencies": {},
39+
"devDependencies": {
40+
"markdownlint": "^0.2.0",
41+
"package-json-validator": "^0.6.1"
42+
}
2343
}

0 commit comments

Comments
 (0)