package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. {
  2. "name": "engine.io",
  3. "version": "6.6.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. "types": "./build/engine.io.d.ts",
  10. "import": "./wrapper.mjs",
  11. "require": "./build/engine.io.js"
  12. },
  13. "author": "Guillermo Rauch <guillermo@learnboost.com>",
  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.7.2",
  40. "cors": "~2.8.5",
  41. "debug": "~4.3.1",
  42. "engine.io-parser": "~5.2.1",
  43. "ws": "~8.17.1"
  44. },
  45. "scripts": {
  46. "compile": "rimraf ./build && tsc",
  47. "test": "npm run compile && npm run format:check && npm run test:default && npm run test:compat-v3",
  48. "test:default": "mocha --bail --exit",
  49. "test:compat-v3": "EIO_CLIENT=3 mocha --exit",
  50. "test:eiows": "EIO_WS_ENGINE=eiows mocha --exit",
  51. "test:uws": "EIO_WS_ENGINE=uws mocha --exit",
  52. "format:check": "prettier --check \"wrapper.mjs\" \"lib/**/*.ts\" \"test/**/*.js\" \"test/webtransport.mjs\"",
  53. "format:fix": "prettier --write \"wrapper.mjs\" \"lib/**/*.ts\" \"test/**/*.js\" \"test/webtransport.mjs\"",
  54. "prepack": "npm run compile"
  55. },
  56. "homepage": "https://github.com/socketio/socket.io/tree/main/packages/engine.io#readme",
  57. "repository": {
  58. "type": "git",
  59. "url": "git+https://github.com/socketio/socket.io.git"
  60. },
  61. "bugs": {
  62. "url": "https://github.com/socketio/socket.io/issues"
  63. },
  64. "files": [
  65. "build/",
  66. "wrapper.mjs"
  67. ],
  68. "engines": {
  69. "node": ">=10.2.0"
  70. }
  71. }