package.json 925 B

123456789101112131415161718192021222324252627282930
  1. {
  2. "name": "socket.io-adapter",
  3. "version": "2.5.6",
  4. "license": "MIT",
  5. "homepage": "https://github.com/socketio/socket.io/tree/main/packages/socket.io-adapter#readme",
  6. "repository": {
  7. "type": "git",
  8. "url": "git+https://github.com/socketio/socket.io.git"
  9. },
  10. "bugs": {
  11. "url": "https://github.com/socketio/socket.io/issues"
  12. },
  13. "files": [
  14. "dist/"
  15. ],
  16. "main": "./dist/index.js",
  17. "types": "./dist/index.d.ts",
  18. "description": "default socket.io in-memory adapter",
  19. "dependencies": {
  20. "debug": "~4.4.1",
  21. "ws": "~8.18.3"
  22. },
  23. "scripts": {
  24. "compile": "rimraf ./dist && tsc",
  25. "test": "npm run format:check && npm run compile && nyc mocha --import=tsx test/*.ts",
  26. "format:check": "prettier --parser typescript --check 'lib/**/*.ts' 'test/**/*.ts'",
  27. "format:fix": "prettier --parser typescript --write 'lib/**/*.ts' 'test/**/*.ts'",
  28. "prepack": "npm run compile"
  29. }
  30. }