package.json 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "name": "engine.io",
  3. "version": "6.5.5",
  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. "homepage": "https://github.com/socketio/engine.io",
  15. "contributors": [
  16. {
  17. "name": "Eugen Dueck",
  18. "web": "https://github.com/EugenDueck"
  19. },
  20. {
  21. "name": "Afshin Mehrabani",
  22. "web": "https://github.com/afshinm"
  23. },
  24. {
  25. "name": "Christoph Dorn",
  26. "web": "https://github.com/cadorn"
  27. },
  28. {
  29. "name": "Mark Mokryn",
  30. "email": "mokesmokes@gmail.com"
  31. }
  32. ],
  33. "license": "MIT",
  34. "dependencies": {
  35. "@types/cookie": "^0.4.1",
  36. "@types/cors": "^2.8.12",
  37. "@types/node": ">=10.0.0",
  38. "accepts": "~1.3.4",
  39. "base64id": "2.0.0",
  40. "cookie": "~0.4.1",
  41. "cors": "~2.8.5",
  42. "debug": "~4.3.1",
  43. "engine.io-parser": "~5.2.1",
  44. "ws": "~8.17.1"
  45. },
  46. "devDependencies": {
  47. "@fails-components/webtransport": "^0.1.7",
  48. "babel-eslint": "^8.0.2",
  49. "eiows": "^4.1.2",
  50. "engine.io-client": "6.5.0",
  51. "engine.io-client-v3": "npm:engine.io-client@3.5.2",
  52. "expect.js": "^0.3.1",
  53. "express-session": "^1.17.3",
  54. "helmet": "^6.0.1",
  55. "mocha": "^9.1.3",
  56. "node-forge": "^1.3.1",
  57. "prettier": "^2.8.2",
  58. "rimraf": "^3.0.2",
  59. "superagent": "^3.8.1",
  60. "typescript": "^4.4.3",
  61. "uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.30.0"
  62. },
  63. "scripts": {
  64. "compile": "rimraf ./build && tsc",
  65. "test": "npm run compile && npm run format:check && npm run test:default && npm run test:compat-v3",
  66. "test:default": "mocha --bail --exit",
  67. "test:compat-v3": "EIO_CLIENT=3 mocha --exit",
  68. "test:eiows": "EIO_WS_ENGINE=eiows mocha --exit",
  69. "test:uws": "EIO_WS_ENGINE=uws mocha --exit",
  70. "format:check": "prettier --check \"wrapper.mjs\" \"lib/**/*.ts\" \"test/**/*.js\" \"test/webtransport.mjs\"",
  71. "format:fix": "prettier --write \"wrapper.mjs\" \"lib/**/*.ts\" \"test/**/*.js\" \"test/webtransport.mjs\"",
  72. "prepack": "npm run compile"
  73. },
  74. "repository": {
  75. "type": "git",
  76. "url": "git@github.com:socketio/engine.io.git"
  77. },
  78. "files": [
  79. "build/",
  80. "wrapper.mjs"
  81. ],
  82. "engines": {
  83. "node": ">=10.2.0"
  84. }
  85. }