UNPKG

1.72 kBJSONView Raw
1{
2 "name": "ws",
3 "version": "8.17.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": {
16 "type": "git",
17 "url": "git+https://github.com/websockets/ws.git"
18 },
19 "author": "Einar Otto Stangvik <einaros@gmail.com> (http://2x.io)",
20 "license": "MIT",
21 "main": "index.js",
22 "exports": {
23 ".": {
24 "browser": "./browser.js",
25 "import": "./wrapper.mjs",
26 "require": "./index.js"
27 },
28 "./package.json": "./package.json"
29 },
30 "browser": "browser.js",
31 "engines": {
32 "node": ">=10.0.0"
33 },
34 "files": [
35 "browser.js",
36 "index.js",
37 "lib/*.js",
38 "wrapper.mjs"
39 ],
40 "scripts": {
41 "test": "nyc --reporter=lcov --reporter=text mocha --throw-deprecation test/*.test.js",
42 "integration": "mocha --throw-deprecation test/*.integration.js",
43 "lint": "eslint . && prettier --check --ignore-path .gitignore \"**/*.{json,md,yaml,yml}\""
44 },
45 "peerDependencies": {
46 "bufferutil": "^4.0.1",
47 "utf-8-validate": ">=5.0.2"
48 },
49 "peerDependenciesMeta": {
50 "bufferutil": {
51 "optional": true
52 },
53 "utf-8-validate": {
54 "optional": true
55 }
56 },
57 "devDependencies": {
58 "benchmark": "^2.1.4",
59 "bufferutil": "^4.0.1",
60 "eslint": "^9.0.0",
61 "eslint-config-prettier": "^9.0.0",
62 "eslint-plugin-prettier": "^5.0.0",
63 "globals": "^15.0.0",
64 "mocha": "^8.4.0",
65 "nyc": "^15.0.0",
66 "prettier": "^3.0.0",
67 "utf-8-validate": "^6.0.0"
68 }
69}