114 lines
2.3 KiB
JSON
114 lines
2.3 KiB
JSON
{
|
|
"name": "ky",
|
|
"version": "1.7.2",
|
|
"description": "Tiny and elegant HTTP client based on the Fetch API",
|
|
"license": "MIT",
|
|
"repository": "sindresorhus/ky",
|
|
"funding": "https://github.com/sindresorhus/ky?sponsor=1",
|
|
"author": {
|
|
"name": "Sindre Sorhus",
|
|
"email": "sindresorhus@gmail.com",
|
|
"url": "https://sindresorhus.com"
|
|
},
|
|
"type": "module",
|
|
"exports": {
|
|
"types": "./distribution/index.d.ts",
|
|
"default": "./distribution/index.js"
|
|
},
|
|
"main": "./distribution/index.js",
|
|
"types": "./distribution/index.d.ts",
|
|
"sideEffects": false,
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"scripts": {
|
|
"test": "xo && npm run build && ava",
|
|
"debug": "PWDEBUG=1 ava --timeout=2m",
|
|
"release": "np",
|
|
"build": "del-cli distribution && tsc --project tsconfig.dist.json",
|
|
"prepare": "npm run build"
|
|
},
|
|
"files": [
|
|
"distribution"
|
|
],
|
|
"keywords": [
|
|
"fetch",
|
|
"request",
|
|
"requests",
|
|
"http",
|
|
"https",
|
|
"fetching",
|
|
"get",
|
|
"url",
|
|
"curl",
|
|
"wget",
|
|
"net",
|
|
"network",
|
|
"ajax",
|
|
"api",
|
|
"rest",
|
|
"xhr",
|
|
"browser",
|
|
"got",
|
|
"axios",
|
|
"node-fetch"
|
|
],
|
|
"devDependencies": {
|
|
"@sindresorhus/tsconfig": "^6.0.0",
|
|
"@type-challenges/utils": "^0.1.1",
|
|
"@types/body-parser": "^1.19.2",
|
|
"@types/busboy": "^1.5.0",
|
|
"@types/express": "^4.17.17",
|
|
"@types/node": "^20.14.12",
|
|
"ava": "^5.3.1",
|
|
"body-parser": "^1.20.2",
|
|
"busboy": "^1.6.0",
|
|
"del-cli": "^5.1.0",
|
|
"delay": "^6.0.0",
|
|
"expect-type": "^0.19.0",
|
|
"express": "^4.18.2",
|
|
"pify": "^6.1.0",
|
|
"playwright": "^1.45.3",
|
|
"raw-body": "^2.5.2",
|
|
"tsx": "^4.16.2",
|
|
"typescript": "^5.5.4",
|
|
"xo": "^0.58.0"
|
|
},
|
|
"xo": {
|
|
"envs": [
|
|
"browser"
|
|
],
|
|
"rules": {
|
|
"unicorn/filename-case": "off",
|
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
"@typescript-eslint/no-unsafe-argument": "off",
|
|
"@typescript-eslint/no-unsafe-assignment": "off",
|
|
"@typescript-eslint/no-unsafe-return": "off",
|
|
"@typescript-eslint/no-unsafe-call": "off",
|
|
"@typescript-eslint/naming-convention": "off",
|
|
"n/no-unsupported-features/node-builtins": "off"
|
|
}
|
|
},
|
|
"ava": {
|
|
"extensions": {
|
|
"ts": "module"
|
|
},
|
|
"nodeArguments": [
|
|
"--import=tsx/esm"
|
|
],
|
|
"workerThreads": false
|
|
},
|
|
"nyc": {
|
|
"reporter": [
|
|
"text",
|
|
"html",
|
|
"lcov"
|
|
],
|
|
"extension": [
|
|
".ts"
|
|
],
|
|
"exclude": [
|
|
"**/test/**"
|
|
]
|
|
}
|
|
}
|