1 | {
|
2 | "name": "socket.io",
|
3 | "version": "4.3.1",
|
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 | "import": "./wrapper.mjs",
|
30 | "require": "./dist/index.js"
|
31 | },
|
32 | "types": "./dist/index.d.ts",
|
33 | "license": "MIT",
|
34 | "repository": {
|
35 | "type": "git",
|
36 | "url": "git://github.com/socketio/socket.io"
|
37 | },
|
38 | "scripts": {
|
39 | "compile": "rimraf ./dist && tsc",
|
40 | "test": "npm run format:check && npm run compile && npm run test:types && npm run test:unit",
|
41 | "test:types": "tsd",
|
42 | "test:unit": "nyc mocha --require ts-node/register --reporter spec --slow 200 --bail --timeout 10000 test/socket.io.ts",
|
43 | "format:check": "prettier --check \"lib/**/*.ts\" \"test/**/*.ts\"",
|
44 | "format:fix": "prettier --write \"lib/**/*.ts\" \"test/**/*.ts\"",
|
45 | "prepack": "npm run compile"
|
46 | },
|
47 | "dependencies": {
|
48 | "accepts": "~1.3.4",
|
49 | "base64id": "~2.0.0",
|
50 | "debug": "~4.3.2",
|
51 | "engine.io": "~6.0.0",
|
52 | "socket.io-adapter": "~2.3.2",
|
53 | "socket.io-parser": "~4.0.4"
|
54 | },
|
55 | "devDependencies": {
|
56 | "@types/mocha": "^9.0.0",
|
57 | "expect.js": "0.3.1",
|
58 | "mocha": "^3.5.3",
|
59 | "nyc": "^15.1.0",
|
60 | "prettier": "^2.3.2",
|
61 | "rimraf": "^3.0.2",
|
62 | "socket.io-client": "4.3.1",
|
63 | "socket.io-client-v2": "npm:socket.io-client@^2.4.0",
|
64 | "superagent": "^6.1.0",
|
65 | "supertest": "^6.1.6",
|
66 | "ts-node": "^10.2.1",
|
67 | "tsd": "^0.17.0",
|
68 | "typescript": "^4.4.2"
|
69 | },
|
70 | "contributors": [
|
71 | {
|
72 | "name": "Guillermo Rauch",
|
73 | "email": "rauchg@gmail.com"
|
74 | },
|
75 | {
|
76 | "name": "Arnout Kazemier",
|
77 | "email": "info@3rd-eden.com"
|
78 | },
|
79 | {
|
80 | "name": "Vladimir Dronnikov",
|
81 | "email": "dronnikov@gmail.com"
|
82 | },
|
83 | {
|
84 | "name": "Einar Otto Stangvik",
|
85 | "email": "einaros@gmail.com"
|
86 | }
|
87 | ],
|
88 | "engines": {
|
89 | "node": ">=10.0.0"
|
90 | },
|
91 | "tsd": {
|
92 | "directory": "test"
|
93 | }
|
94 | }
|