@loopeco/socketio
Version:
A enhanced LoopBack's WebSocket server based on socket.io
105 lines (104 loc) • 3.17 kB
JSON
{
"name": "@loopeco/socketio",
"version": "0.1.4",
"description": "A enhanced LoopBack's WebSocket server based on socket.io",
"author": "ty <torworx@gmail.com>",
"license": "Apache-2.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": ">=10.16"
},
"scripts": {
"prerelease": "cross-env CI=1 npm run test",
"release": "np --no-2fa",
"build": "lb-tsc -b",
"build:full": "npm ci --ignore-scripts && npm run clean && npm run build",
"coverage": "lb-nyc report --reporter=text-summary",
"precoverage": "npm test",
"lint": "npm run prettier:check && npm run eslint",
"lint:fix": "npm run eslint:fix && npm run prettier:fix",
"eslint": "lb-eslint --report-unused-disable-directives --cache .",
"eslint:fix": "npm run eslint -- --fix",
"prettier:cli": "lb-prettier \"**/*.ts\" \"**/*.js\" \"**/*.md\"",
"prettier:check": "npm run prettier:cli -- --check",
"prettier:fix": "npm run prettier:cli -- --write",
"format": "npm run prettier:fix",
"clean": "lb-clean dist coverage .nyc_output *.tsbuildinfo",
"pretest": "npm run clean && npm run format",
"test": "lb-nyc npm run mocha",
"test:ci": "lb-nyc npm run mocha",
"posttest": "npm run lint",
"premocha": "npm run build",
"mocha": "lb-mocha --allow-console-logs \"dist/__tests__/**/*.js\"",
"preunit": "npm run build",
"unit": "lb-mocha --allow-console-logs \"dist/__tests__/unit/**/*.js\""
},
"peerDependencies": {
"@loopback/boot": "^3.4.2",
"@loopback/core": "^2.16.2"
},
"dependencies": {
"@loopback/express": "^3.3.2",
"@loopback/http-server": "^2.5.2",
"cors": "^2.8.5",
"debug": "^4.3.2",
"express": "^4.17.1",
"http-errors": "^1.8.0",
"lodash": "^4.17.21",
"setprototypeof": "^1.2.0",
"socket.io": "^4.1.3",
"toposort": "^2.0.2"
},
"devDependencies": {
"@loopback/boot": "^3.4.2",
"@loopback/build": "^7.0.0",
"@loopback/core": "^2.16.2",
"@loopback/eslint-config": "^11.0.0",
"@loopback/testlab": "^3.4.2",
"@types/cors": "^2.8.12",
"@types/lodash": "^4.14.172",
"@types/mocha": "^9.0.0",
"@types/node": "^16.6.1",
"@types/debug": "^4.1.7",
"@types/http-errors": "^1.8.1",
"@types/socket.io-client": "^1.4.36",
"@types/toposort": "^2.0.3",
"@typescript-eslint/eslint-plugin": "^4.29.1",
"@typescript-eslint/parser": "^4.29.1",
"cross-env": "^7.0.3",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-eslint-plugin": "^3.5.3",
"eslint-plugin-mocha": "^9.0.0",
"eslint-plugin-prettier": "^3.4.0",
"mocha": "^9.0.3",
"np": "^7.5.0",
"prettier": "^2.3.2",
"typescript": "^4.3.5",
"a-defer": "^0.1.1",
"p-event": "^4.2.0",
"socket.io-client": "^4.1.3",
"socket.io-parser": "^4.0.4"
},
"keywords": [
"scoket",
"socketio",
"webscoket",
"ws",
"loopback",
"loopback4",
"loopback-next",
"loopback-extension",
"extension"
],
"files": [
"README.md",
"dist",
"src",
"!*/__tests__"
],
"publishConfig": {
"access": "public"
}
}