package.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "ws",
  3. "version": "8.13.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. "browser": "./browser.js",
  22. "import": "./wrapper.mjs",
  23. "require": "./index.js"
  24. },
  25. "./package.json": "./package.json"
  26. },
  27. "browser": "browser.js",
  28. "engines": {
  29. "node": ">=10.0.0"
  30. },
  31. "files": [
  32. "browser.js",
  33. "index.js",
  34. "lib/*.js",
  35. "wrapper.mjs"
  36. ],
  37. "scripts": {
  38. "test": "nyc --reporter=lcov --reporter=text mocha --throw-deprecation test/*.test.js",
  39. "integration": "mocha --throw-deprecation test/*.integration.js",
  40. "lint": "eslint --ignore-path .gitignore . && prettier --check --ignore-path .gitignore \"**/*.{json,md,yaml,yml}\""
  41. },
  42. "peerDependencies": {
  43. "bufferutil": "^4.0.1",
  44. "utf-8-validate": ">=5.0.2"
  45. },
  46. "peerDependenciesMeta": {
  47. "bufferutil": {
  48. "optional": true
  49. },
  50. "utf-8-validate": {
  51. "optional": true
  52. }
  53. },
  54. "devDependencies": {
  55. "benchmark": "^2.1.4",
  56. "bufferutil": "^4.0.1",
  57. "eslint": "^8.0.0",
  58. "eslint-config-prettier": "^8.1.0",
  59. "eslint-plugin-prettier": "^4.0.0",
  60. "mocha": "^8.4.0",
  61. "nyc": "^15.0.0",
  62. "prettier": "^2.0.5",
  63. "utf-8-validate": "^6.0.0"
  64. }
  65. }