package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. "name": "socket.io",
  3. "version": "3.0.3",
  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. ],
  19. "type": "commonjs",
  20. "main": "./dist/index.js",
  21. "exports": {
  22. "import": "./wrapper.mjs",
  23. "require": "./dist/index.js"
  24. },
  25. "types": "./dist/index.d.ts",
  26. "license": "MIT",
  27. "repository": {
  28. "type": "git",
  29. "url": "git://github.com/socketio/socket.io"
  30. },
  31. "scripts": {
  32. "compile": "rimraf ./dist && tsc",
  33. "test": "npm run format:check && npm run compile && nyc mocha --require ts-node/register --reporter spec --slow 200 --bail --timeout 10000 test/socket.io.ts",
  34. "format:check": "prettier --check 'lib/**/*.ts' 'test/**/*.ts'",
  35. "format:fix": "prettier --write 'lib/**/*.ts' 'test/**/*.ts'",
  36. "prepack": "npm run compile"
  37. },
  38. "dependencies": {
  39. "@types/cookie": "^0.4.0",
  40. "@types/cors": "^2.8.8",
  41. "@types/node": "^14.14.7",
  42. "accepts": "~1.3.4",
  43. "base64id": "~2.0.0",
  44. "debug": "~4.1.0",
  45. "engine.io": "~4.0.0",
  46. "socket.io-adapter": "~2.0.3",
  47. "socket.io-parser": "~4.0.1"
  48. },
  49. "devDependencies": {
  50. "@types/mocha": "^8.0.3",
  51. "babel-eslint": "^10.1.0",
  52. "eslint": "^7.9.0",
  53. "eslint-config-prettier": "^6.11.0",
  54. "expect.js": "0.3.1",
  55. "mocha": "^3.5.3",
  56. "nyc": "^11.2.1",
  57. "prettier": "^1.19.1",
  58. "rimraf": "^3.0.2",
  59. "socket.io-client": "3.0.3",
  60. "superagent": "^3.8.2",
  61. "supertest": "^3.0.0",
  62. "ts-node": "^9.0.0",
  63. "typescript": "^4.0.3"
  64. },
  65. "contributors": [
  66. {
  67. "name": "Guillermo Rauch",
  68. "email": "rauchg@gmail.com"
  69. },
  70. {
  71. "name": "Arnout Kazemier",
  72. "email": "info@3rd-eden.com"
  73. },
  74. {
  75. "name": "Vladimir Dronnikov",
  76. "email": "dronnikov@gmail.com"
  77. },
  78. {
  79. "name": "Einar Otto Stangvik",
  80. "email": "einaros@gmail.com"
  81. }
  82. ],
  83. "engines": {
  84. "node": ">=10.0.0"
  85. }
  86. }