UNPKG

2.4 kBJSONView Raw
1{
2 "name": "ky",
3 "version": "0.31.0",
4 "description": "Tiny and elegant HTTP client based on the browser Fetch API",
5 "license": "MIT",
6 "repository": "sindresorhus/ky",
7 "funding": "https://github.com/sindresorhus/ky?sponsor=1",
8 "author": {
9 "name": "Sindre Sorhus",
10 "email": "sindresorhus@gmail.com",
11 "url": "https://sindresorhus.com"
12 },
13 "type": "module",
14 "main": "./distribution/index.js",
15 "exports": "./distribution/index.js",
16 "types": "./distribution/index.d.ts",
17 "engines": {
18 "node": ">=14.16"
19 },
20 "scripts": {
21 "test": "xo && npm run build && ava",
22 "debug": "PWDEBUG=1 ava --timeout=2m",
23 "release": "np",
24 "build": "del-cli distribution && tsc --project tsconfig.dist.json",
25 "prepare": "npm run build"
26 },
27 "files": [
28 "distribution"
29 ],
30 "keywords": [
31 "fetch",
32 "request",
33 "requests",
34 "http",
35 "https",
36 "fetching",
37 "get",
38 "url",
39 "curl",
40 "wget",
41 "net",
42 "network",
43 "ajax",
44 "api",
45 "rest",
46 "xhr",
47 "browser",
48 "got",
49 "axios",
50 "node-fetch"
51 ],
52 "devDependencies": {
53 "@sindresorhus/tsconfig": "^3.0.1",
54 "@type-challenges/utils": "^0.1.1",
55 "@types/body-parser": "^1.19.2",
56 "@types/busboy": "^0.3.1",
57 "@types/express": "^4.17.13",
58 "@types/node-fetch": "^2.6.2",
59 "@types/pify": "^5.0.1",
60 "abort-controller": "^3.0.0",
61 "ava": "4.3.0",
62 "body-parser": "^1.20.0",
63 "busboy": "^0.3.1",
64 "del-cli": "^4.0.1",
65 "delay": "^5.0.0",
66 "express": "^4.18.1",
67 "form-data": "^4.0.0",
68 "node-fetch": "^2.6.1",
69 "pify": "^6.0.0",
70 "playwright-chromium": "^1.22.2",
71 "raw-body": "^2.5.1",
72 "ts-node": "^10.8.1",
73 "typescript": "~4.7.4",
74 "xo": "^0.50.0",
75 "expect-type": "^0.13.0"
76 },
77 "sideEffects": false,
78 "xo": {
79 "envs": [
80 "browser"
81 ],
82 "globals": [
83 "globalThis"
84 ],
85 "rules": {
86 "unicorn/filename-case": "off",
87 "@typescript-eslint/ban-ts-comment": "off",
88 "@typescript-eslint/no-unsafe-argument": "off",
89 "@typescript-eslint/no-unsafe-assignment": "off",
90 "@typescript-eslint/no-unsafe-return": "off",
91 "@typescript-eslint/no-unsafe-call": "off",
92 "@typescript-eslint/naming-convention": "off"
93 }
94 },
95 "ava": {
96 "require": [
97 "./test/_require.ts"
98 ],
99 "extensions": {
100 "ts": "module"
101 },
102 "nodeArguments": [
103 "--loader=ts-node/esm"
104 ]
105 },
106 "nyc": {
107 "reporter": [
108 "text",
109 "html",
110 "lcov"
111 ],
112 "extension": [
113 ".ts"
114 ],
115 "exclude": [
116 "**/test/**"
117 ]
118 }
119}