package.json
{
"name": "@anephenix/hub",
"version": "0.0.27",
"description": "A Node.js WebSocket server and client with added features",
"main": "index.js",
"scripts": {
"build-cucumber-support-files": "npx esbuild support/client/main.js --bundle --minify --sourcemap --outdir=support/client/dist",
"certs": "mkdir -p certs && cd certs && mkcert localhost 127.0.0.1 ::1",
"lint": "npx eslint .",
"cover": "NODE_ENV=test npx nyc --reporter=lcov npm t",
"cucumber": "NODE_ENV=test npx cucumber-js --no-strict",
"cucumber-wip": "NODE_ENV=test npx cucumber-js --no-strict -t @wip",
"test": "NODE_ENV=test npx mocha -r node-localstorage/register __tests__/* --test --exit"
},
"keywords": [
"websocket",
"rpc",
"pubsub"
],
"pre-commit": [
"lint",
"test",
"cucumber"
],
"author": "Paul Jensen <paul@anephenix.com>",
"license": "MIT",
"dependencies": {
"@anephenix/sarus": "^0.4.4",
"localStorage": "^1.0.4",
"node-ip": "^0.1.2",
"npm-check-updates": "^16.10.9",
"redis": "^4.6.14",
"uuid": "^9.0.1",
"ws": "^8.17.0"
},
"devDependencies": {
"@babel/eslint-parser": "^7.24.5",
"@cucumber/cucumber": "^10.7.0",
"esbuild": "^0.21.3",
"eslint": "^9.3.0",
"eslint-plugin-jest": "^28.5.0",
"git-changed-files": "^1.0.0",
"gradient-string": "^2.0.2",
"http-shutdown": "^1.2.2",
"mocha": "^10.4.0",
"mocha-lcov-reporter": "^1.3.0",
"node-localstorage": "^3.0.5",
"npm": "^10.7.0",
"nyc": "^15.1.0",
"pre-commit": "^1.2.2",
"prettier": "^3.2.5",
"puppeteer": "^22.8.0",
"simple-git": "^3.24.0",
"why-is-node-running": "^2.2.2"
},
"browserslist": "> 0.5%, last 2 versions, not dead"
}