From c19dbf019d0d77eb7ffb9ddadef8e50e9b1c0c40 Mon Sep 17 00:00:00 2001 From: Bill Church Date: Thu, 22 Aug 2024 02:11:24 +0000 Subject: [PATCH] chore: update package.json --- package.json | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index a437254..af396b1 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,9 @@ "ignore": [ ".gitignore" ], - "bin": "./index.js", + "bin": { + "webssh2-server": "./index.js" + }, "description": "A Websocket to SSH2 gateway using xterm.js, socket.io, ssh2", "homepage": "https://github.com/billchurch/WebSSH2", "keywords": [ @@ -20,10 +22,7 @@ "url": "git+https://github.com/billchurch/WebSSH2.git" }, "contributors": [ - { - "name": "Bill Church", - "email": "wmchurch@gmail.com" - } + "Bill Church " ], "engines": { "node": ">= 6" @@ -49,12 +48,14 @@ "scripts": { "start": "node index.js", "lint": "eslint src test", - "watch": "node_modules/.bin/nodemon index.js", + "watch": "nodemon index.js -w app/ -w index.js -w config.json -w package.json", "test": "jest" }, "jest": { "testEnvironment": "node", - "testMatch": ["**/tests/**/*.test.js"] + "testMatch": [ + "**/tests/**/*.test.js" + ] }, "standard": { "ignore": [ @@ -75,5 +76,10 @@ "prettier": "^1.19.1", "prettier-eslint": "^8.8.2", "standard-version": "^4.4.0" - } + }, + "main": "index.js", + "directories": { + "test": "tests" + }, + "author": "" }