package.json 927 B

12345678910111213141516171819202122232425262728293031323334
  1. {
  2. "name": "socket.io-adapter",
  3. "version": "2.5.2",
  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. "ws": "~8.11.0"
  17. },
  18. "devDependencies": {
  19. "@types/mocha": "^10.0.1",
  20. "@types/node": "^14.11.2",
  21. "expect.js": "^0.3.1",
  22. "mocha": "^10.2.0",
  23. "nyc": "^15.1.0",
  24. "prettier": "^2.8.1",
  25. "ts-node": "^10.9.1",
  26. "typescript": "^4.9.4"
  27. },
  28. "scripts": {
  29. "test": "npm run format:check && tsc && nyc mocha --require ts-node/register test/index.ts",
  30. "format:check": "prettier --parser typescript --check 'lib/**/*.ts' 'test/**/*.ts'",
  31. "format:fix": "prettier --parser typescript --write 'lib/**/*.ts' 'test/**/*.ts'",
  32. "prepack": "tsc"
  33. }
  34. }