mirror of
https://gitee.com/dgflash/oops-framework.git
synced 2026-05-11 19:21:18 +08:00
119 lines
2.3 KiB
JSON
119 lines
2.3 KiB
JSON
{
|
|
"name": "ky",
|
|
"version": "0.30.0",
|
|
"description": "Tiny and elegant HTTP client based on the browser 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",
|
|
"main": "./distribution/index.js",
|
|
"exports": "./distribution/index.js",
|
|
"types": "./distribution/index.d.ts",
|
|
"engines": {
|
|
"node": ">=12"
|
|
},
|
|
"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": "^2.0.0",
|
|
"@type-challenges/utils": "^0.1.1",
|
|
"@types/body-parser": "^1.19.1",
|
|
"@types/busboy": "^0.3.1",
|
|
"@types/express": "^4.17.13",
|
|
"@types/node-fetch": "^2.5.10",
|
|
"@types/pify": "^5.0.1",
|
|
"abort-controller": "^3.0.0",
|
|
"ava": "4.0.0-alpha.2",
|
|
"body-parser": "^1.19.0",
|
|
"busboy": "^0.3.1",
|
|
"del-cli": "^4.0.1",
|
|
"delay": "^5.0.0",
|
|
"express": "^4.17.1",
|
|
"form-data": "^4.0.0",
|
|
"node-fetch": "^2.6.1",
|
|
"pify": "^5.0.0",
|
|
"playwright-chromium": "^1.19.2",
|
|
"raw-body": "^2.5.1",
|
|
"ts-node": "^10.6.0",
|
|
"typescript": "~4.6.2",
|
|
"xo": "^0.48.0"
|
|
},
|
|
"sideEffects": false,
|
|
"xo": {
|
|
"envs": [
|
|
"browser"
|
|
],
|
|
"globals": [
|
|
"globalThis"
|
|
],
|
|
"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"
|
|
}
|
|
},
|
|
"ava": {
|
|
"require": [
|
|
"./test/_require.ts"
|
|
],
|
|
"extensions": {
|
|
"ts": "module"
|
|
},
|
|
"nodeArguments": [
|
|
"--loader=ts-node/esm"
|
|
]
|
|
},
|
|
"nyc": {
|
|
"reporter": [
|
|
"text",
|
|
"html",
|
|
"lcov"
|
|
],
|
|
"extension": [
|
|
".ts"
|
|
],
|
|
"exclude": [
|
|
"**/test/**"
|
|
]
|
|
}
|
|
}
|