智慧水务管理系统 - 精河县供水工程综合管理平台

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. {
  2. "name": "axios",
  3. "version": "1.18.0",
  4. "description": "Promise based HTTP client for the browser and node.js",
  5. "main": "./dist/node/axios.cjs",
  6. "module": "./index.js",
  7. "type": "module",
  8. "types": "index.d.ts",
  9. "jsdelivr": "dist/axios.min.js",
  10. "unpkg": "dist/axios.min.js",
  11. "typings": "./index.d.ts",
  12. "exports": {
  13. ".": {
  14. "types": {
  15. "require": "./index.d.cts",
  16. "default": "./index.d.ts"
  17. },
  18. "bun": {
  19. "require": "./dist/node/axios.cjs",
  20. "default": "./index.js"
  21. },
  22. "react-native": {
  23. "require": "./dist/browser/axios.cjs",
  24. "default": "./dist/esm/axios.js"
  25. },
  26. "browser": {
  27. "require": "./dist/browser/axios.cjs",
  28. "default": "./index.js"
  29. },
  30. "default": {
  31. "require": "./dist/node/axios.cjs",
  32. "default": "./index.js"
  33. }
  34. },
  35. "./lib/adapters/http.js": "./lib/adapters/http.js",
  36. "./lib/adapters/xhr.js": "./lib/adapters/xhr.js",
  37. "./unsafe/*": "./lib/*",
  38. "./unsafe/core/settle.js": "./lib/core/settle.js",
  39. "./unsafe/core/buildFullPath.js": "./lib/core/buildFullPath.js",
  40. "./unsafe/helpers/isAbsoluteURL.js": "./lib/helpers/isAbsoluteURL.js",
  41. "./unsafe/helpers/buildURL.js": "./lib/helpers/buildURL.js",
  42. "./unsafe/helpers/combineURLs.js": "./lib/helpers/combineURLs.js",
  43. "./unsafe/adapters/http.js": "./lib/adapters/http.js",
  44. "./unsafe/adapters/xhr.js": "./lib/adapters/xhr.js",
  45. "./unsafe/utils.js": "./lib/utils.js",
  46. "./package.json": "./package.json",
  47. "./dist/browser/axios.cjs": "./dist/browser/axios.cjs",
  48. "./dist/node/axios.cjs": "./dist/node/axios.cjs"
  49. },
  50. "browser": {
  51. "./dist/node/axios.cjs": "./dist/browser/axios.cjs",
  52. "./lib/adapters/http.js": "./lib/helpers/null.js",
  53. "./lib/platform/node/index.js": "./lib/platform/browser/index.js",
  54. "./lib/platform/node/classes/FormData.js": "./lib/helpers/null.js"
  55. },
  56. "react-native": {
  57. "./dist/node/axios.cjs": "./dist/browser/axios.cjs",
  58. "./lib/adapters/http.js": "./lib/helpers/null.js",
  59. "./lib/platform/node/index.js": "./lib/platform/browser/index.js",
  60. "./lib/platform/node/classes/FormData.js": "./lib/helpers/null.js"
  61. },
  62. "repository": {
  63. "type": "git",
  64. "url": "https://github.com/axios/axios.git"
  65. },
  66. "keywords": [
  67. "xhr",
  68. "http",
  69. "ajax",
  70. "promise",
  71. "node",
  72. "browser",
  73. "fetch",
  74. "rest",
  75. "api",
  76. "client"
  77. ],
  78. "author": "Matt Zabriskie",
  79. "contributors": [
  80. "Matt Zabriskie (https://github.com/mzabriskie)",
  81. "Jay (https://github.com/jasonsaayman)",
  82. "Dmitriy Mozgovoy (https://github.com/DigitalBrainJS)",
  83. "Nick Uraltsev (https://github.com/nickuraltsev)",
  84. "Emily Morehouse (https://github.com/emilyemorehouse)",
  85. "Rubén Norte (https://github.com/rubennorte)",
  86. "Justin Beckwith (https://github.com/JustinBeckwith)",
  87. "Martti Laine (https://github.com/codeclown)",
  88. "Xianming Zhong (https://github.com/chinesedfan)",
  89. "Shaan Majid (https://github.com/shaanmajid)",
  90. "Willian Agostini (https://github.com/WillianAgostini)",
  91. "Remco Haszing (https://github.com/remcohaszing)",
  92. "Rikki Gibson (https://github.com/RikkiGibson)"
  93. ],
  94. "sideEffects": false,
  95. "license": "MIT",
  96. "bugs": {
  97. "url": "https://github.com/axios/axios/issues"
  98. },
  99. "homepage": "https://axios-http.com",
  100. "files": [
  101. "index.js",
  102. "index.d.ts",
  103. "index.d.cts",
  104. "CHANGELOG.md",
  105. "MIGRATION_GUIDE.md",
  106. "lib/",
  107. "dist/axios.js",
  108. "dist/axios.min.js",
  109. "dist/axios.min.js.map",
  110. "dist/esm/axios.js",
  111. "dist/esm/axios.min.js",
  112. "dist/esm/axios.min.js.map",
  113. "dist/browser/axios.cjs",
  114. "dist/node/axios.cjs"
  115. ],
  116. "scripts": {
  117. "build": "gulp clear && cross-env NODE_ENV=production rollup -c -m",
  118. "version": "npm run build && git add package.json",
  119. "preversion": "gulp version",
  120. "test": "npm run test:vitest",
  121. "test:vitest": "vitest run",
  122. "test:vitest:unit": "vitest run --project unit",
  123. "test:vitest:browser": "vitest run --project browser",
  124. "test:vitest:browser:headless": "vitest run --project browser-headless",
  125. "test:vitest:watch": "vitest",
  126. "test:smoke:cjs:vitest": "npm --prefix tests/smoke/cjs run test:smoke:cjs:mocha",
  127. "test:smoke:esm:vitest": "npm --prefix tests/smoke/esm run test:smoke:esm:vitest",
  128. "test:smoke:deno": "deno task --cwd tests/smoke/deno test",
  129. "test:smoke:bun": "bun test --cwd tests/smoke/bun",
  130. "test:module:cjs": "npm --prefix tests/module/cjs run test:module:cjs",
  131. "test:module:esm": "npm --prefix tests/module/esm run test:module:esm",
  132. "docs:dev": "cd docs && npm run docs:dev",
  133. "start": "node ./sandbox/server.js",
  134. "examples": "node ./examples/server.js",
  135. "lint": "eslint lib/**/*.js",
  136. "fix": "eslint --fix lib/**/*.js",
  137. "prepare": "husky"
  138. },
  139. "dependencies": {
  140. "follow-redirects": "^1.16.0",
  141. "form-data": "^4.0.5",
  142. "https-proxy-agent": "^5.0.1",
  143. "proxy-from-env": "^2.1.0"
  144. },
  145. "devDependencies": {
  146. "@babel/core": "^7.29.0",
  147. "@babel/preset-env": "^7.29.5",
  148. "@commitlint/cli": "^21.0.1",
  149. "@commitlint/config-conventional": "^21.0.1",
  150. "@eslint/js": "^10.0.1",
  151. "@rollup/plugin-alias": "^6.0.0",
  152. "@rollup/plugin-babel": "^7.0.0",
  153. "@rollup/plugin-commonjs": "^29.0.2",
  154. "@rollup/plugin-json": "^6.1.0",
  155. "@rollup/plugin-node-resolve": "^16.0.3",
  156. "@rollup/plugin-terser": "^1.0.0",
  157. "@vitest/browser": "^4.1.7",
  158. "@vitest/browser-playwright": "^4.1.7",
  159. "abortcontroller-polyfill": "^1.7.8",
  160. "acorn": "^8.16.0",
  161. "body-parser": "^2.2.2",
  162. "chalk": "^5.6.2",
  163. "cross-env": "^10.1.0",
  164. "dev-null": "^0.1.1",
  165. "eslint": "^10.4.0",
  166. "express": "^5.2.1",
  167. "formdata-node": "^6.0.3",
  168. "formidable": "^3.5.4",
  169. "fs-extra": "^11.3.4",
  170. "get-stream": "^9.0.1",
  171. "globals": "^17.6.0",
  172. "gulp": "^5.0.1",
  173. "husky": "^9.1.7",
  174. "lint-staged": "^17.0.5",
  175. "minimist": "^1.2.8",
  176. "multer": "^2.1.1",
  177. "playwright": "^1.60.0",
  178. "prettier": "^3.8.3",
  179. "rollup": "^4.60.4",
  180. "rollup-plugin-bundle-size": "^1.0.3",
  181. "selfsigned": "^5.5.0",
  182. "stream-throttle": "^0.1.3",
  183. "typescript": "^5.9.3",
  184. "vitest": "^4.1.7"
  185. },
  186. "commitlint": {
  187. "rules": {
  188. "header-max-length": [
  189. 2,
  190. "always",
  191. 130
  192. ]
  193. },
  194. "extends": [
  195. "@commitlint/config-conventional"
  196. ]
  197. },
  198. "lint-staged": {
  199. "*.{js,cjs,mjs,ts,json,md,yml,yaml}": "prettier --write"
  200. }
  201. }