package.json 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  1. {
  2. "_from": "superagent@^5.2.2",
  3. "_id": "superagent@5.3.1",
  4. "_inBundle": false,
  5. "_integrity": "sha512-wjJ/MoTid2/RuGCOFtlacyGNxN9QLMgcpYLDQlWFIhhdJ93kNscFonGvrpAHSCVjRVj++DGCglocF7Aej1KHvQ==",
  6. "_location": "/superagent",
  7. "_phantomChildren": {
  8. "ms": "2.1.2"
  9. },
  10. "_requested": {
  11. "type": "range",
  12. "registry": true,
  13. "raw": "superagent@^5.2.2",
  14. "name": "superagent",
  15. "escapedName": "superagent",
  16. "rawSpec": "^5.2.2",
  17. "saveSpec": null,
  18. "fetchSpec": "^5.2.2"
  19. },
  20. "_requiredBy": [
  21. "/@leancloud/adapters-superagent"
  22. ],
  23. "_resolved": "https://registry.npmmirror.com/superagent/-/superagent-5.3.1.tgz",
  24. "_shasum": "d62f3234d76b8138c1320e90fa83dc1850ccabf1",
  25. "_spec": "superagent@^5.2.2",
  26. "_where": "D:\\website\\Other\\score\\node_modules\\@leancloud\\adapters-superagent",
  27. "author": {
  28. "name": "TJ Holowaychuk",
  29. "email": "tj@vision-media.ca"
  30. },
  31. "browser": {
  32. "./src/node/index.js": "./src/client.js",
  33. "./lib/node/index.js": "./lib/client.js",
  34. "./test/support/server.js": "./test/support/blank.js"
  35. },
  36. "bugs": {
  37. "url": "https://github.com/visionmedia/superagent/issues"
  38. },
  39. "bundleDependencies": false,
  40. "commitlint": {
  41. "extends": [
  42. "@commitlint/config-conventional"
  43. ]
  44. },
  45. "contributors": [
  46. {
  47. "name": "Kornel Lesiński",
  48. "email": "kornel@geekhood.net"
  49. },
  50. {
  51. "name": "Peter Lyons",
  52. "email": "pete@peterlyons.com"
  53. },
  54. {
  55. "name": "Hunter Loftis",
  56. "email": "hunter@hunterloftis.com"
  57. },
  58. {
  59. "name": "Nick Baugh",
  60. "email": "niftylettuce@gmail.com"
  61. }
  62. ],
  63. "dependencies": {
  64. "component-emitter": "^1.3.0",
  65. "cookiejar": "^2.1.2",
  66. "debug": "^4.1.1",
  67. "fast-safe-stringify": "^2.0.7",
  68. "form-data": "^3.0.0",
  69. "formidable": "^1.2.2",
  70. "methods": "^1.1.2",
  71. "mime": "^2.4.6",
  72. "qs": "^6.9.4",
  73. "readable-stream": "^3.6.0",
  74. "semver": "^7.3.2"
  75. },
  76. "deprecated": "Please upgrade to v7.0.2+ of superagent. We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing. See the releases tab for more information at <https://github.com/visionmedia/superagent/releases>.",
  77. "description": "elegant & feature rich browser / node HTTP with a fluent API",
  78. "devDependencies": {
  79. "@babel/cli": "^7.10.3",
  80. "@babel/core": "^7.10.3",
  81. "@babel/preset-env": "^7.10.3",
  82. "@commitlint/cli": "^9.0.1",
  83. "@commitlint/config-conventional": "^9.0.1",
  84. "Base64": "^1.1.0",
  85. "babelify": "^10.0.0",
  86. "basic-auth-connect": "^1.0.0",
  87. "body-parser": "^1.19.0",
  88. "browserify": "^16.5.1",
  89. "codecov": "^3.7.0",
  90. "cookie-parser": "^1.4.5",
  91. "cross-env": "^7.0.2",
  92. "eslint": "^6.7.2",
  93. "eslint-config-xo-lass": "^1.0.3",
  94. "eslint-plugin-compat": "^3.8.0",
  95. "eslint-plugin-node": "^11.1.0",
  96. "express": "^4.17.1",
  97. "express-session": "^1.17.1",
  98. "fixpack": "^3.0.6",
  99. "husky": "^4.2.5",
  100. "lint-staged": "^10.2.11",
  101. "marked": "^1.1.0",
  102. "mocha": "3.5.3",
  103. "multer": "^1.4.2",
  104. "nyc": "^15.1.0",
  105. "remark-cli": "^8.0.0",
  106. "remark-preset-github": "^2.0.0",
  107. "rimraf": "^3.0.2",
  108. "should": "^13.2.3",
  109. "should-http": "^0.1.1",
  110. "tinyify": "^2.5.2",
  111. "uglify-js": "^3.10.0",
  112. "xo": "0.25.3",
  113. "zuul": "^3.12.0"
  114. },
  115. "engines": {
  116. "node": ">= 7.0.0"
  117. },
  118. "homepage": "https://github.com/visionmedia/superagent",
  119. "husky": {
  120. "hooks": {
  121. "pre-commit": "npm test",
  122. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
  123. }
  124. },
  125. "jsdelivr": "dist/superagent.min.js",
  126. "keywords": [
  127. "agent",
  128. "ajax",
  129. "ajax",
  130. "api",
  131. "async",
  132. "await",
  133. "axios",
  134. "cancel",
  135. "client",
  136. "frisbee",
  137. "got",
  138. "http",
  139. "http",
  140. "https",
  141. "ky",
  142. "promise",
  143. "promise",
  144. "promises",
  145. "request",
  146. "request",
  147. "requests",
  148. "response",
  149. "rest",
  150. "retry",
  151. "super",
  152. "superagent",
  153. "timeout",
  154. "transform",
  155. "xhr",
  156. "xmlhttprequest"
  157. ],
  158. "license": "MIT",
  159. "lint-staged": {
  160. "linters": {
  161. "*.js": [
  162. "xo --fix",
  163. "git add"
  164. ],
  165. "*.md": [
  166. "remark . -qfo",
  167. "git add"
  168. ],
  169. "package.json": [
  170. "fixpack",
  171. "git add"
  172. ]
  173. }
  174. },
  175. "main": "lib/node/index.js",
  176. "name": "superagent",
  177. "prettier": {
  178. "singleQuote": true,
  179. "bracketSpacing": true,
  180. "trailingComma": "none"
  181. },
  182. "remarkConfig": {
  183. "plugins": [
  184. "preset-github"
  185. ]
  186. },
  187. "repository": {
  188. "type": "git",
  189. "url": "git://github.com/visionmedia/superagent.git"
  190. },
  191. "scripts": {
  192. "browserify": "browserify src/node/index.js -o dist/superagent.js -s superagent -g [ babelify --configFile ./.dist.babelrc ]",
  193. "build": "npm run build:clean && npm run build:lib && npm run build:dist",
  194. "build:clean": "rimraf lib dist",
  195. "build:dist": "npm run browserify && npm run minify",
  196. "build:lib": "babel --config-file ./.lib.babelrc src --out-dir lib",
  197. "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
  198. "lint": "xo && remark . -qfo && eslint -c .lib.eslintrc lib && eslint -c .dist.eslintrc dist",
  199. "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",
  200. "nyc": "cross-env NODE_ENV=test nyc ava",
  201. "test": "npm run build && npm run lint && make test",
  202. "test-http2": "npm run build && npm run lint && make test-node-http2"
  203. },
  204. "unpkg": "dist/superagent.min.js",
  205. "version": "5.3.1",
  206. "xo": {
  207. "prettier": true,
  208. "space": true,
  209. "extends": [
  210. "xo-lass"
  211. ],
  212. "env": [
  213. "node",
  214. "browser"
  215. ],
  216. "overrides": [
  217. {
  218. "files": "test/**/*.js",
  219. "env": [
  220. "mocha"
  221. ],
  222. "rules": {
  223. "block-scoped-var": "off",
  224. "complexity": "off",
  225. "default-case": "off",
  226. "eqeqeq": "off",
  227. "func-name-matching": "off",
  228. "func-names": "off",
  229. "guard-for-in": "off",
  230. "handle-callback-err": "off",
  231. "import/no-extraneous-dependencies": "off",
  232. "import/no-unassigned-import": "off",
  233. "import/order": "off",
  234. "max-nested-callbacks": "off",
  235. "new-cap": "off",
  236. "no-eq-null": "off",
  237. "no-extend-native": "off",
  238. "no-implicit-coercion": "off",
  239. "no-multi-assign": "off",
  240. "no-negated-condition": "off",
  241. "no-prototype-builtins": "off",
  242. "no-redeclare": "off",
  243. "no-undef": "off",
  244. "no-unused-expressions": "off",
  245. "no-unused-vars": "off",
  246. "no-use-extend-native/no-use-extend-native": "off",
  247. "no-useless-escape": "off",
  248. "no-var": "off",
  249. "no-void": "off",
  250. "node/no-deprecated-api": "off",
  251. "prefer-rest-params": "off",
  252. "prefer-spread": "off",
  253. "promise/prefer-await-to-then": "off",
  254. "promise/valid-params": "off",
  255. "unicorn/filename-case": "off",
  256. "valid-jsdoc": "off"
  257. }
  258. }
  259. ],
  260. "globals": [
  261. "ActiveXObject"
  262. ]
  263. }
  264. }