UNPKG

@mswjs/socket.io-binding

Version:

Binding to mock Socket.IO connections with Mock Service Worker

54 lines 1.25 kB
{ "type": "module", "name": "@mswjs/socket.io-binding", "version": "0.2.0", "description": "Binding to mock Socket.IO connections with Mock Service Worker", "main": "./build/index.js", "types": "./build/index.d.ts", "keywords": [ "msw", "socket.io", "socket", "websocket", "connection", "binding", "mock" ], "publishConfig": { "access": "public" }, "files": [ "build", "src" ], "author": "Artem Zakharchenko <kettanaito@gmail.com>", "license": "MIT", "peerDependencies": { "msw": "^2.10.2" }, "dependencies": { "@mswjs/interceptors": "^0.39.2", "engine.io-parser": "^5.2.3", "socket.io-parser": "^4.2.4" }, "devDependencies": { "@open-draft/deferred-promise": "^2.2.0", "@open-draft/test-server": "^0.6.2", "@ossjs/release": "^0.8.1", "@types/node": "^20.11.16", "happy-dom": "^15.11.6", "msw": "^2.10.2", "socket.io": "^4.8.1", "socket.io-client": "^4.8.1", "tsup": "^8.5.0", "typescript": "^5.8.3", "undici": "^6.21.0", "vitest": "^3.2.3" }, "scripts": { "test": "vitest", "test:ts": "vitest --config=./tests/typings/vitest.config.ts", "build": "tsup", "release": "release publish" } }