-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
package.json
134 lines (134 loc) · 3.84 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "superagent",
"description": "elegant & feature rich browser / node HTTP with a fluent API",
"version": "8.0.3",
"author": "TJ Holowaychuk <[email protected]>",
"browser": {
"./src/node/index.js": "./src/client.js",
"./lib/node/index.js": "./lib/client.js",
"./test/support/server.js": "./test/support/blank.js",
"semver": false
},
"bugs": {
"url": "https://github.com/visionmedia/superagent/issues"
},
"contributors": [
"Kornel Lesiński <[email protected]>",
"Peter Lyons <[email protected]>",
"Hunter Loftis <[email protected]>",
"Nick Baugh <[email protected]>"
],
"dependencies": {
"component-emitter": "^1.3.0",
"cookiejar": "^2.1.3",
"debug": "^4.3.4",
"fast-safe-stringify": "^2.1.1",
"form-data": "^4.0.0",
"formidable": "^2.0.1",
"methods": "^1.1.2",
"mime": "2.6.0",
"qs": "^6.11.0",
"semver": "^7.3.8"
},
"devDependencies": {
"@babel/cli": "^7.19.3",
"@babel/core": "^7.19.6",
"@babel/plugin-transform-runtime": "^7.19.6",
"@babel/preset-env": "^7.19.4",
"@babel/runtime": "^7.19.4",
"@commitlint/cli": "17",
"@commitlint/config-conventional": "17",
"Base64": "^1.1.0",
"babelify": "^10.0.0",
"basic-auth-connect": "^1.0.0",
"body-parser": "^1.20.1",
"browserify": "^17.0.0",
"cookie-parser": "^1.4.6",
"cross-env": "^7.0.3",
"eslint": "^8.26.0",
"eslint-config-xo-lass": "2",
"eslint-plugin-compat": "^4.0.2",
"eslint-plugin-node": "^11.1.0",
"express": "^4.18.2",
"express-session": "^1.17.3",
"fixpack": "^4.0.0",
"get-port": "4.2.0",
"husky": "7",
"lint-staged": "12",
"marked": "^4.1.1",
"mocha": "^10.1.0",
"multer": "1.4.5-lts.1",
"nyc": "^15.1.0",
"remark-cli": "^11.0.0",
"remark-preset-github": "4.0.4",
"rimraf": "^3.0.2",
"should": "^13.2.3",
"should-http": "^0.1.1",
"tinyify": "3.0.0",
"xo": "^0.52.4",
"zuul": "^3.12.0"
},
"engines": {
"node": ">=6.4.0 <13 || >=14"
},
"files": [
"dist/*.js",
"lib/**/*.js"
],
"homepage": "https://github.com/visionmedia/superagent",
"jsdelivr": "dist/superagent.min.js",
"keywords": [
"agent",
"ajax",
"ajax",
"api",
"async",
"await",
"axios",
"cancel",
"client",
"frisbee",
"got",
"http",
"http",
"https",
"ky",
"promise",
"promise",
"promises",
"request",
"request",
"requests",
"response",
"rest",
"retry",
"super",
"superagent",
"timeout",
"transform",
"xhr",
"xmlhttprequest"
],
"license": "MIT",
"main": "lib/node/index.js",
"repository": {
"type": "git",
"url": "git://github.com/visionmedia/superagent.git"
},
"scripts": {
"browserify": "browserify src/node/index.js -o dist/superagent.js -s superagent -g [ babelify --configFile ./.dist.babelrc ]",
"build": "npm run build:clean && npm run build:lib && npm run build:dist",
"build:clean": "rimraf lib dist",
"build:dist": "npm run browserify && npm run minify",
"build:lib": "babel --config-file ./.lib.babelrc src --out-dir lib",
"build:test": "babel --config-file ./.test.babelrc test --out-dir lib/node/test",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov",
"lint": "eslint -c .eslintrc src test && remark . -qfo && eslint -c .lib.eslintrc lib/**/*.js && eslint -c .dist.eslintrc dist/**/*.js",
"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",
"nyc": "cross-env NODE_ENV=test nyc ava",
"prepare": "husky install",
"test": "npm run build && npm run lint && make test",
"test-http2": "npm run build && npm run lint && make test-node-http2"
},
"unpkg": "dist/superagent.min.js"
}