133 lines
2.6 KiB
JSON
133 lines
2.6 KiB
JSON
{
|
|
"name": "got",
|
|
"version": "10.7.0",
|
|
"description": "Human-friendly and powerful HTTP request library for Node.js",
|
|
"license": "MIT",
|
|
"repository": "sindresorhus/got",
|
|
"funding": "https://github.com/sindresorhus/got?sponsor=1",
|
|
"main": "dist/source",
|
|
"engines": {
|
|
"node": ">=10"
|
|
},
|
|
"scripts": {
|
|
"test": "xo && tsc --noEmit && nyc ava",
|
|
"release": "np",
|
|
"build": "del-cli dist && tsc",
|
|
"prepare": "npm run build"
|
|
},
|
|
"files": [
|
|
"dist/source"
|
|
],
|
|
"keywords": [
|
|
"http",
|
|
"https",
|
|
"http2",
|
|
"get",
|
|
"got",
|
|
"url",
|
|
"uri",
|
|
"request",
|
|
"simple",
|
|
"curl",
|
|
"wget",
|
|
"fetch",
|
|
"net",
|
|
"network",
|
|
"electron",
|
|
"brotli",
|
|
"requests",
|
|
"human-friendly",
|
|
"axios",
|
|
"superagent"
|
|
],
|
|
"dependencies": {
|
|
"@sindresorhus/is": "^2.0.0",
|
|
"@szmarczak/http-timer": "^4.0.0",
|
|
"@types/cacheable-request": "^6.0.1",
|
|
"cacheable-lookup": "^2.0.0",
|
|
"cacheable-request": "^7.0.1",
|
|
"decompress-response": "^5.0.0",
|
|
"duplexer3": "^0.1.4",
|
|
"get-stream": "^5.0.0",
|
|
"lowercase-keys": "^2.0.0",
|
|
"mimic-response": "^2.1.0",
|
|
"p-cancelable": "^2.0.0",
|
|
"p-event": "^4.0.0",
|
|
"responselike": "^2.0.0",
|
|
"to-readable-stream": "^2.0.0",
|
|
"type-fest": "^0.10.0"
|
|
},
|
|
"devDependencies": {
|
|
"@ava/typescript": "^1.1.1",
|
|
"@sindresorhus/tsconfig": "^0.7.0",
|
|
"@types/duplexer3": "^0.1.0",
|
|
"@types/express": "^4.17.2",
|
|
"@types/lolex": "^5.1.0",
|
|
"@types/node": "13.1.2",
|
|
"@types/proxyquire": "^1.3.28",
|
|
"@types/sinon": "^7.0.13",
|
|
"@types/tough-cookie": "^2.3.5",
|
|
"@typescript-eslint/eslint-plugin": "^2.19.2",
|
|
"@typescript-eslint/parser": "^2.19.2",
|
|
"ava": "^3.3.0",
|
|
"coveralls": "^3.0.4",
|
|
"create-test-server": "^3.0.1",
|
|
"del-cli": "^3.0.0",
|
|
"delay": "^4.3.0",
|
|
"eslint-config-xo-typescript": "^0.26.0",
|
|
"express": "^4.17.1",
|
|
"form-data": "^3.0.0",
|
|
"get-port": "^5.0.0",
|
|
"keyv": "^4.0.0",
|
|
"lolex": "^6.0.0",
|
|
"nock": "^12.0.0",
|
|
"np": "^6.0.0",
|
|
"nyc": "^15.0.0",
|
|
"proxyquire": "^2.0.1",
|
|
"sinon": "^8.1.1",
|
|
"slow-stream": "0.0.4",
|
|
"tempy": "^0.4.0",
|
|
"tough-cookie": "^3.0.0",
|
|
"typescript": "3.7.5",
|
|
"xo": "^0.26.0"
|
|
},
|
|
"types": "dist/source",
|
|
"sideEffects": false,
|
|
"browser": {
|
|
"electron": false
|
|
},
|
|
"ava": {
|
|
"files": [
|
|
"test/*"
|
|
],
|
|
"timeout": "1m",
|
|
"typescript": {
|
|
"rewritePaths": {
|
|
"test/": "dist/test/"
|
|
}
|
|
}
|
|
},
|
|
"nyc": {
|
|
"extension": [
|
|
".ts"
|
|
],
|
|
"exclude": [
|
|
"**/test/**"
|
|
]
|
|
},
|
|
"xo": {
|
|
"extends": "xo-typescript",
|
|
"extensions": [
|
|
"ts"
|
|
],
|
|
"ignores": [
|
|
"documentation/examples/*"
|
|
],
|
|
"rules": {
|
|
"@typescript-eslint/no-empty-function": "off",
|
|
"node/prefer-global/url": "off",
|
|
"node/prefer-global/url-search-params": "off"
|
|
}
|
|
}
|
|
}
|