package.json 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "name": "socket.io-adapter",
  3. "version": "2.5.5",
  4. "license": "MIT",
  5. "repository": {
  6. "type": "git",
  7. "url": "git://github.com/socketio/socket.io-adapter.git"
  8. },
  9. "files": [
  10. "dist/"
  11. ],
  12. "main": "./dist/index.js",
  13. "types": "./dist/index.d.ts",
  14. "description": "default socket.io in-memory adapter",
  15. "dependencies": {
  16. "debug": "~4.3.4",
  17. "ws": "~8.17.1"
  18. },
  19. "devDependencies": {
  20. "@types/debug": "^4.1.12",
  21. "@types/expect.js": "^0.3.32",
  22. "@types/mocha": "^10.0.1",
  23. "@types/node": "^14.11.2",
  24. "expect.js": "^0.3.1",
  25. "mocha": "^10.2.0",
  26. "nyc": "^15.1.0",
  27. "prettier": "^2.8.1",
  28. "socket.io": "^4.7.4",
  29. "socket.io-client": "^4.7.4",
  30. "ts-node": "^10.9.1",
  31. "typescript": "^4.9.4"
  32. },
  33. "scripts": {
  34. "test": "npm run format:check && tsc && nyc mocha --require ts-node/register test/*.ts",
  35. "format:check": "prettier --parser typescript --check 'lib/**/*.ts' 'test/**/*.ts'",
  36. "format:fix": "prettier --parser typescript --write 'lib/**/*.ts' 'test/**/*.ts'",
  37. "prepack": "tsc"
  38. }
  39. }