package.json 1.5 KB

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