| { |
| "name": "axios", |
| "version": "1.15.0", |
| "description": "Promise based HTTP client for the browser and node.js", |
| "main": "./dist/node/axios.cjs", |
| "module": "./index.js", |
| "type": "module", |
| "types": "index.d.ts", |
| "jsdelivr": "dist/axios.min.js", |
| "unpkg": "dist/axios.min.js", |
| "typings": "./index.d.ts", |
| "exports": { |
| ".": { |
| "types": { |
| "require": "./index.d.cts", |
| "default": "./index.d.ts" |
| }, |
| "bun": { |
| "require": "./dist/node/axios.cjs", |
| "default": "./index.js" |
| }, |
| "react-native": { |
| "require": "./dist/browser/axios.cjs", |
| "default": "./dist/esm/axios.js" |
| }, |
| "browser": { |
| "require": "./dist/browser/axios.cjs", |
| "default": "./index.js" |
| }, |
| "default": { |
| "require": "./dist/node/axios.cjs", |
| "default": "./index.js" |
| } |
| }, |
| "./lib/adapters/http.js": "./lib/adapters/http.js", |
| "./lib/adapters/xhr.js": "./lib/adapters/xhr.js", |
| "./unsafe/*": "./lib/*", |
| "./unsafe/core/settle.js": "./lib/core/settle.js", |
| "./unsafe/core/buildFullPath.js": "./lib/core/buildFullPath.js", |
| "./unsafe/helpers/isAbsoluteURL.js": "./lib/helpers/isAbsoluteURL.js", |
| "./unsafe/helpers/buildURL.js": "./lib/helpers/buildURL.js", |
| "./unsafe/helpers/combineURLs.js": "./lib/helpers/combineURLs.js", |
| "./unsafe/adapters/http.js": "./lib/adapters/http.js", |
| "./unsafe/adapters/xhr.js": "./lib/adapters/xhr.js", |
| "./unsafe/utils.js": "./lib/utils.js", |
| "./package.json": "./package.json", |
| "./dist/browser/axios.cjs": "./dist/browser/axios.cjs", |
| "./dist/node/axios.cjs": "./dist/node/axios.cjs" |
| }, |
| "browser": { |
| "./dist/node/axios.cjs": "./dist/browser/axios.cjs", |
| "./lib/adapters/http.js": "./lib/helpers/null.js", |
| "./lib/platform/node/index.js": "./lib/platform/browser/index.js", |
| "./lib/platform/node/classes/FormData.js": "./lib/helpers/null.js" |
| }, |
| "react-native": { |
| "./dist/node/axios.cjs": "./dist/browser/axios.cjs", |
| "./lib/adapters/http.js": "./lib/helpers/null.js", |
| "./lib/platform/node/index.js": "./lib/platform/browser/index.js", |
| "./lib/platform/node/classes/FormData.js": "./lib/helpers/null.js" |
| }, |
| "repository": { |
| "type": "git", |
| "url": "https://github.com/axios/axios.git" |
| }, |
| "keywords": [ |
| "xhr", |
| "http", |
| "ajax", |
| "promise", |
| "node", |
| "browser", |
| "fetch", |
| "rest", |
| "api", |
| "client" |
| ], |
| "author": "Matt Zabriskie", |
| "contributors": [ |
| "Matt Zabriskie (https://github.com/mzabriskie)", |
| "Jay (https://github.com/jasonsaayman)", |
| "Dmitriy Mozgovoy (https://github.com/DigitalBrainJS)", |
| "Nick Uraltsev (https://github.com/nickuraltsev)", |
| "Emily Morehouse (https://github.com/emilyemorehouse)", |
| "Rubén Norte (https://github.com/rubennorte)", |
| "Justin Beckwith (https://github.com/JustinBeckwith)", |
| "Martti Laine (https://github.com/codeclown)", |
| "Xianming Zhong (https://github.com/chinesedfan)", |
| "Remco Haszing (https://github.com/remcohaszing)", |
| "Willian Agostini (https://github.com/WillianAgostini)", |
| "Rikki Gibson (https://github.com/RikkiGibson)", |
| "Ben Carp (https://github.com/carpben)" |
| ], |
| "sideEffects": false, |
| "license": "MIT", |
| "bugs": { |
| "url": "https://github.com/axios/axios/issues" |
| }, |
| "homepage": "https://axios-http.com", |
| "scripts": { |
| "build": "gulp clear && cross-env NODE_ENV=production rollup -c -m", |
| "version": "npm run build && git add package.json", |
| "preversion": "gulp version", |
| "test": "npm run test:vitest", |
| "test:vitest": "vitest run", |
| "test:vitest:unit": "vitest run --project unit", |
| "test:vitest:browser": "vitest run --project browser", |
| "test:vitest:browser:headless": "vitest run --project browser-headless", |
| "test:vitest:watch": "vitest", |
| "test:smoke:cjs:vitest": "npm --prefix tests/smoke/cjs run test:smoke:cjs:mocha", |
| "test:smoke:esm:vitest": "npm --prefix tests/smoke/esm run test:smoke:esm:vitest", |
| "test:smoke:deno": "deno task --cwd tests/smoke/deno test", |
| "test:smoke:bun": "bun test --cwd tests/smoke/bun", |
| "test:module:cjs": "npm --prefix tests/module/cjs run test:module:cjs", |
| "test:module:esm": "npm --prefix tests/module/esm run test:module:esm", |
| "docs:dev": "cd docs && npm run docs:dev", |
| "start": "node ./sandbox/server.js", |
| "examples": "node ./examples/server.js", |
| "lint": "eslint lib/**/*.js", |
| "fix": "eslint --fix lib/**/*.js", |
| "prepare": "husky" |
| }, |
| "dependencies": { |
| "follow-redirects": "^1.15.11", |
| "form-data": "^4.0.5", |
| "proxy-from-env": "^2.1.0" |
| }, |
| "devDependencies": { |
| "@babel/core": "^7.29.0", |
| "@babel/preset-env": "^7.29.0", |
| "@commitlint/cli": "^20.4.4", |
| "@commitlint/config-conventional": "^20.4.4", |
| "@eslint/js": "^10.0.1", |
| "@rollup/plugin-alias": "^6.0.0", |
| "@rollup/plugin-babel": "^7.0.0", |
| "@rollup/plugin-commonjs": "^29.0.2", |
| "@rollup/plugin-json": "^6.1.0", |
| "@rollup/plugin-node-resolve": "^16.0.3", |
| "@rollup/plugin-terser": "^1.0.0", |
| "@vitest/browser": "^4.1.1", |
| "@vitest/browser-playwright": "^4.1.1", |
| "abortcontroller-polyfill": "^1.7.8", |
| "auto-changelog": "^2.5.0", |
| "body-parser": "^2.2.2", |
| "chalk": "^5.6.2", |
| "cross-env": "^10.1.0", |
| "dev-null": "^0.1.1", |
| "eslint": "^10.1.0", |
| "express": "^5.2.1", |
| "formdata-node": "^6.0.3", |
| "formidable": "^3.2.4", |
| "fs-extra": "^11.3.4", |
| "get-stream": "^9.0.1", |
| "globals": "^17.4.0", |
| "gulp": "^5.0.1", |
| "handlebars": "^4.7.8", |
| "husky": "^9.1.7", |
| "lint-staged": "^16.4.0", |
| "memoizee": "^0.4.17", |
| "minimist": "^1.2.8", |
| "multer": "^2.1.1", |
| "pacote": "^21.5.0", |
| "playwright": "^1.58.2", |
| "prettier": "^3.8.1", |
| "pretty-bytes": "^7.1.0", |
| "rollup": "^4.60.0", |
| "rollup-plugin-bundle-size": "^1.0.3", |
| "selfsigned": "^5.5.0", |
| "stream-throttle": "^0.1.3", |
| "string-replace-async": "^3.0.2", |
| "tar-stream": "^3.1.8", |
| "typescript": "^5.9.3", |
| "vitest": "^4.1.1" |
| }, |
| "commitlint": { |
| "rules": { |
| "header-max-length": [ |
| 2, |
| "always", |
| 130 |
| ] |
| }, |
| "extends": [ |
| "@commitlint/config-conventional" |
| ] |
| }, |
| "lint-staged": { |
| "*.{js,cjs,mjs,ts,json,md,yml,yaml}": "prettier --write" |
| } |
| } |