{ "name": "sockjs-client", "description": "SockJS-client is a browser JavaScript library that provides a WebSocket-like object.", "version": "1.6.1", "author": "Bryce Kahle", "jsdelivr": "dist/sockjs.min.js", "engines": { "node": ">=12" }, "funding": "https://tidelift.com/funding/github/npm/sockjs-client", "browser": { "./lib/transport/driver/websocket.js": "./lib/transport/browser/websocket.js", "eventsource": "./lib/transport/browser/eventsource.js", "./lib/transport/driver/xhr.js": "./lib/transport/browser/abstract-xhr.js", "crypto": "./lib/utils/browser-crypto.js", "events": "./lib/event/emitter.js" }, "bugs": { "url": "https://github.com/sockjs/sockjs-client/issues" }, "contributors": [ { "name": "Bryce Kahle", "email": "bkahle@gmail.com" }, { "name": "Marek Majkowski", "email": "deadbeef@popcount.org" } ], "dependencies": { "debug": "^3.2.7", "eventsource": "^2.0.2", "faye-websocket": "^0.11.4", "inherits": "^2.0.4", "url-parse": "^1.5.10" }, "devDependencies": { "browserify": "^17.0.0", "envify": "^4.0.0", "eslint": "^8.10.0", "expect.js": "~0.3.1", "gulp": "^4.0.2", "gulp-header": "^2.0.9", "gulp-rename": "^2.0.0", "gulp-replace": "^1.1.3", "gulp-sourcemaps": "^3.0.0", "gulp-uglify": "^3.0.2", "karma": "^6.3.16", "karma-browserify": "^8.1.0", "karma-browserstack-launcher": "^1.6.0", "karma-chrome-launcher": "^3.1.0", "karma-mocha": "^2.0.1", "mocha": "^9.2.1", "proxyquire": "^2.1.3", "pump": "^3.0.0", "serve-static": "^1.14.2", "sockjs": "^0.3.24", "vinyl-buffer": "~1.0.0", "vinyl-source-stream": "^2.0.0" }, "homepage": "http://sockjs.org", "keywords": [ "websockets", "websocket" ], "license": "MIT", "main": "./lib/entry.js", "repository": { "type": "git", "url": "https://github.com/sockjs/sockjs-client.git" }, "scripts": { "test": "mocha tests/node.js", "test:bundle": "gulp testbundle", "test:browser_local": "npm run test:bundle && npx karma start --browsers Chrome", "test:browser_remote": "npm run test:bundle && npx karma start", "gulp": "gulp", "lint": "eslint .", "version": "gulp release && git add -A dist lib/version.js Changelog.md", "postversion": "npm publish", "postpublish": "git push origin --all && git push origin --tags" } }