UNPKG

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