package.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. {
  2. "name": "socket.io",
  3. "version": "4.4.1",
  4. "description": "node.js realtime framework server",
  5. "keywords": [
  6. "realtime",
  7. "framework",
  8. "websocket",
  9. "tcp",
  10. "events",
  11. "socket",
  12. "io"
  13. ],
  14. "files": [
  15. "dist/",
  16. "client-dist/",
  17. "wrapper.mjs",
  18. "!**/*.tsbuildinfo"
  19. ],
  20. "directories": {
  21. "doc": "docs/",
  22. "example": "example/",
  23. "lib": "lib/",
  24. "test": "test/"
  25. },
  26. "type": "commonjs",
  27. "main": "./dist/index.js",
  28. "exports": {
  29. "import": "./wrapper.mjs",
  30. "require": "./dist/index.js",
  31. "types": "./dist/index.d.ts"
  32. },
  33. "types": "./dist/index.d.ts",
  34. "license": "MIT",
  35. "repository": {
  36. "type": "git",
  37. "url": "git://github.com/socketio/socket.io"
  38. },
  39. "scripts": {
  40. "compile": "rimraf ./dist && tsc",
  41. "test": "npm run format:check && npm run compile && npm run test:types && npm run test:unit",
  42. "test:types": "tsd",
  43. "test:unit": "nyc mocha --require ts-node/register --reporter spec --slow 200 --bail --timeout 10000 test/socket.io.ts",
  44. "format:check": "prettier --check \"lib/**/*.ts\" \"test/**/*.ts\"",
  45. "format:fix": "prettier --write \"lib/**/*.ts\" \"test/**/*.ts\"",
  46. "prepack": "npm run compile"
  47. },
  48. "dependencies": {
  49. "accepts": "~1.3.4",
  50. "base64id": "~2.0.0",
  51. "debug": "~4.3.2",
  52. "engine.io": "~6.1.0",
  53. "socket.io-adapter": "~2.3.3",
  54. "socket.io-parser": "~4.0.4"
  55. },
  56. "devDependencies": {
  57. "@types/mocha": "^9.0.0",
  58. "expect.js": "0.3.1",
  59. "mocha": "^3.5.3",
  60. "nyc": "^15.1.0",
  61. "prettier": "^2.3.2",
  62. "rimraf": "^3.0.2",
  63. "socket.io-client": "4.4.1",
  64. "socket.io-client-v2": "npm:socket.io-client@^2.4.0",
  65. "superagent": "^6.1.0",
  66. "supertest": "^6.1.6",
  67. "ts-node": "^10.2.1",
  68. "tsd": "^0.17.0",
  69. "typescript": "^4.4.2",
  70. "uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.0.0"
  71. },
  72. "contributors": [
  73. {
  74. "name": "Guillermo Rauch",
  75. "email": "rauchg@gmail.com"
  76. },
  77. {
  78. "name": "Arnout Kazemier",
  79. "email": "info@3rd-eden.com"
  80. },
  81. {
  82. "name": "Vladimir Dronnikov",
  83. "email": "dronnikov@gmail.com"
  84. },
  85. {
  86. "name": "Einar Otto Stangvik",
  87. "email": "einaros@gmail.com"
  88. }
  89. ],
  90. "engines": {
  91. "node": ">=10.0.0"
  92. },
  93. "tsd": {
  94. "directory": "test"
  95. }
  96. }