From 490146aacc532144bbd00c8fb158dc2619742b54 Mon Sep 17 00:00:00 2001 From: David O'Trakoun Date: Fri, 22 Jul 2016 02:01:22 -0400 Subject: [PATCH] 1.1.0 --- .gitignore | 1 + README.md | 5 ++++- markdownlint.json | 14 ++++++++++++++ package.json | 36 ++++++++++++++++++++++++++++-------- 4 files changed, 47 insertions(+), 9 deletions(-) create mode 100644 .gitignore create mode 100644 markdownlint.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c2658d7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules/ diff --git a/README.md b/README.md index 0b6d8a6..9cc7d0e 100644 --- a/README.md +++ b/README.md @@ -106,9 +106,12 @@ Please provide examples of the URLs you are parsing with each PR. ## License Copyright Jason McCreary & Paul Irish. Licensed under MIT. -http://opensource.org/licenses/MIT + ## Changelog +- **2016-07-22** - 1.1.0, update and add linters for package.json, readme. + Re-publish to NPM. - **2016-07-11** - Changelog started (readme formatting and installation instructions updated) + diff --git a/markdownlint.json b/markdownlint.json new file mode 100644 index 0000000..6ed27b9 --- /dev/null +++ b/markdownlint.json @@ -0,0 +1,14 @@ +{ + "default": true, + "MD002": false, + "MD003": { "style": "atx" }, + "MD004": { "style": "dash" }, + "MD007": { "indent": 4 }, + "MD009": false, + "MD012": false, + "MD013": false, + "MD026": false, + "MD033": false, + "MD036": false, + "MD041": false +} diff --git a/package.json b/package.json index 3ab6a20..5e869a6 100644 --- a/package.json +++ b/package.json @@ -1,23 +1,43 @@ { "name": "git-open", - "version": "1.0.2", - "description": "Type `git open` to open the GitHub page or website for a repository.", + "version": "1.1.0", + "description": "Type `git open` to open the GitHub/GitLab/Bitbucket homepage for a repository.", + "author": "Paul Irish (http://paulirish.com/)", + "license": "MIT", + "homepage": "https://github.com/paulirish/git-open", + "bugs": { + "url": "https://github.com/paulirish/git-open/issues" + }, "repository": { "type": "git", "url": "https://github.com/paulirish/git-open.git" }, + "contributors": [ + "Paul Irish (http://paulirish.com/)", + "Jason McCreary (http://jason.pureconcepts.net/)", + "David O'Trakoun (https://davidosomething.com/)" + ], "keywords": [ "git", "cli" ], + "engines": { + "node": ">=0.10.3", + "npm": ">=2.0.0" + }, + "preferGlobal": true, "bin": { "git-open": "git-open", - "git-home" : "git-open" + "git-home": "git-open" }, - "author": "Paul Irish", - "license": "MIT", - "bugs": { - "url": "https://github.com/paulirish/git-open/issues" + "scripts": { + "lint:package": "echo \"\nLinting package.json\" && pjv --recommendations --warnings && echo \"OK\n\n\"", + "lint:readme": "echo \"\nLinting README.md\" && markdownlint --config markdownlint.json README.md && echo \"OK\n\n\"", + "test": "npm run --silent lint:package && npm run --silent lint:readme" }, - "homepage": "https://github.com/paulirish/git-open" + "dependencies": {}, + "devDependencies": { + "markdownlint": "^0.2.0", + "package-json-validator": "^0.6.1" + } }