1 | {
|
2 | "name": "superagent",
|
3 | "description": "elegant & feature rich browser / node HTTP with a fluent API",
|
4 | "version": "8.0.3",
|
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.6.0",
|
30 | "qs": "^6.11.0",
|
31 | "semver": "^7.3.8"
|
32 | },
|
33 | "devDependencies": {
|
34 | "@babel/cli": "^7.19.3",
|
35 | "@babel/core": "^7.19.6",
|
36 | "@babel/plugin-transform-runtime": "^7.19.6",
|
37 | "@babel/preset-env": "^7.19.4",
|
38 | "@babel/runtime": "^7.19.4",
|
39 | "@commitlint/cli": "17",
|
40 | "@commitlint/config-conventional": "17",
|
41 | "Base64": "^1.1.0",
|
42 | "babelify": "^10.0.0",
|
43 | "basic-auth-connect": "^1.0.0",
|
44 | "body-parser": "^1.20.1",
|
45 | "browserify": "^17.0.0",
|
46 | "cookie-parser": "^1.4.6",
|
47 | "cross-env": "^7.0.3",
|
48 | "eslint": "^8.26.0",
|
49 | "eslint-config-xo-lass": "2",
|
50 | "eslint-plugin-compat": "^4.0.2",
|
51 | "eslint-plugin-node": "^11.1.0",
|
52 | "express": "^4.18.2",
|
53 | "express-session": "^1.17.3",
|
54 | "fixpack": "^4.0.0",
|
55 | "get-port": "4.2.0",
|
56 | "husky": "7",
|
57 | "lint-staged": "12",
|
58 | "marked": "^4.1.1",
|
59 | "mocha": "^10.1.0",
|
60 | "multer": "1.4.5-lts.1",
|
61 | "nyc": "^15.1.0",
|
62 | "remark-cli": "^11.0.0",
|
63 | "remark-preset-github": "4.0.4",
|
64 | "rimraf": "^3.0.2",
|
65 | "should": "^13.2.3",
|
66 | "should-http": "^0.1.1",
|
67 | "tinyify": "3.0.0",
|
68 | "xo": "^0.52.4",
|
69 | "zuul": "^3.12.0"
|
70 | },
|
71 | "engines": {
|
72 | "node": ">=6.4.0 <13 || >=14"
|
73 | },
|
74 | "files": [
|
75 | "dist/*.js",
|
76 | "lib/**/*.js"
|
77 | ],
|
78 | "homepage": "https://github.com/visionmedia/superagent",
|
79 | "jsdelivr": "dist/superagent.min.js",
|
80 | "keywords": [
|
81 | "agent",
|
82 | "ajax",
|
83 | "ajax",
|
84 | "api",
|
85 | "async",
|
86 | "await",
|
87 | "axios",
|
88 | "cancel",
|
89 | "client",
|
90 | "frisbee",
|
91 | "got",
|
92 | "http",
|
93 | "http",
|
94 | "https",
|
95 | "ky",
|
96 | "promise",
|
97 | "promise",
|
98 | "promises",
|
99 | "request",
|
100 | "request",
|
101 | "requests",
|
102 | "response",
|
103 | "rest",
|
104 | "retry",
|
105 | "super",
|
106 | "superagent",
|
107 | "timeout",
|
108 | "transform",
|
109 | "xhr",
|
110 | "xmlhttprequest"
|
111 | ],
|
112 | "license": "MIT",
|
113 | "main": "lib/node/index.js",
|
114 | "repository": {
|
115 | "type": "git",
|
116 | "url": "git://github.com/visionmedia/superagent.git"
|
117 | },
|
118 | "scripts": {
|
119 | "browserify": "browserify src/node/index.js -o dist/superagent.js -s superagent -g [ babelify --configFile ./.dist.babelrc ]",
|
120 | "build": "npm run build:clean && npm run build:lib && npm run build:dist",
|
121 | "build:clean": "rimraf lib dist",
|
122 | "build:dist": "npm run browserify && npm run minify",
|
123 | "build:lib": "babel --config-file ./.lib.babelrc src --out-dir lib",
|
124 | "build:test": "babel --config-file ./.test.babelrc test --out-dir lib/node/test",
|
125 | "coverage": "nyc report --reporter=text-lcov > coverage.lcov",
|
126 | "lint": "eslint -c .eslintrc src test && remark . -qfo && eslint -c .lib.eslintrc lib/**/*.js && eslint -c .dist.eslintrc dist/**/*.js",
|
127 | "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",
|
128 | "nyc": "cross-env NODE_ENV=test nyc ava",
|
129 | "prepare": "husky install",
|
130 | "test": "npm run build && npm run lint && make test",
|
131 | "test-http2": "npm run build && npm run lint && make test-node-http2"
|
132 | },
|
133 | "unpkg": "dist/superagent.min.js"
|
134 | }
|