UNPKG

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