ssocket
Version:
仿 Koa 中间件控制的 WebSocket 服务
46 lines (45 loc) • 1.16 kB
JSON
{
"name": "ssocket",
"version": "2.1.14",
"description": "仿 Koa 中间件控制的 WebSocket 服务",
"main": "./dist/index.js",
"typings": "./types/index.d.ts",
"keywords": [
"socket",
"websocket",
"koa",
"socket-js",
"websocket-js",
"聊天",
"消息推送",
"推送",
"chat",
"IM"
],
"author": "summer.li",
"license": "ISC",
"scripts": {
"start": "set DEBUG=ssocket* & node ./app.js",
"test": "rm -fr ./dist & set DEBUG=ssocket:code* & tsc --outDir ./dist & node ./app.js",
"tsc": "rm -fr ./dist & tsc --outDir ./dist",
"types": "rm -fr ./types & tsc -d --emitDeclarationOnly --allowJs false --declarationDir ./types"
},
"devDependencies": {
"@types/amqplib": "^0.5.17",
"@types/debug": "^4.1.5",
"@types/ioredis": "^4.17.11",
"@types/node": "^14.14.21",
"@types/ua-parser-js": "^0.7.35",
"@types/ws": "^7.4.0"
},
"dependencies": {
"debug": "^4.1.5",
"amqplib": "^0.7.1",
"ioredis": "^4.19.4",
"notepack.io": "^2.3.0",
"path-to-regexp": "^6.2.0",
"typescript": "^4.1.3",
"ua-parser-js": "^0.7.25",
"ws": "^7.4.2"
}
}