package.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. {
  2. "_from": "axios-retry",
  3. "_id": "axios-retry@4.4.1",
  4. "_inBundle": false,
  5. "_integrity": "sha512-JGzNoglDHtHWIEvvAampB0P7jxQ/sT4COmW0FgSQkVg6o4KqNjNMBI6uFVOq517hkw/OAYYAG08ADtBlV8lvmQ==",
  6. "_location": "/axios-retry",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "tag",
  10. "registry": true,
  11. "raw": "axios-retry",
  12. "name": "axios-retry",
  13. "escapedName": "axios-retry",
  14. "rawSpec": "",
  15. "saveSpec": null,
  16. "fetchSpec": "latest"
  17. },
  18. "_requiredBy": [
  19. "#USER",
  20. "/"
  21. ],
  22. "_resolved": "https://registry.npmmirror.com/axios-retry/-/axios-retry-4.4.1.tgz",
  23. "_shasum": "e5d0c851e635fd4de866aec2b9b422f05d661257",
  24. "_spec": "axios-retry",
  25. "_where": "C:\\Users\\小公主\\Desktop\\班级\\VIP32\\购物商城\\project",
  26. "author": {
  27. "name": "Rubén Norte",
  28. "email": "ruben.norte@softonic.com"
  29. },
  30. "bugs": {
  31. "url": "https://github.com/softonic/axios-retry/issues"
  32. },
  33. "bundleDependencies": false,
  34. "dependencies": {
  35. "is-retry-allowed": "^2.2.0"
  36. },
  37. "deprecated": false,
  38. "description": "Axios plugin that intercepts failed requests and retries them whenever posible.",
  39. "devDependencies": {
  40. "@types/axios": "^0.14.0",
  41. "@types/jasmine": "^5.1.2",
  42. "@types/node": "^20.9.1",
  43. "@typescript-eslint/eslint-plugin": "^6.11.0",
  44. "@typescript-eslint/parser": "^6.11.0",
  45. "axios": "^1.6.2",
  46. "eslint": "^8.53.0",
  47. "eslint-config-prettier": "^9.0.0",
  48. "eslint-plugin-jasmine": "^4.1.3",
  49. "eslint-plugin-prettier": "^5.0.1",
  50. "husky": "^8.0.3",
  51. "jasmine": "^5.1.0",
  52. "lint-staged": "^15.1.0",
  53. "nock": "^13.3.8",
  54. "prettier": "^3.1.0",
  55. "ts-node": "^10.9.1",
  56. "typescript": "^5.2.2"
  57. },
  58. "exports": {
  59. ".": {
  60. "import": {
  61. "types": "./dist/esm/index.d.ts",
  62. "default": "./dist/esm/index.js"
  63. },
  64. "require": {
  65. "types": "./dist/cjs/index.d.ts",
  66. "default": "./dist/cjs/index.js"
  67. }
  68. },
  69. "./package.json": "./package.json"
  70. },
  71. "files": [
  72. "dist"
  73. ],
  74. "homepage": "https://github.com/softonic/axios-retry",
  75. "license": "Apache-2.0",
  76. "lint-staged": {
  77. "*.ts": [
  78. "eslint --cache --fix",
  79. "prettier --write"
  80. ]
  81. },
  82. "main": "dist/cjs/index.js",
  83. "module": "dist/esm/index.js",
  84. "name": "axios-retry",
  85. "peerDependencies": {
  86. "axios": "0.x || 1.x"
  87. },
  88. "repository": {
  89. "type": "git",
  90. "url": "git+https://github.com/softonic/axios-retry.git"
  91. },
  92. "scripts": {
  93. "build": "rm -fr dist/* && npm run build:esm && npm run build:cjs",
  94. "build:cjs": "tsc -p tsconfig-cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
  95. "build:esm": "tsc -p tsconfig.json && echo '{\"type\":\"module\"}' > dist/esm/package.json",
  96. "lint": "eslint .",
  97. "postrelease": "npm run push && npm publish",
  98. "prebuild": "npm run test",
  99. "prepare": "husky install",
  100. "prerelease": "npm run build",
  101. "pretest": "npm run lint",
  102. "push": "git push origin master && git push origin --tags",
  103. "release": "npm version -m \"New version: %s\"",
  104. "test": "ts-node --project tsconfig-cjs.json node_modules/jasmine/bin/jasmine"
  105. },
  106. "types": "dist/cjs/index.d.ts",
  107. "version": "4.4.1"
  108. }