1 | {
|
---|
2 | "name": "sockjs-client",
|
---|
3 | "description": "SockJS-client is a browser JavaScript library that provides a WebSocket-like object.",
|
---|
4 | "version": "1.5.2",
|
---|
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.6",
|
---|
29 | "eventsource": "^1.0.7",
|
---|
30 | "faye-websocket": "^0.11.3",
|
---|
31 | "inherits": "^2.0.4",
|
---|
32 | "json3": "^3.3.3",
|
---|
33 | "url-parse": "^1.5.3"
|
---|
34 | },
|
---|
35 | "devDependencies": {
|
---|
36 | "browserify": "^16.5.1",
|
---|
37 | "envify": "^4.0.0",
|
---|
38 | "eslint": "^7.6.0",
|
---|
39 | "expect.js": "~0.3.1",
|
---|
40 | "gulp": "^4.0.2",
|
---|
41 | "gulp-header": "^2.0.9",
|
---|
42 | "gulp-rename": "^2.0.0",
|
---|
43 | "gulp-replace": "^1.0.0",
|
---|
44 | "gulp-sourcemaps": "^2.6.5",
|
---|
45 | "gulp-uglify": "^3.0.2",
|
---|
46 | "karma": "^5.1.1",
|
---|
47 | "karma-browserify": "^7.0.0",
|
---|
48 | "karma-browserstack-launcher": "^1.6.0",
|
---|
49 | "karma-chrome-launcher": "^3.1.0",
|
---|
50 | "karma-mocha": "^2.0.1",
|
---|
51 | "mocha": "^8.1.0",
|
---|
52 | "proxyquire": "^2.1.3",
|
---|
53 | "pump": "^3.0.0",
|
---|
54 | "serve-static": "^1.14.1",
|
---|
55 | "sockjs": "^0.3.21",
|
---|
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 | }
|
---|