89 lines
1.4 KiB
JSON
89 lines
1.4 KiB
JSON
{
|
|
"name": "ky",
|
|
"version": "0.25.1",
|
|
"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"
|
|
},
|
|
"engines": {
|
|
"node": ">=10"
|
|
},
|
|
"scripts": {
|
|
"build": "rollup index.js --format=umd --name=ky --file=umd.js",
|
|
"prepare": "npm run build",
|
|
"test": "xo && npm run build && nyc ava && tsd"
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"index.d.ts",
|
|
"umd.js",
|
|
"umd.d.ts"
|
|
],
|
|
"keywords": [
|
|
"fetch",
|
|
"request",
|
|
"requests",
|
|
"http",
|
|
"https",
|
|
"fetching",
|
|
"get",
|
|
"url",
|
|
"curl",
|
|
"wget",
|
|
"net",
|
|
"network",
|
|
"ajax",
|
|
"api",
|
|
"rest",
|
|
"xhr",
|
|
"browser",
|
|
"got",
|
|
"axios",
|
|
"node-fetch"
|
|
],
|
|
"devDependencies": {
|
|
"abort-controller": "^3.0.0",
|
|
"ava": "^3.2.0",
|
|
"body": "^5.1.0",
|
|
"busboy": "^0.3.1",
|
|
"create-test-server": "2.1.1",
|
|
"delay": "^4.1.0",
|
|
"esm": "^3.2.22",
|
|
"form-data": "^3.0.0",
|
|
"node-fetch": "^2.5.0",
|
|
"nyc": "^15.0.0",
|
|
"puppeteer": "^5.1.0",
|
|
"rollup": "^2.10.2",
|
|
"tsd": "^0.13.1",
|
|
"xo": "^0.25.3"
|
|
},
|
|
"sideEffects": false,
|
|
"xo": {
|
|
"envs": [
|
|
"browser"
|
|
],
|
|
"globals": [
|
|
"globalThis"
|
|
]
|
|
},
|
|
"ava": {
|
|
"require": [
|
|
"esm",
|
|
"./test/_require"
|
|
]
|
|
},
|
|
"tsd": {
|
|
"compilerOptions": {
|
|
"lib": [
|
|
"es2018",
|
|
"dom"
|
|
]
|
|
}
|
|
}
|
|
}
|