package.json 2.4 KB

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