82 lines
2.3 KiB
JSON
82 lines
2.3 KiB
JSON
{
|
|
"name": "sockjs-client",
|
|
"description": "SockJS-client is a browser JavaScript library that provides a WebSocket-like object.",
|
|
"version": "1.5.1",
|
|
"author": "Bryce Kahle",
|
|
"jsdelivr": "dist/sockjs.min.js",
|
|
"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.6",
|
|
"eventsource": "^1.0.7",
|
|
"faye-websocket": "^0.11.3",
|
|
"inherits": "^2.0.4",
|
|
"json3": "^3.3.3",
|
|
"url-parse": "^1.5.1"
|
|
},
|
|
"devDependencies": {
|
|
"browserify": "^16.5.1",
|
|
"envify": "^4.0.0",
|
|
"eslint": "^7.6.0",
|
|
"expect.js": "~0.3.1",
|
|
"gulp": "^4.0.2",
|
|
"gulp-header": "^2.0.9",
|
|
"gulp-rename": "^2.0.0",
|
|
"gulp-replace": "^1.0.0",
|
|
"gulp-sourcemaps": "^2.6.5",
|
|
"gulp-uglify": "^3.0.2",
|
|
"karma": "^5.1.1",
|
|
"karma-browserify": "^7.0.0",
|
|
"karma-browserstack-launcher": "^1.6.0",
|
|
"karma-chrome-launcher": "^3.1.0",
|
|
"karma-mocha": "^2.0.1",
|
|
"mocha": "^8.1.0",
|
|
"proxyquire": "^2.1.3",
|
|
"pump": "^3.0.0",
|
|
"serve-static": "^1.14.1",
|
|
"sockjs": "^0.3.21",
|
|
"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"
|
|
}
|
|
}
|