package.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "name": "engine.io",
  3. "version": "6.4.2",
  4. "description": "The realtime engine behind Socket.IO. Provides the foundation of a bidirectional connection between client and server",
  5. "type": "commonjs",
  6. "main": "./build/engine.io.js",
  7. "types": "./build/engine.io.d.ts",
  8. "exports": {
  9. "import": "./wrapper.mjs",
  10. "require": "./build/engine.io.js"
  11. },
  12. "author": "Guillermo Rauch <guillermo@learnboost.com>",
  13. "homepage": "https://github.com/socketio/engine.io",
  14. "contributors": [
  15. {
  16. "name": "Eugen Dueck",
  17. "web": "https://github.com/EugenDueck"
  18. },
  19. {
  20. "name": "Afshin Mehrabani",
  21. "web": "https://github.com/afshinm"
  22. },
  23. {
  24. "name": "Christoph Dorn",
  25. "web": "https://github.com/cadorn"
  26. },
  27. {
  28. "name": "Mark Mokryn",
  29. "email": "mokesmokes@gmail.com"
  30. }
  31. ],
  32. "license": "MIT",
  33. "dependencies": {
  34. "@types/cookie": "^0.4.1",
  35. "@types/cors": "^2.8.12",
  36. "@types/node": ">=10.0.0",
  37. "accepts": "~1.3.4",
  38. "base64id": "2.0.0",
  39. "cookie": "~0.4.1",
  40. "cors": "~2.8.5",
  41. "debug": "~4.3.1",
  42. "engine.io-parser": "~5.0.3",
  43. "ws": "~8.11.0"
  44. },
  45. "devDependencies": {
  46. "babel-eslint": "^8.0.2",
  47. "eiows": "^4.1.2",
  48. "engine.io-client": "6.4.0",
  49. "engine.io-client-v3": "npm:engine.io-client@3.5.2",
  50. "expect.js": "^0.3.1",
  51. "express-session": "^1.17.3",
  52. "helmet": "^6.0.1",
  53. "mocha": "^9.1.3",
  54. "prettier": "^2.8.2",
  55. "rimraf": "^3.0.2",
  56. "superagent": "^3.8.1",
  57. "typescript": "^4.4.3",
  58. "uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.15.0"
  59. },
  60. "scripts": {
  61. "compile": "rimraf ./build && tsc",
  62. "test": "npm run compile && npm run format:check && npm run test:default && npm run test:compat-v3",
  63. "test:default": "mocha --bail --exit",
  64. "test:compat-v3": "EIO_CLIENT=3 mocha --exit",
  65. "test:eiows": "EIO_WS_ENGINE=eiows mocha --exit",
  66. "test:uws": "EIO_WS_ENGINE=uws mocha --exit",
  67. "format:check": "prettier --check \"wrapper.mjs\" \"lib/**/*.ts\" \"test/**/*.js\"",
  68. "format:fix": "prettier --write \"wrapper.mjs\" \"lib/**/*.ts\" \"test/**/*.js\"",
  69. "prepack": "npm run compile"
  70. },
  71. "repository": {
  72. "type": "git",
  73. "url": "git@github.com:socketio/engine.io.git"
  74. },
  75. "files": [
  76. "build/",
  77. "wrapper.mjs"
  78. ],
  79. "engines": {
  80. "node": ">=10.0.0"
  81. }
  82. }