UNPKG

3.1 kBJSONView Raw
1{
2 "name": "socket.io-client",
3 "version": "3.1.0",
4 "keywords": [
5 "realtime",
6 "framework",
7 "websocket",
8 "tcp",
9 "events",
10 "client"
11 ],
12 "files": [
13 "dist/",
14 "build/",
15 "wrapper.mjs"
16 ],
17 "type": "commonjs",
18 "main": "./build/index.js",
19 "exports": {
20 "./package.json": "./package.json",
21 "./dist/socket.io.js": "./dist/socket.io.js",
22 "./dist/socket.io.js.map": "./dist/socket.io.js.map",
23 ".": {
24 "import": "./wrapper.mjs",
25 "require": "./build/index.js"
26 }
27 },
28 "types": "./build/index.d.ts",
29 "dependencies": {
30 "@types/component-emitter": "^1.2.10",
31 "backo2": "~1.0.2",
32 "component-emitter": "~1.3.0",
33 "debug": "~4.3.1",
34 "engine.io-client": "~4.1.0",
35 "parseuri": "0.0.6",
36 "socket.io-parser": "~4.0.4"
37 },
38 "devDependencies": {
39 "@babel/core": "^7.11.6",
40 "@babel/plugin-transform-object-assign": "^7.10.4",
41 "@babel/preset-env": "^7.11.5",
42 "@types/mocha": "^8.0.3",
43 "@types/node": "^14.11.8",
44 "babel-eslint": "^10.1.0",
45 "babel-loader": "^8.1.0",
46 "babel-preset-es2015": "6.24.1",
47 "base64-arraybuffer": "^0.1.5",
48 "eslint": "^6.8.0",
49 "eslint-config-standard": "4.4.0",
50 "eslint-plugin-standard": "1.3.1",
51 "expect.js": "0.3.1",
52 "has-cors": "^1.1.0",
53 "istanbul": "^0.4.5",
54 "mocha": "^3.3.0",
55 "prettier": "^2.1.2",
56 "rimraf": "^3.0.2",
57 "socket.io": "3.0.0",
58 "socket.io-browsers": "^1.0.0",
59 "socket.io-msgpack-parser": "^3.0.0",
60 "text-blob-builder": "0.0.1",
61 "ts-loader": "^8.0.5",
62 "ts-node": "^9.0.0",
63 "typescript": "^4.0.3",
64 "webpack": "^4.44.2",
65 "webpack-cli": "^3.3.12",
66 "webpack-remove-debug": "^0.1.0",
67 "zuul": "~3.11.1",
68 "zuul-builder-webpack": "^1.2.0",
69 "zuul-ngrok": "4.0.0"
70 },
71 "scripts": {
72 "compile": "rimraf ./build && tsc",
73 "test": "npm run format:check && npm run compile && if test \"$BROWSERS\" = \"1\" ; then npm run test:browser; else npm run test:node; fi",
74 "test:node": "mocha --require ts-node/register --reporter dot --require test/support/server.js test/index.js",
75 "test:browser": "zuul test/index.js",
76 "build": "npm run compile && webpack --config ./support/webpack.config.js --config ./support/prod.config.js --config ./support/msgpack-parser.config.js",
77 "format:check": "prettier --check \"lib/**/*.ts\" \"test/**/*.js\" \"test/**/*.ts\" \"support/**/*.js\"",
78 "format:fix": "prettier --write \"lib/**/*.ts\" \"test/**/*.js\" \"test/**/*.ts\" \"support/**/*.js\"",
79 "prepack": "npm run compile"
80 },
81 "contributors": [
82 {
83 "name": "Guillermo Rauch",
84 "email": "rauchg@gmail.com"
85 },
86 {
87 "name": "Arnout Kazemier",
88 "email": "info@3rd-eden.com"
89 },
90 {
91 "name": "Vladimir Dronnikov",
92 "email": "dronnikov@gmail.com"
93 },
94 {
95 "name": "Einar Otto Stangvik",
96 "email": "einaros@gmail.com"
97 }
98 ],
99 "repository": {
100 "type": "git",
101 "url": "https://github.com/socketio/socket.io-client.git"
102 },
103 "license": "MIT",
104 "engines": {
105 "node": ">=10.0.0"
106 }
107}