1 | {
|
2 | "name": "superagent",
|
3 | "description": "elegant & feature rich browser / node HTTP with a fluent API",
|
4 | "version": "7.1.4",
|
5 | "author": "TJ Holowaychuk <tj@vision-media.ca>",
|
6 | "browser": {
|
7 | "./src/node/index.js": "./src/client.js",
|
8 | "./lib/node/index.js": "./lib/client.js",
|
9 | "./test/support/server.js": "./test/support/blank.js",
|
10 | "semver": false
|
11 | },
|
12 | "bugs": {
|
13 | "url": "https://github.com/visionmedia/superagent/issues"
|
14 | },
|
15 | "contributors": [
|
16 | "Kornel Lesiński <kornel@geekhood.net>",
|
17 | "Peter Lyons <pete@peterlyons.com>",
|
18 | "Hunter Loftis <hunter@hunterloftis.com>",
|
19 | "Nick Baugh <niftylettuce@gmail.com>"
|
20 | ],
|
21 | "dependencies": {
|
22 | "component-emitter": "^1.3.0",
|
23 | "cookiejar": "^2.1.3",
|
24 | "debug": "^4.3.4",
|
25 | "fast-safe-stringify": "^2.1.1",
|
26 | "form-data": "^4.0.0",
|
27 | "formidable": "^2.0.1",
|
28 | "methods": "^1.1.2",
|
29 | "mime": "^2.5.0",
|
30 | "qs": "^6.10.3",
|
31 | "readable-stream": "^3.6.0",
|
32 | "semver": "^7.3.7"
|
33 | },
|
34 | "devDependencies": {
|
35 | "@babel/cli": "^7.17.10",
|
36 | "@babel/core": "^7.18.2",
|
37 | "@babel/plugin-transform-runtime": "^7.18.2",
|
38 | "@babel/preset-env": "^7.18.2",
|
39 | "@babel/runtime": "^7.18.3",
|
40 | "Base64": "^1.1.0",
|
41 | "babelify": "^10.0.0",
|
42 | "basic-auth-connect": "^1.0.0",
|
43 | "body-parser": "^1.20.0",
|
44 | "browserify": "^17.0.0",
|
45 | "codecov": "^3.8.3",
|
46 | "cookie-parser": "^1.4.6",
|
47 | "cross-env": "^7.0.3",
|
48 | "express": "^4.18.1",
|
49 | "express-session": "^1.17.3",
|
50 | "fixpack": "^4.0.0",
|
51 | "get-port": "4.2.0",
|
52 | "marked": "^2.0.0",
|
53 | "mocha": "6.2.2",
|
54 | "multer": "^1.4.4",
|
55 | "nyc": "^15.1.0",
|
56 | "rimraf": "^3.0.2",
|
57 | "should": "^13.2.3",
|
58 | "should-http": "^0.1.1",
|
59 | "tinyify": "^3.0.0",
|
60 | "zuul": "^3.12.0"
|
61 | },
|
62 | "engines": {
|
63 | "node": ">=6.4.0 <13 || >=14"
|
64 | },
|
65 | "files": [
|
66 | "dist/*.js",
|
67 | "lib/**/*.js"
|
68 | ],
|
69 | "homepage": "https://github.com/visionmedia/superagent",
|
70 | "jsdelivr": "dist/superagent.min.js",
|
71 | "keywords": [
|
72 | "agent",
|
73 | "ajax",
|
74 | "ajax",
|
75 | "api",
|
76 | "async",
|
77 | "await",
|
78 | "axios",
|
79 | "cancel",
|
80 | "client",
|
81 | "frisbee",
|
82 | "got",
|
83 | "http",
|
84 | "http",
|
85 | "https",
|
86 | "ky",
|
87 | "promise",
|
88 | "promise",
|
89 | "promises",
|
90 | "request",
|
91 | "request",
|
92 | "requests",
|
93 | "response",
|
94 | "rest",
|
95 | "retry",
|
96 | "super",
|
97 | "superagent",
|
98 | "timeout",
|
99 | "transform",
|
100 | "xhr",
|
101 | "xmlhttprequest"
|
102 | ],
|
103 | "license": "MIT",
|
104 | "main": "lib/node/index.js",
|
105 | "optionalDependencies": {
|
106 | "@commitlint/cli": "^17.0.1",
|
107 | "@commitlint/config-conventional": "^17.0.0",
|
108 | "eslint": "^8.16.0",
|
109 | "eslint-config-xo-lass": "^1.0.6",
|
110 | "eslint-plugin-compat": "^4.0.2",
|
111 | "eslint-plugin-node": "^11.1.0",
|
112 | "husky": "^8.0.1",
|
113 | "lint-staged": "^12.5.0",
|
114 | "remark-cli": "^10.0.1",
|
115 | "remark-preset-github": "^4.0.1",
|
116 | "xo": "^0.49.0"
|
117 | },
|
118 | "repository": {
|
119 | "type": "git",
|
120 | "url": "git://github.com/visionmedia/superagent.git"
|
121 | },
|
122 | "scripts": {
|
123 | "browserify": "browserify src/node/index.js -o dist/superagent.js -s superagent -g [ babelify --configFile ./.dist.babelrc ]",
|
124 | "build": "npm run build:clean && npm run build:lib && npm run build:dist",
|
125 | "build:clean": "rimraf lib dist",
|
126 | "build:dist": "npm run browserify && npm run minify",
|
127 | "build:lib": "babel --config-file ./.lib.babelrc src --out-dir lib",
|
128 | "build:test": "babel --config-file ./.test.babelrc test --out-dir lib/node/test",
|
129 | "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
|
130 | "lint": "eslint -c .eslintrc src test && remark . -qfo && eslint -c .lib.eslintrc lib/**/*.js && eslint -c .dist.eslintrc dist/**/*.js",
|
131 | "minify": "cross-env NODE_ENV=production browserify src/node/index.js -o dist/superagent.min.js -s superagent -g [ babelify --configFile ./.dist.babelrc ] -p tinyify",
|
132 | "nyc": "cross-env NODE_ENV=test nyc ava",
|
133 | "test": "npm run build && npm run lint && make test",
|
134 | "test-http2": "npm run build && npm run lint && make test-node-http2"
|
135 | },
|
136 | "unpkg": "dist/superagent.min.js"
|
137 | }
|