1 | {
|
2 | "name": "ky",
|
3 | "version": "0.28.1",
|
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 | "exports": "./distribution/index.js",
|
15 | "types": "./distribution/index.d.ts",
|
16 | "engines": {
|
17 | "node": ">=12"
|
18 | },
|
19 | "scripts": {
|
20 | "test": "xo && npm run build && ava",
|
21 | "debug": "PWDEBUG=1 ava --timeout=2m",
|
22 | "release": "np",
|
23 | "build": "del-cli distribution && tsc --project tsconfig.dist.json",
|
24 | "prepare": "npm run build"
|
25 | },
|
26 | "files": [
|
27 | "distribution"
|
28 | ],
|
29 | "keywords": [
|
30 | "fetch",
|
31 | "request",
|
32 | "requests",
|
33 | "http",
|
34 | "https",
|
35 | "fetching",
|
36 | "get",
|
37 | "url",
|
38 | "curl",
|
39 | "wget",
|
40 | "net",
|
41 | "network",
|
42 | "ajax",
|
43 | "api",
|
44 | "rest",
|
45 | "xhr",
|
46 | "browser",
|
47 | "got",
|
48 | "axios",
|
49 | "node-fetch"
|
50 | ],
|
51 | "devDependencies": {
|
52 | "@sindresorhus/tsconfig": "^1.0.1",
|
53 | "@types/body-parser": "^1.19.0",
|
54 | "@types/busboy": "^0.2.3",
|
55 | "@types/express": "^4.17.11",
|
56 | "@types/node-fetch": "^2.5.10",
|
57 | "@types/pify": "^5.0.0",
|
58 | "abort-controller": "^3.0.0",
|
59 | "ava": "^3.15.0",
|
60 | "body-parser": "^1.19.0",
|
61 | "busboy": "^0.3.1",
|
62 | "del-cli": "^3.0.1",
|
63 | "delay": "^5.0.0",
|
64 | "express": "^4.17.1",
|
65 | "form-data": "^4.0.0",
|
66 | "node-fetch": "^2.6.1",
|
67 | "pify": "^5.0.0",
|
68 | "playwright-chromium": "^1.10.0",
|
69 | "raw-body": "^2.4.1",
|
70 | "ts-node": "^9.1.1",
|
71 | "typescript": "^4.2.4",
|
72 | "xo": "^0.38.2"
|
73 | },
|
74 | "sideEffects": false,
|
75 | "xo": {
|
76 | "envs": [
|
77 | "browser"
|
78 | ],
|
79 | "globals": [
|
80 | "globalThis"
|
81 | ],
|
82 | "rules": {
|
83 | "@typescript-eslint/dot-notation": "off",
|
84 | "ava/no-import-test-files": "off",
|
85 | "unicorn/filename-case": "off"
|
86 | }
|
87 | },
|
88 | "ava": {
|
89 | "files": [
|
90 | "test/*"
|
91 | ],
|
92 | "require": [
|
93 | "./test/_require.ts"
|
94 | ],
|
95 | "nonSemVerExperiments": {
|
96 | "configurableModuleFormat": true,
|
97 | "nextGenConfig": true
|
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 | }
|