UNPKG

3.13 kBJSONView Raw
1{
2 "name": "socket.io-client",
3 "version": "3.0.4",
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-bind": "1.0.0",
33 "component-emitter": "~1.3.0",
34 "debug": "~4.1.0",
35 "engine.io-client": "~4.0.0",
36 "parseuri": "0.0.6",
37 "socket.io-parser": "~4.0.1"
38 },
39 "devDependencies": {
40 "@babel/core": "^7.11.6",
41 "@babel/plugin-transform-object-assign": "^7.10.4",
42 "@babel/preset-env": "^7.11.5",
43 "@types/mocha": "^8.0.3",
44 "@types/node": "^14.11.8",
45 "babel-eslint": "^10.1.0",
46 "babel-loader": "^8.1.0",
47 "babel-preset-es2015": "6.24.1",
48 "base64-arraybuffer": "^0.1.5",
49 "eslint": "^6.8.0",
50 "eslint-config-standard": "4.4.0",
51 "eslint-plugin-standard": "1.3.1",
52 "expect.js": "0.3.1",
53 "has-cors": "^1.1.0",
54 "istanbul": "^0.4.5",
55 "mocha": "^3.3.0",
56 "prettier": "^2.1.2",
57 "rimraf": "^3.0.2",
58 "socket.io": "3.0.0",
59 "socket.io-browsers": "^1.0.0",
60 "socket.io-msgpack-parser": "^3.0.0",
61 "text-blob-builder": "0.0.1",
62 "ts-loader": "^8.0.5",
63 "ts-node": "^9.0.0",
64 "typescript": "^4.0.3",
65 "webpack": "^4.44.2",
66 "webpack-cli": "^3.3.12",
67 "webpack-remove-debug": "^0.1.0",
68 "zuul": "~3.11.1",
69 "zuul-builder-webpack": "^1.2.0",
70 "zuul-ngrok": "4.0.0"
71 },
72 "scripts": {
73 "compile": "rimraf ./build && tsc",
74 "test": "npm run format:check && npm run compile && if test \"$BROWSERS\" = \"1\" ; then npm run test:browser; else npm run test:node; fi",
75 "test:node": "mocha --require ts-node/register --reporter dot --require test/support/server.js test/index.js",
76 "test:browser": "zuul test/index.js",
77 "build": "npm run compile && webpack --config ./support/webpack.config.js --config ./support/prod.config.js --config ./support/msgpack-parser.config.js",
78 "format:check": "prettier --check \"lib/**/*.ts\" \"test/**/*.js\" \"test/**/*.ts\" \"support/**/*.js\"",
79 "format:fix": "prettier --write \"lib/**/*.ts\" \"test/**/*.js\" \"test/**/*.ts\" \"support/**/*.js\"",
80 "prepack": "npm run compile"
81 },
82 "contributors": [
83 {
84 "name": "Guillermo Rauch",
85 "email": "rauchg@gmail.com"
86 },
87 {
88 "name": "Arnout Kazemier",
89 "email": "info@3rd-eden.com"
90 },
91 {
92 "name": "Vladimir Dronnikov",
93 "email": "dronnikov@gmail.com"
94 },
95 {
96 "name": "Einar Otto Stangvik",
97 "email": "einaros@gmail.com"
98 }
99 ],
100 "repository": {
101 "type": "git",
102 "url": "https://github.com/socketio/socket.io-client.git"
103 },
104 "license": "MIT",
105 "engines": {
106 "node": ">=10.0.0"
107 }
108}