package.json 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. {
  2. "_from": "axios",
  3. "_id": "axios@1.3.6",
  4. "_inBundle": false,
  5. "_integrity": "sha512-PEcdkk7JcdPiMDkvM4K6ZBRYq9keuVJsToxm2zQIM70Qqo2WHTdJZMXcG9X+RmRp2VPNUQC8W1RAGbgt6b1yMg==",
  6. "_location": "/axios",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "tag",
  10. "registry": true,
  11. "raw": "axios",
  12. "name": "axios",
  13. "escapedName": "axios",
  14. "rawSpec": "",
  15. "saveSpec": null,
  16. "fetchSpec": "latest"
  17. },
  18. "_requiredBy": [
  19. "#USER",
  20. "/"
  21. ],
  22. "_resolved": "https://registry.npmmirror.com/axios/-/axios-1.3.6.tgz",
  23. "_shasum": "1ace9a9fb994314b5f6327960918406fa92c6646",
  24. "_spec": "axios",
  25. "_where": "F:\\CH2023\\前后端项目联调\\webLiandiao",
  26. "author": {
  27. "name": "Matt Zabriskie"
  28. },
  29. "browser": {
  30. "./lib/adapters/http.js": "./lib/helpers/null.js",
  31. "./lib/platform/node/index.js": "./lib/platform/browser/index.js",
  32. "./lib/platform/node/classes/FormData.js": "./lib/helpers/null.js"
  33. },
  34. "bugs": {
  35. "url": "https://github.com/axios/axios/issues"
  36. },
  37. "bundleDependencies": false,
  38. "bundlesize": [
  39. {
  40. "path": "./dist/axios.min.js",
  41. "threshold": "5kB"
  42. }
  43. ],
  44. "commitlint": {
  45. "rules": {
  46. "header-max-length": [
  47. 2,
  48. "always",
  49. 130
  50. ]
  51. },
  52. "extends": [
  53. "@commitlint/config-conventional"
  54. ]
  55. },
  56. "contributors": [
  57. {
  58. "name": "Matt Zabriskie",
  59. "url": "https://github.com/mzabriskie"
  60. },
  61. {
  62. "name": "Nick Uraltsev",
  63. "url": "https://github.com/nickuraltsev"
  64. },
  65. {
  66. "name": "Jay",
  67. "url": "https://github.com/jasonsaayman"
  68. },
  69. {
  70. "name": "Dmitriy Mozgovoy",
  71. "url": "https://github.com/DigitalBrainJS"
  72. },
  73. {
  74. "name": "Emily Morehouse",
  75. "url": "https://github.com/emilyemorehouse"
  76. },
  77. {
  78. "name": "Rubén Norte",
  79. "url": "https://github.com/rubennorte"
  80. },
  81. {
  82. "name": "Justin Beckwith",
  83. "url": "https://github.com/JustinBeckwith"
  84. },
  85. {
  86. "name": "Martti Laine",
  87. "url": "https://github.com/codeclown"
  88. },
  89. {
  90. "name": "Xianming Zhong",
  91. "url": "https://github.com/chinesedfan"
  92. },
  93. {
  94. "name": "Rikki Gibson",
  95. "url": "https://github.com/RikkiGibson"
  96. },
  97. {
  98. "name": "Remco Haszing",
  99. "url": "https://github.com/remcohaszing"
  100. },
  101. {
  102. "name": "Yasu Flores",
  103. "url": "https://github.com/yasuf"
  104. },
  105. {
  106. "name": "Ben Carp",
  107. "url": "https://github.com/carpben"
  108. }
  109. ],
  110. "dependencies": {
  111. "follow-redirects": "^1.15.0",
  112. "form-data": "^4.0.0",
  113. "proxy-from-env": "^1.1.0"
  114. },
  115. "deprecated": false,
  116. "description": "Promise based HTTP client for the browser and node.js",
  117. "devDependencies": {
  118. "@babel/core": "^7.18.2",
  119. "@babel/preset-env": "^7.18.2",
  120. "@commitlint/cli": "^17.3.0",
  121. "@commitlint/config-conventional": "^17.3.0",
  122. "@release-it/conventional-changelog": "^5.1.1",
  123. "@rollup/plugin-babel": "^5.3.1",
  124. "@rollup/plugin-commonjs": "^15.1.0",
  125. "@rollup/plugin-json": "^4.1.0",
  126. "@rollup/plugin-multi-entry": "^4.0.0",
  127. "@rollup/plugin-node-resolve": "^9.0.0",
  128. "abortcontroller-polyfill": "^1.7.3",
  129. "auto-changelog": "^2.4.0",
  130. "body-parser": "^1.20.0",
  131. "chalk": "^5.2.0",
  132. "coveralls": "^3.1.1",
  133. "cross-env": "^7.0.3",
  134. "dev-null": "^0.1.1",
  135. "dtslint": "^4.2.1",
  136. "es6-promise": "^4.2.8",
  137. "eslint": "^8.17.0",
  138. "express": "^4.18.1",
  139. "formdata-node": "^5.0.0",
  140. "formidable": "^2.0.1",
  141. "fs-extra": "^10.1.0",
  142. "get-stream": "^3.0.0",
  143. "gulp": "^4.0.2",
  144. "gzip-size": "^7.0.0",
  145. "handlebars": "^4.7.7",
  146. "husky": "^8.0.2",
  147. "istanbul-instrumenter-loader": "^3.0.1",
  148. "jasmine-core": "^2.4.1",
  149. "karma": "^6.3.17",
  150. "karma-chrome-launcher": "^3.1.1",
  151. "karma-firefox-launcher": "^2.1.2",
  152. "karma-jasmine": "^1.1.1",
  153. "karma-jasmine-ajax": "^0.1.13",
  154. "karma-rollup-preprocessor": "^7.0.8",
  155. "karma-safari-launcher": "^1.0.0",
  156. "karma-sauce-launcher": "^4.3.6",
  157. "karma-sinon": "^1.0.5",
  158. "karma-sourcemap-loader": "^0.3.8",
  159. "minimist": "^1.2.7",
  160. "mocha": "^10.0.0",
  161. "multer": "^1.4.4",
  162. "pretty-bytes": "^6.0.0",
  163. "release-it": "^15.5.1",
  164. "rollup": "^2.67.0",
  165. "rollup-plugin-auto-external": "^2.0.0",
  166. "rollup-plugin-bundle-size": "^1.0.3",
  167. "rollup-plugin-terser": "^7.0.2",
  168. "sinon": "^4.5.0",
  169. "stream-throttle": "^0.1.3",
  170. "string-replace-async": "^3.0.2",
  171. "terser-webpack-plugin": "^4.2.3",
  172. "typescript": "^4.8.4",
  173. "url-search-params": "^0.10.0"
  174. },
  175. "exports": {
  176. ".": {
  177. "types": {
  178. "require": "./index.d.cts",
  179. "default": "./index.d.ts"
  180. },
  181. "browser": {
  182. "require": "./dist/browser/axios.cjs",
  183. "default": "./index.js"
  184. },
  185. "default": {
  186. "require": "./dist/node/axios.cjs",
  187. "default": "./index.js"
  188. }
  189. },
  190. "./package.json": "./package.json"
  191. },
  192. "homepage": "https://axios-http.com",
  193. "jsdelivr": "dist/axios.min.js",
  194. "keywords": [
  195. "xhr",
  196. "http",
  197. "ajax",
  198. "promise",
  199. "node"
  200. ],
  201. "license": "MIT",
  202. "main": "index.js",
  203. "name": "axios",
  204. "release-it": {
  205. "git": {
  206. "commitMessage": "chore(release): v${version}",
  207. "push": true,
  208. "commit": true,
  209. "tag": true,
  210. "requireCommits": false,
  211. "requireCleanWorkingDir": false
  212. },
  213. "github": {
  214. "release": true,
  215. "draft": true
  216. },
  217. "npm": {
  218. "publish": false,
  219. "ignoreVersion": false
  220. },
  221. "plugins": {
  222. "@release-it/conventional-changelog": {
  223. "preset": "angular",
  224. "infile": "CHANGELOG.md",
  225. "header": "# Changelog"
  226. }
  227. },
  228. "hooks": {
  229. "before:init": "npm test",
  230. "after:bump": "gulp version --bump ${version} && npm run build && npm run test:build:version && git add ./dist && git add ./package-lock.json",
  231. "before:release": "npm run release:changelog:fix",
  232. "after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
  233. }
  234. },
  235. "repository": {
  236. "type": "git",
  237. "url": "git+https://github.com/axios/axios.git"
  238. },
  239. "scripts": {
  240. "build": "gulp clear && cross-env NODE_ENV=production rollup -c -m",
  241. "coveralls": "cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
  242. "examples": "node ./examples/server.js",
  243. "fix": "eslint --fix lib/**/*.js",
  244. "postpublish": "git push && git push --tags",
  245. "prepare": "husky install && npm run prepare:hooks",
  246. "prepare:hooks": "npx husky set .husky/commit-msg \"npx commitlint --edit $1\"",
  247. "prepublishOnly": "npm run test:build:version",
  248. "preversion": "gulp version",
  249. "release": "release-it",
  250. "release:beta": "release-it --preRelease=beta",
  251. "release:beta:no-npm": "release-it --preRelease=beta --no-npm",
  252. "release:changelog:fix": "node ./bin/injectContributorsList.js && git add CHANGELOG.md",
  253. "release:dry": "release-it --dry-run --no-npm",
  254. "release:info": "release-it --release-version",
  255. "release:no-npm": "release-it --no-npm",
  256. "start": "node ./sandbox/server.js",
  257. "test": "npm run test:eslint && npm run test:mocha && npm run test:karma && npm run test:dtslint && npm run test:exports",
  258. "test:build:version": "node ./bin/check-build-version.js",
  259. "test:dtslint": "dtslint --localTs node_modules/typescript/lib",
  260. "test:eslint": "node bin/ssl_hotfix.js eslint lib/**/*.js",
  261. "test:exports": "node bin/ssl_hotfix.js mocha test/module/test.js --timeout 30000 --exit",
  262. "test:karma": "node bin/ssl_hotfix.js cross-env LISTEN_ADDR=:: karma start karma.conf.cjs --single-run",
  263. "test:karma:server": "node bin/ssl_hotfix.js cross-env karma start karma.conf.cjs",
  264. "test:mocha": "node bin/ssl_hotfix.js mocha test/unit/**/*.js --timeout 30000 --exit",
  265. "version": "npm run build && git add dist && git add package.json"
  266. },
  267. "sideEffects": false,
  268. "type": "module",
  269. "types": "index.d.ts",
  270. "typings": "./index.d.ts",
  271. "unpkg": "dist/axios.min.js",
  272. "version": "1.3.6"
  273. }