diff options
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/package.json b/package.json index 70a44c2..9d84776 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,10 @@ "test": "echo \"Test will be implemented.\" && exit 0", "start": "./bin/gtop", "lint": "prettier --single-quote --trailing-comma es5 --write 'lib/**/*.js'", - "lint-check": "prettier --check --single-quote --trailing-comma es5 'lib/**/*.js'" + "lint-check": "prettier --check --single-quote --trailing-comma es5 'lib/**/*.js'", + "prepublishOnly": "marked-man --version $npm_package_version --manual 'Gtop Help' --section 1 ./CLI.md > gtop.1" }, + "man": ["./gtop.1"], "repository": { "type": "git", "url": "git+https://github.com/aksakalli/gtop.git" @@ -40,6 +42,7 @@ "node": ">=4.0.0" }, "devDependencies": { + "marked-man": "^0.7.0", "prettier": "1.19.1" } } |