package.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "name": "ws",
  3. "version": "8.11.0",
  4. "description": "Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js",
  5. "keywords": [
  6. "HyBi",
  7. "Push",
  8. "RFC-6455",
  9. "WebSocket",
  10. "WebSockets",
  11. "real-time"
  12. ],
  13. "homepage": "https://github.com/websockets/ws",
  14. "bugs": "https://github.com/websockets/ws/issues",
  15. "repository": "websockets/ws",
  16. "author": "Einar Otto Stangvik <einaros@gmail.com> (http://2x.io)",
  17. "license": "MIT",
  18. "main": "index.js",
  19. "exports": {
  20. ".": {
  21. "import": "./wrapper.mjs",
  22. "require": "./index.js"
  23. },
  24. "./package.json": "./package.json"
  25. },
  26. "browser": "browser.js",
  27. "engines": {
  28. "node": ">=10.0.0"
  29. },
  30. "files": [
  31. "browser.js",
  32. "index.js",
  33. "lib/*.js",
  34. "wrapper.mjs"
  35. ],
  36. "scripts": {
  37. "test": "nyc --reporter=lcov --reporter=text mocha --throw-deprecation test/*.test.js",
  38. "integration": "mocha --throw-deprecation test/*.integration.js",
  39. "lint": "eslint --ignore-path .gitignore . && prettier --check --ignore-path .gitignore \"**/*.{json,md,yaml,yml}\""
  40. },
  41. "peerDependencies": {
  42. "bufferutil": "^4.0.1",
  43. "utf-8-validate": "^5.0.2"
  44. },
  45. "peerDependenciesMeta": {
  46. "bufferutil": {
  47. "optional": true
  48. },
  49. "utf-8-validate": {
  50. "optional": true
  51. }
  52. },
  53. "devDependencies": {
  54. "benchmark": "^2.1.4",
  55. "bufferutil": "^4.0.1",
  56. "eslint": "^8.0.0",
  57. "eslint-config-prettier": "^8.1.0",
  58. "eslint-plugin-prettier": "^4.0.0",
  59. "mocha": "^8.4.0",
  60. "nyc": "^15.0.0",
  61. "prettier": "^2.0.5",
  62. "utf-8-validate": "^5.0.2"
  63. }
  64. }