1
|
{
|
2
|
"name": "sockjs-client",
|
3
|
"description": "SockJS-client is a browser JavaScript library that provides a WebSocket-like object.",
|
4
|
"version": "1.4.0",
|
5
|
"author": "Bryce Kahle",
|
6
|
"jsdelivr": "dist/sockjs.min.js",
|
7
|
"browser": {
|
8
|
"./lib/transport/driver/websocket.js": "./lib/transport/browser/websocket.js",
|
9
|
"eventsource": "./lib/transport/browser/eventsource.js",
|
10
|
"./lib/transport/driver/xhr.js": "./lib/transport/browser/abstract-xhr.js",
|
11
|
"crypto": "./lib/utils/browser-crypto.js",
|
12
|
"events": "./lib/event/emitter.js"
|
13
|
},
|
14
|
"bugs": {
|
15
|
"url": "https://github.com/sockjs/sockjs-client/issues"
|
16
|
},
|
17
|
"contributors": [
|
18
|
{
|
19
|
"name": "Bryce Kahle",
|
20
|
"email": "bkahle@gmail.com"
|
21
|
},
|
22
|
{
|
23
|
"name": "Marek Majkowski",
|
24
|
"email": "deadbeef@popcount.org"
|
25
|
}
|
26
|
],
|
27
|
"dependencies": {
|
28
|
"debug": "^3.2.5",
|
29
|
"eventsource": "^1.0.7",
|
30
|
"faye-websocket": "~0.11.1",
|
31
|
"inherits": "^2.0.3",
|
32
|
"json3": "^3.3.2",
|
33
|
"url-parse": "^1.4.3"
|
34
|
},
|
35
|
"devDependencies": {
|
36
|
"browserify": "^16.2.3",
|
37
|
"envify": "^4.0.0",
|
38
|
"eslint": "^6.2.1",
|
39
|
"expect.js": "~0.3.1",
|
40
|
"gulp": "^4.0.2",
|
41
|
"gulp-header": "^2.0.5",
|
42
|
"gulp-rename": "^1.4.0",
|
43
|
"gulp-replace": "^1.0.0",
|
44
|
"gulp-sourcemaps": "^2.6.0",
|
45
|
"gulp-uglify": "^3.0.2",
|
46
|
"karma": "^4.2.0",
|
47
|
"karma-browserify": "^6.1.0",
|
48
|
"karma-browserstack-launcher": "^1.5.1",
|
49
|
"karma-chrome-launcher": "^2.2.0",
|
50
|
"karma-mocha": "^1.3.0",
|
51
|
"mocha": "^5.2.0",
|
52
|
"node-static": "^0.7.6",
|
53
|
"proxyquire": "^2.1.0",
|
54
|
"pump": "^3.0.0",
|
55
|
"sockjs": "^0.3.17",
|
56
|
"vinyl-buffer": "~1.0.0",
|
57
|
"vinyl-source-stream": "^2.0.0"
|
58
|
},
|
59
|
"homepage": "http://sockjs.org",
|
60
|
"keywords": [
|
61
|
"websockets",
|
62
|
"websocket"
|
63
|
],
|
64
|
"license": "MIT",
|
65
|
"main": "./lib/entry.js",
|
66
|
"repository": {
|
67
|
"type": "git",
|
68
|
"url": "https://github.com/sockjs/sockjs-client.git"
|
69
|
},
|
70
|
"scripts": {
|
71
|
"test": "mocha tests/node.js",
|
72
|
"test:bundle": "gulp testbundle",
|
73
|
"test:browser_local": "npm run test:bundle && npx karma start --browsers Chrome",
|
74
|
"test:browser_remote": "npm run test:bundle && npx karma start",
|
75
|
"gulp": "gulp",
|
76
|
"lint": "eslint .",
|
77
|
"version": "gulp release && git add -A dist lib/version.js Changelog.md",
|
78
|
"postversion": "npm publish",
|
79
|
"postpublish": "git push origin --all && git push origin --tags"
|
80
|
}
|
81
|
}
|