package.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. "name": "engine.io",
  3. "version": "6.1.3",
  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.2.3"
  44. },
  45. "devDependencies": {
  46. "babel-eslint": "^8.0.2",
  47. "eiows": "^3.3.0",
  48. "engine.io-client": "6.1.0",
  49. "engine.io-client-v3": "npm:engine.io-client@3.5.2",
  50. "expect.js": "^0.3.1",
  51. "mocha": "^9.1.3",
  52. "prettier": "^1.19.1",
  53. "rimraf": "^3.0.2",
  54. "superagent": "^3.8.1",
  55. "typescript": "^4.4.3",
  56. "uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.0.0"
  57. },
  58. "scripts": {
  59. "compile": "rimraf ./build && tsc",
  60. "test": "npm run compile && npm run format:check && npm run test:default && npm run test:compat-v3 && npm run test:eiows && npm run test:uws",
  61. "test:default": "mocha --bail --exit",
  62. "test:compat-v3": "EIO_CLIENT=3 mocha --exit",
  63. "test:eiows": "EIO_WS_ENGINE=eiows mocha --exit",
  64. "test:uws": "EIO_WS_ENGINE=uws mocha --exit",
  65. "format:check": "prettier --check 'lib/**/*.ts' 'test/**/*.js'",
  66. "format:fix": "prettier --write 'lib/**/*.ts' 'test/**/*.js'",
  67. "prepack": "npm run compile"
  68. },
  69. "repository": {
  70. "type": "git",
  71. "url": "git@github.com:socketio/engine.io.git"
  72. },
  73. "files": [
  74. "build/",
  75. "wrapper.mjs"
  76. ],
  77. "engines": {
  78. "node": ">=10.0.0"
  79. }
  80. }