UNPKG

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