package.json 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. {
  2. "_from": "socket.io-client",
  3. "_id": "socket.io-client@4.4.1",
  4. "_inBundle": false,
  5. "_integrity": "sha512-N5C/L5fLNha5Ojd7Yeb/puKcPWWcoB/A09fEjjNsg91EDVr5twk/OEyO6VT9dlLSUNY85NpW6KBhVMvaLKQ3vQ==",
  6. "_location": "/socket.io-client",
  7. "_phantomChildren": {
  8. "@socket.io/component-emitter": "3.0.0"
  9. },
  10. "_requested": {
  11. "type": "tag",
  12. "registry": true,
  13. "raw": "socket.io-client",
  14. "name": "socket.io-client",
  15. "escapedName": "socket.io-client",
  16. "rawSpec": "",
  17. "saveSpec": null,
  18. "fetchSpec": "latest"
  19. },
  20. "_requiredBy": [
  21. "#USER",
  22. "/"
  23. ],
  24. "_resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-4.4.1.tgz",
  25. "_shasum": "b6aa9448149d09b8d0b2bbf3d2fac310631fdec9",
  26. "_spec": "socket.io-client",
  27. "_where": "C:\\Users\\Admin\\Desktop\\WORK IT\\a-level proj\\chat\\server",
  28. "browser": {
  29. "./test/node.ts": false
  30. },
  31. "bugs": {
  32. "url": "https://github.com/socketio/socket.io-client/issues"
  33. },
  34. "bundleDependencies": false,
  35. "contributors": [
  36. {
  37. "name": "Guillermo Rauch",
  38. "email": "rauchg@gmail.com"
  39. },
  40. {
  41. "name": "Arnout Kazemier",
  42. "email": "info@3rd-eden.com"
  43. },
  44. {
  45. "name": "Vladimir Dronnikov",
  46. "email": "dronnikov@gmail.com"
  47. },
  48. {
  49. "name": "Einar Otto Stangvik",
  50. "email": "einaros@gmail.com"
  51. }
  52. ],
  53. "dependencies": {
  54. "@socket.io/component-emitter": "~3.0.0",
  55. "backo2": "~1.0.2",
  56. "debug": "~4.3.2",
  57. "engine.io-client": "~6.1.1",
  58. "parseuri": "0.0.6",
  59. "socket.io-parser": "~4.1.1"
  60. },
  61. "deprecated": false,
  62. "description": "Realtime application framework client",
  63. "devDependencies": {
  64. "@babel/core": "^7.15.0",
  65. "@babel/plugin-transform-object-assign": "^7.14.5",
  66. "@babel/preset-env": "^7.15.0",
  67. "@rollup/plugin-alias": "^3.1.5",
  68. "@rollup/plugin-babel": "^5.3.0",
  69. "@rollup/plugin-commonjs": "^21.0.0",
  70. "@rollup/plugin-node-resolve": "^13.0.5",
  71. "@sinonjs/fake-timers": "^7.1.2",
  72. "@types/mocha": "^9.0.0",
  73. "@types/node": "^16.7.6",
  74. "@types/sinonjs__fake-timers": "^6.0.3",
  75. "babel-eslint": "^10.1.0",
  76. "babel-loader": "^8.1.0",
  77. "babel-preset-es2015": "6.24.1",
  78. "base64-arraybuffer": "^0.1.5",
  79. "expect.js": "0.3.1",
  80. "has-cors": "^1.1.0",
  81. "istanbul": "^0.4.5",
  82. "mocha": "^3.3.0",
  83. "prettier": "^2.3.2",
  84. "rimraf": "^3.0.2",
  85. "rollup": "^2.58.0",
  86. "rollup-plugin-terser": "^7.0.2",
  87. "socket.io": "3.0.0",
  88. "socket.io-browsers": "^1.0.0",
  89. "socket.io-msgpack-parser": "^3.0.0",
  90. "text-blob-builder": "0.0.1",
  91. "ts-loader": "^8.3.0",
  92. "ts-node": "^10.2.1",
  93. "tsd": "^0.17.0",
  94. "typescript": "^4.4.2",
  95. "webpack": "^4.44.2",
  96. "webpack-cli": "^3.3.12",
  97. "webpack-remove-debug": "^0.1.0",
  98. "zuul": "~3.11.1",
  99. "zuul-builder-webpack": "^1.2.0",
  100. "zuul-ngrok": "4.0.0"
  101. },
  102. "engines": {
  103. "node": ">=10.0.0"
  104. },
  105. "exports": {
  106. "./package.json": "./package.json",
  107. "./dist/socket.io.js": "./dist/socket.io.js",
  108. "./dist/socket.io.js.map": "./dist/socket.io.js.map",
  109. ".": {
  110. "import": {
  111. "node": "./build/esm-debug/index.js",
  112. "default": "./build/esm/index.js"
  113. },
  114. "require": "./build/cjs/index.js",
  115. "types": "./build/esm/index.d.ts"
  116. }
  117. },
  118. "files": [
  119. "dist/",
  120. "build/"
  121. ],
  122. "homepage": "https://github.com/socketio/socket.io-client#readme",
  123. "keywords": [
  124. "realtime",
  125. "framework",
  126. "websocket",
  127. "tcp",
  128. "events",
  129. "client"
  130. ],
  131. "license": "MIT",
  132. "main": "./build/cjs/index.js",
  133. "module": "./build/esm/index.js",
  134. "name": "socket.io-client",
  135. "repository": {
  136. "type": "git",
  137. "url": "git+https://github.com/socketio/socket.io-client.git"
  138. },
  139. "scripts": {
  140. "build": "rollup -c support/rollup.config.umd.js && rollup -c support/rollup.config.esm.js && rollup -c support/rollup.config.umd.msgpack.js",
  141. "compile": "rimraf ./build && tsc && tsc -p tsconfig.esm.json && ./postcompile.sh",
  142. "format:check": "prettier --check \"lib/**/*.ts\" \"test/**/*.js\" \"test/**/*.ts\" \"support/**/*.js\"",
  143. "format:fix": "prettier --write \"lib/**/*.ts\" \"test/**/*.js\" \"test/**/*.ts\" \"support/**/*.js\"",
  144. "prepack": "npm run compile",
  145. "test": "npm run format:check && npm run compile && if test \"$BROWSERS\" = \"1\" ; then npm run test:browser; else npm run test:node; fi",
  146. "test:browser": "zuul test/index.js",
  147. "test:node": "mocha --require ts-node/register --reporter dot --require test/support/server.js test/index.js",
  148. "test:types": "tsd"
  149. },
  150. "tsd": {
  151. "directory": "test"
  152. },
  153. "type": "commonjs",
  154. "types": "./build/esm/index.d.ts",
  155. "version": "4.4.1"
  156. }