UNPKG

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