package.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. {
  2. "name": "engine.io",
  3. "version": "6.6.4",
  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/cors": "^2.8.12",
  35. "@types/node": ">=10.0.0",
  36. "accepts": "~1.3.4",
  37. "base64id": "2.0.0",
  38. "cookie": "~0.7.2",
  39. "cors": "~2.8.5",
  40. "debug": "~4.3.1",
  41. "engine.io-parser": "~5.2.1",
  42. "ws": "~8.17.1"
  43. },
  44. "scripts": {
  45. "compile": "rimraf ./build && tsc",
  46. "test": "npm run compile && npm run format:check && npm run test:default && npm run test:compat-v3",
  47. "test:default": "mocha --bail --exit",
  48. "test:compat-v3": "EIO_CLIENT=3 mocha --exit",
  49. "test:eiows": "EIO_WS_ENGINE=eiows mocha --exit",
  50. "test:uws": "EIO_WS_ENGINE=uws mocha --exit",
  51. "format:check": "prettier --check \"wrapper.mjs\" \"lib/**/*.ts\" \"test/**/*.js\" \"test/webtransport.mjs\"",
  52. "format:fix": "prettier --write \"wrapper.mjs\" \"lib/**/*.ts\" \"test/**/*.js\" \"test/webtransport.mjs\"",
  53. "prepack": "npm run compile"
  54. },
  55. "homepage": "https://github.com/socketio/socket.io/tree/main/packages/engine.io#readme",
  56. "repository": {
  57. "type": "git",
  58. "url": "git+https://github.com/socketio/socket.io.git"
  59. },
  60. "bugs": {
  61. "url": "https://github.com/socketio/socket.io/issues"
  62. },
  63. "files": [
  64. "build/",
  65. "wrapper.mjs"
  66. ],
  67. "engines": {
  68. "node": ">=10.2.0"
  69. }
  70. }