package.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {
  2. "name": "sockjs-client",
  3. "description": "SockJS-client is a browser JavaScript library that provides a WebSocket-like object.",
  4. "version": "1.3.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.2",
  37. "envify": "^4.0.0",
  38. "eslint": "^5.6.0",
  39. "expect.js": "~0.3.1",
  40. "gulp": "^4.0.0",
  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.1",
  46. "karma": "^3.0.0",
  47. "karma-browserify": "^5.3.0",
  48. "karma-browserstack-launcher": "git+https://git@github.com/karma-runner/karma-browserstack-launcher.git#310c22835987b50a908b99d0995fc1655a7e06f5",
  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",
  78. "postversion": "npm publish",
  79. "postpublish": "git push origin --all && git push origin --tags"
  80. }
  81. }