package.json 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. "name": "axios",
  3. "version": "0.26.0",
  4. "description": "Promise based HTTP client for the browser and node.js",
  5. "main": "index.js",
  6. "types": "index.d.ts",
  7. "scripts": {
  8. "test": "grunt test && dtslint",
  9. "start": "node ./sandbox/server.js",
  10. "build": "NODE_ENV=production grunt build",
  11. "preversion": "grunt version && npm test",
  12. "version": "npm run build && git add -A dist && git add CHANGELOG.md bower.json package.json",
  13. "postversion": "git push && git push --tags",
  14. "examples": "node ./examples/server.js",
  15. "coveralls": "cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
  16. "fix": "eslint --fix lib/**/*.js"
  17. },
  18. "repository": {
  19. "type": "git",
  20. "url": "https://github.com/axios/axios.git"
  21. },
  22. "keywords": [
  23. "xhr",
  24. "http",
  25. "ajax",
  26. "promise",
  27. "node"
  28. ],
  29. "author": "Matt Zabriskie",
  30. "license": "MIT",
  31. "bugs": {
  32. "url": "https://github.com/axios/axios/issues"
  33. },
  34. "homepage": "https://axios-http.com",
  35. "devDependencies": {
  36. "abortcontroller-polyfill": "^1.5.0",
  37. "coveralls": "^3.0.0",
  38. "dtslint": "^4.1.6",
  39. "es6-promise": "^4.2.4",
  40. "grunt": "^1.3.0",
  41. "grunt-banner": "^0.6.0",
  42. "grunt-cli": "^1.2.0",
  43. "grunt-contrib-clean": "^1.1.0",
  44. "grunt-contrib-watch": "^1.0.0",
  45. "grunt-eslint": "^23.0.0",
  46. "grunt-karma": "^4.0.0",
  47. "grunt-mocha-test": "^0.13.3",
  48. "grunt-webpack": "^4.0.2",
  49. "istanbul-instrumenter-loader": "^1.0.0",
  50. "jasmine-core": "^2.4.1",
  51. "karma": "^6.3.2",
  52. "karma-chrome-launcher": "^3.1.0",
  53. "karma-firefox-launcher": "^2.1.0",
  54. "karma-jasmine": "^1.1.1",
  55. "karma-jasmine-ajax": "^0.1.13",
  56. "karma-safari-launcher": "^1.0.0",
  57. "karma-sauce-launcher": "^4.3.6",
  58. "karma-sinon": "^1.0.5",
  59. "karma-sourcemap-loader": "^0.3.8",
  60. "karma-webpack": "^4.0.2",
  61. "load-grunt-tasks": "^3.5.2",
  62. "minimist": "^1.2.0",
  63. "mocha": "^8.2.1",
  64. "sinon": "^4.5.0",
  65. "terser-webpack-plugin": "^4.2.3",
  66. "typescript": "^4.0.5",
  67. "url-search-params": "^0.10.0",
  68. "webpack": "^4.44.2",
  69. "webpack-dev-server": "^3.11.0"
  70. },
  71. "browser": {
  72. "./lib/adapters/http.js": "./lib/adapters/xhr.js"
  73. },
  74. "jsdelivr": "dist/axios.min.js",
  75. "unpkg": "dist/axios.min.js",
  76. "typings": "./index.d.ts",
  77. "dependencies": {
  78. "follow-redirects": "^1.14.8"
  79. },
  80. "bundlesize": [
  81. {
  82. "path": "./dist/axios.min.js",
  83. "threshold": "5kB"
  84. }
  85. ]
  86. }