webssh2-server
Version:
A Websocket to SSH2 gateway using xterm.js, socket.io, ssh2
111 lines (110 loc) • 3.12 kB
JSON
{
"name": "webssh2-server",
"version": "2.2.0",
"ignore": [
".gitignore"
],
"bin": {
"webssh2-server": "./dist/index.js"
},
"description": "A Websocket to SSH2 gateway using xterm.js, socket.io, ssh2",
"homepage": "https://github.com/billchurch/WebSSH2",
"keywords": [
"ssh",
"webssh",
"terminal",
"webterminal"
],
"license": "SEE LICENSE IN FILE - LICENSE",
"private": false,
"repository": {
"type": "git",
"url": "git+https://github.com/billchurch/WebSSH2.git"
},
"contributors": [
"Bill Church <wmchurch@gmail.com>"
],
"engines": {
"node": ">= 22"
},
"packageManager": "npm@10.9.2",
"bugs": {
"url": "https://github.com/billchurch/WebSSH2/issues"
},
"files": [
"dist",
"LICENSE",
"README.md",
"ChangeLog.md"
],
"dependencies": {
"basic-auth": "^2.0.1",
"body-parser": "^2.2.0",
"debug": "^4.4.3",
"express": "^5.1.0",
"express-session": "^1.18.2",
"jsmasker": "^2.0.0",
"socket.io": "^4.8.1",
"ssh2": "1.17",
"validator": "^13.15.15",
"webssh2_client": "^2.0.0",
"zod": "^4.1.11"
},
"scripts": {
"prestart": "npm run build",
"start": "node dist/index.js",
"lint": "eslint app tests",
"lint:fix": "eslint app tests --fix",
"lint:complexity": "eslint app --config eslint.config.complexity.mjs --no-inline-config",
"dev": "NODE_ENV=development DEBUG=webssh2:* tsx watch index.ts",
"watch": "npm run dev",
"test": "npm run build && vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"check": "npm run lint && npm run typecheck && npm run test",
"check:fix": "npm run lint:fix && npm run typecheck && npm run test",
"verify": "npm run check",
"test:e2e": "npm run build && CONTAINER_RUNTIME=apple ENABLE_E2E_SSH=1 playwright test -c playwright.config.ts tests/playwright",
"e2e:setup": "playwright install --with-deps",
"typecheck": "tsc -p tsconfig.build.json --noEmit",
"build": "tsc -p tsconfig.build.json",
"publish:npm": "npm publish",
"ci": "npm run test",
"security:audit": "npm audit"
},
"devDependencies": {
"@eslint/js": "^9.35.0",
"@playwright/test": "^1.55.0",
"@types/basic-auth": "^1.1.8",
"@types/debug": "^4.1.12",
"@types/express": "^5.0.3",
"@types/express-session": "^1.18.2",
"@types/node": "^24.3.3",
"@types/ssh2": "^1.15.5",
"@types/validator": "^13.15.3",
"@typescript-eslint/eslint-plugin": "^8.43.0",
"@typescript-eslint/parser": "^8.43.0",
"@vitest/coverage-v8": "^3.2.4",
"eslint": "^9.35.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-security": "^3.0.1",
"supertest": "^7.1.4",
"tsx": "^4.20.5",
"typescript": "^5.9.2",
"vitest": "^3.2.4"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"directories": {
"test": "tests"
},
"author": "Bill Church",
"type": "module"
}