From a3a798f21a9804c2d9b0426f63ef3c2b666cff0d Mon Sep 17 00:00:00 2001 From: simonepri Date: Fri, 16 Mar 2018 09:53:29 +0100 Subject: [PATCH 1/3] Clean package.json --- package.json | 43 ++++++++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/package.json b/package.json index 2aaa4b0..d1a5680 100644 --- a/package.json +++ b/package.json @@ -2,25 +2,30 @@ "name": "ps-tree", "version": "1.1.0", "description": "Get all children of a pid", - "homepage": "http://github.com/indexzero/ps-tree", - "repository": { - "type": "git", - "url": "https://github.com/indexzero/ps-tree.git" - }, - "dependencies": { - "event-stream": "~3.3.0" - }, "license": "MIT", + "homepage": "http://github.com/indexzero/ps-tree#readme", + "repository": "github:indexzero/ps-tree", + "bugs": { + "url": "https://github.com/indexzero/ps-tree/issues", + "email": "charlie.robbins@gmail.com" + }, "author": "Charlie Robbins ", "contributors": [ - { - "name": "Zhuohuan LI", - "url": "https://github.com/zixia", - "email": "zixia@zixia.net" - } + "Zhuohuan LI (https://github.com/zixia)" + ], + "keyboards": [ + "ps-tree", + "ps", + "tree", + "ppid", + "pid" ], - "directories": { - "test": "test" + "main": "index.js", + "bin": { + "ps-tree": "./bin/ps-tree.js" + }, + "engines": { + "node": ">= 0.10" }, "scripts": { "_comment": "https://github.com/gotwarlost/istanbul#usage-on-windows", @@ -28,6 +33,9 @@ "coverage": "npm test && istanbul check-coverage --statements 100 --functions 100 --lines 100 --branches 100", "codeclimate": "cross-env CODECLIMATE_REPO_TOKEN=84436b4f13c70ace9c62e7f04928bf23c234eb212c0232d39d7fb1535beb2da5 codeclimate < coverage/lcov.info" }, + "dependencies": { + "event-stream": "~3.3.0" + }, "devDependencies": { "chalk": "^1.0.0", "codeclimate-test-reporter": "0.0.4", @@ -41,8 +49,5 @@ "pre-commit": [ "coverage", "codeclimate" - ], - "engines": { - "node": ">= 0.10" - } + ] } From 3712733b9aac7819dbcb912cdd340b836df7f5fe Mon Sep 17 00:00:00 2001 From: simonepri Date: Fri, 16 Mar 2018 09:54:13 +0100 Subject: [PATCH 2/3] Use files inside package.json instead of .npmignore --- .npmignore | 2 -- package.json | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) delete mode 100644 .npmignore diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 5f6a848..0000000 --- a/.npmignore +++ /dev/null @@ -1,2 +0,0 @@ -# .npmignore file -test/ diff --git a/package.json b/package.json index d1a5680..2216bfb 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,10 @@ "bin": { "ps-tree": "./bin/ps-tree.js" }, + "files": [ + "bin", + "index.js" + ], "engines": { "node": ">= 0.10" }, From 1d27d8533fb2f19c09f7beb686b92e838c9a6e9a Mon Sep 17 00:00:00 2001 From: simonepri Date: Fri, 16 Mar 2018 09:54:27 +0100 Subject: [PATCH 3/3] Update contributors --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 2216bfb..5380e51 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ }, "author": "Charlie Robbins ", "contributors": [ - "Zhuohuan LI (https://github.com/zixia)" + "Zhuohuan LI (https://github.com/zixia)", + "Simone Primarosa (https://github.com/simonepri)" ], "keyboards": [ "ps-tree",