UNPKG

4.77 kBJSONView Raw
1{
2 "name": "axios",
3 "version": "1.2.1",
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:exports && npm run test:dtslint",
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 "start": "node ./sandbox/server.js",
34 "preversion": "gulp version && npm test",
35 "version": "npm run build && git add dist && git add package.json",
36 "prepublishOnly": "npm test",
37 "postpublish": "git push && git push --tags",
38 "build": "gulp clear && cross-env NODE_ENV=production rollup -c -m",
39 "examples": "node ./examples/server.js",
40 "coveralls": "cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
41 "fix": "eslint --fix lib/**/*.js"
42 },
43 "repository": {
44 "type": "git",
45 "url": "https://github.com/axios/axios.git"
46 },
47 "keywords": [
48 "xhr",
49 "http",
50 "ajax",
51 "promise",
52 "node"
53 ],
54 "author": "Matt Zabriskie",
55 "license": "MIT",
56 "bugs": {
57 "url": "https://github.com/axios/axios/issues"
58 },
59 "homepage": "https://axios-http.com",
60 "devDependencies": {
61 "@babel/core": "^7.18.2",
62 "@babel/preset-env": "^7.18.2",
63 "@rollup/plugin-babel": "^5.3.1",
64 "@rollup/plugin-commonjs": "^15.1.0",
65 "@rollup/plugin-json": "^4.1.0",
66 "@rollup/plugin-multi-entry": "^4.0.0",
67 "@rollup/plugin-node-resolve": "^9.0.0",
68 "abortcontroller-polyfill": "^1.7.3",
69 "body-parser": "^1.20.0",
70 "coveralls": "^3.1.1",
71 "cross-env": "^7.0.3",
72 "dev-null": "^0.1.1",
73 "dtslint": "^4.2.1",
74 "es6-promise": "^4.2.8",
75 "eslint": "^8.17.0",
76 "express": "^4.18.1",
77 "formidable": "^2.0.1",
78 "fs-extra": "^10.1.0",
79 "get-stream": "^3.0.0",
80 "gulp": "^4.0.2",
81 "istanbul-instrumenter-loader": "^3.0.1",
82 "jasmine-core": "^2.4.1",
83 "karma": "^6.3.17",
84 "karma-chrome-launcher": "^3.1.1",
85 "karma-firefox-launcher": "^2.1.2",
86 "karma-jasmine": "^1.1.1",
87 "karma-jasmine-ajax": "^0.1.13",
88 "karma-rollup-preprocessor": "^7.0.8",
89 "karma-safari-launcher": "^1.0.0",
90 "karma-sauce-launcher": "^4.3.6",
91 "karma-sinon": "^1.0.5",
92 "karma-sourcemap-loader": "^0.3.8",
93 "minimist": "^1.2.6",
94 "mocha": "^10.0.0",
95 "multer": "^1.4.4",
96 "rollup": "^2.67.0",
97 "rollup-plugin-auto-external": "^2.0.0",
98 "rollup-plugin-bundle-size": "^1.0.3",
99 "rollup-plugin-terser": "^7.0.2",
100 "sinon": "^4.5.0",
101 "stream-throttle": "^0.1.3",
102 "terser-webpack-plugin": "^4.2.3",
103 "typescript": "^4.8.4",
104 "url-search-params": "^0.10.0"
105 },
106 "browser": {
107 "./lib/adapters/http.js": "./lib/helpers/null.js",
108 "./lib/platform/node/index.js": "./lib/platform/browser/index.js"
109 },
110 "jsdelivr": "dist/axios.min.js",
111 "unpkg": "dist/axios.min.js",
112 "typings": "./index.d.ts",
113 "dependencies": {
114 "follow-redirects": "^1.15.0",
115 "form-data": "^4.0.0",
116 "proxy-from-env": "^1.1.0"
117 },
118 "bundlesize": [
119 {
120 "path": "./dist/axios.min.js",
121 "threshold": "5kB"
122 }
123 ],
124 "contributors": [
125 "Matt Zabriskie (https://github.com/mzabriskie)",
126 "Nick Uraltsev (https://github.com/nickuraltsev)",
127 "Jay (https://github.com/jasonsaayman)",
128 "Dmitriy Mozgovoy (https://github.com/DigitalBrainJS)",
129 "Emily Morehouse (https://github.com/emilyemorehouse)",
130 "Rubén Norte (https://github.com/rubennorte)",
131 "Justin Beckwith (https://github.com/JustinBeckwith)",
132 "Martti Laine (https://github.com/codeclown)",
133 "Xianming Zhong (https://github.com/chinesedfan)",
134 "Rikki Gibson (https://github.com/RikkiGibson)",
135 "Remco Haszing (https://github.com/remcohaszing)",
136 "Yasu Flores (https://github.com/yasuf)",
137 "Ben Carp (https://github.com/carpben)",
138 "Daniel Lopretto (https://github.com/timemachine3030)"
139 ],
140 "sideEffects": false
141}
\No newline at end of file