‘liusuyi’
2023-08-09 161b9318e345c8a0c9cdc133b33a1c759495f323
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
  "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"
  }
}