UNPKG

2.34 kBJSONView Raw
1{
2 "name": "socket.io",
3 "version": "4.7.5",
4 "description": "node.js realtime framework server",
5 "keywords": [
6 "realtime",
7 "framework",
8 "websocket",
9 "tcp",
10 "events",
11 "socket",
12 "io"
13 ],
14 "files": [
15 "dist/",
16 "client-dist/",
17 "wrapper.mjs",
18 "!**/*.tsbuildinfo"
19 ],
20 "directories": {
21 "doc": "docs/",
22 "example": "example/",
23 "lib": "lib/",
24 "test": "test/"
25 },
26 "type": "commonjs",
27 "main": "./dist/index.js",
28 "exports": {
29 "types": "./dist/index.d.ts",
30 "import": "./wrapper.mjs",
31 "require": "./dist/index.js"
32 },
33 "types": "./dist/index.d.ts",
34 "license": "MIT",
35 "repository": {
36 "type": "git",
37 "url": "git://github.com/socketio/socket.io"
38 },
39 "scripts": {
40 "compile": "rimraf ./dist && tsc",
41 "test": "npm run format:check && npm run compile && npm run test:types && npm run test:unit",
42 "test:types": "tsd",
43 "test:unit": "nyc mocha --require ts-node/register --reporter spec --slow 200 --bail --timeout 10000 test/index.ts",
44 "format:check": "prettier --check \"lib/**/*.ts\" \"test/**/*.ts\"",
45 "format:fix": "prettier --write \"lib/**/*.ts\" \"test/**/*.ts\"",
46 "prepack": "npm run compile"
47 },
48 "dependencies": {
49 "accepts": "~1.3.4",
50 "base64id": "~2.0.0",
51 "cors": "~2.8.5",
52 "debug": "~4.3.2",
53 "engine.io": "~6.5.2",
54 "socket.io-adapter": "~2.5.2",
55 "socket.io-parser": "~4.2.4"
56 },
57 "devDependencies": {
58 "@types/mocha": "^9.0.0",
59 "expect.js": "0.3.1",
60 "mocha": "^10.0.0",
61 "nyc": "^15.1.0",
62 "prettier": "^2.3.2",
63 "rimraf": "^3.0.2",
64 "socket.io-client": "4.7.5",
65 "socket.io-client-v2": "npm:socket.io-client@^2.4.0",
66 "superagent": "^8.0.0",
67 "supertest": "^6.1.6",
68 "ts-node": "^10.2.1",
69 "tsd": "^0.27.0",
70 "typescript": "^4.4.2",
71 "uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.30.0"
72 },
73 "contributors": [
74 {
75 "name": "Guillermo Rauch",
76 "email": "rauchg@gmail.com"
77 },
78 {
79 "name": "Arnout Kazemier",
80 "email": "info@3rd-eden.com"
81 },
82 {
83 "name": "Vladimir Dronnikov",
84 "email": "dronnikov@gmail.com"
85 },
86 {
87 "name": "Einar Otto Stangvik",
88 "email": "einaros@gmail.com"
89 }
90 ],
91 "engines": {
92 "node": ">=10.2.0"
93 },
94 "tsd": {
95 "directory": "test"
96 }
97}