UNPKG

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