package.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {
  2. "name": "sockjs-client",
  3. "description": "SockJS-client is a browser JavaScript library that provides a WebSocket-like object.",
  4. "version": "1.1.5",
  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": "^2.6.6",
  29. "eventsource": "0.1.6",
  30. "faye-websocket": "~0.11.0",
  31. "inherits": "^2.0.1",
  32. "json3": "^3.3.2",
  33. "url-parse": "^1.1.8"
  34. },
  35. "devDependencies": {
  36. "browserify": "^13.3.0",
  37. "envify": "^4.0.0",
  38. "eslint": "^3.19.0",
  39. "expect.js": "~0.3.1",
  40. "gulp": "^3.9.1",
  41. "gulp-header": "^1.8.8",
  42. "gulp-rename": "~1.2.0",
  43. "gulp-replace": "^0.5.4",
  44. "gulp-sourcemaps": "^2.6.0",
  45. "gulp-uglify": "^2.1.2",
  46. "mocha": "^3.3.0",
  47. "node-static": "^0.7.6",
  48. "proxyquire": "^1.7.11",
  49. "pump": "^1.0.2",
  50. "sockjs": "^0.3.17",
  51. "vinyl-buffer": "~1.0.0",
  52. "vinyl-source-stream": "^1.0.0",
  53. "zuul": "github:brycekahle/zuul#ngrok",
  54. "zuul-ngrok": "github:brycekahle/zuul-ngrok#master"
  55. },
  56. "homepage": "http://sockjs.org",
  57. "keywords": [
  58. "websockets",
  59. "websocket"
  60. ],
  61. "license": "MIT",
  62. "main": "./lib/entry.js",
  63. "repository": {
  64. "type": "git",
  65. "url": "https://github.com/sockjs/sockjs-client.git"
  66. },
  67. "scripts": {
  68. "test": "mocha tests/node.js",
  69. "test:bundle": "gulp testbundle",
  70. "test:browser_local": "npm run test:bundle && zuul --disable-tunnel --local 9090 -- tests/browser.js",
  71. "test:browser_remote": "npm run test:bundle && zuul -- tests/browser.js",
  72. "gulp": "gulp",
  73. "lint": "eslint .",
  74. "version": "gulp release && git add -A dist lib/version.js",
  75. "postversion": "npm publish",
  76. "postpublish": "git push origin --all && git push origin --tags"
  77. }
  78. }