Skip to content
Myr

package.json

This file

Path

package.json

112 lines · 2.2 KiB · JSON

Last changed by

Fix multipart boundary mismatch (#540)Kelvin Del Montebefore adoption0e9d7bb

History of this file

Take it

The walk stopped after 200 commits: lines older than fcffa18 point at it.

Make it possible to install Ky in Node.js 8Sindre Sorhusbefore adoptionfcffa18

lines 1–2why, one step back
1{
2 "name": "ky",

1.1.1Sindre Sorhusbefore adoptiondd713b6

line 3why, one step back
3 "version": "1.1.1",

Make it possible to install Ky in Node.js 8Sindre Sorhusbefore adoptionfcffa18

lines 4–6why, one step back
4 "description": "Tiny and elegant HTTP client based on the browser Fetch API",
5 "license": "MIT",6 "repository": "sindresorhus/ky",

Add package.json funding property (#192)Ruy Adornobefore adoption449468a

line 7why, one step back
7 "funding": "https://github.com/sindresorhus/ky?sponsor=1",

Make it possible to install Ky in Node.js 8Sindre Sorhusbefore adoptionfcffa18

lines 8–10why, one step back
8 "author": {
9 "name": "Sindre Sorhus",10 "email": "sindresorhus@gmail.com",

Meta tweaksSindre Sorhusbefore adoption588f453

line 11why, one step back
11 "url": "https://sindresorhus.com"

Make it possible to install Ky in Node.js 8Sindre Sorhusbefore adoptionfcffa18

line 12why, one step back
12 },

Make the package a module type (#313)Sindre Sorhusbefore adoptiond976029

line 13why, one step back
13 "type": "module",

Require Node.js 18Sindre Sorhusbefore adoptiona8a3a26

lines 14–17why, one step back
14 "exports": {
15 "types": "./distribution/index.d.ts",16 "default": "./distribution/index.js"17 },

Restore `main` field in package.json (#342)Olivier Louvignesbefore adoption1338996

line 18why, one step back
18 "main": "./distribution/index.js",

Move to TypeScript (#330)Olivier Louvignesbefore adoption2d8d68a

line 19why, one step back
19 "types": "./distribution/index.d.ts",

Make it possible to install Ky in Node.js 8Sindre Sorhusbefore adoptionfcffa18

line 20why, one step back
20 "engines": {

Require Node.js 18Sindre Sorhusbefore adoptiona8a3a26

line 21why, one step back
21 "node": ">=18"

Make it possible to install Ky in Node.js 8Sindre Sorhusbefore adoptionfcffa18

lines 22–23why, one step back
22 },
23 "scripts": {

Fix CISindre Sorhusbefore adoption6d9f7c8

line 24why, one step back
24 "test": "xo && npm run build && ava --timeout=10m --serial",

Move to TypeScript (#330)Olivier Louvignesbefore adoption2d8d68a

lines 25–26why, one step back
25 "debug": "PWDEBUG=1 ava --timeout=2m",
26 "release": "np",

Minor tweaksSindre Sorhusbefore adoption453846e

line 27why, one step back
27 "build": "del-cli distribution && tsc --project tsconfig.dist.json",

Move to TypeScript (#330)Olivier Louvignesbefore adoption2d8d68a

line 28why, one step back
28 "prepare": "npm run build"

Make it possible to install Ky in Node.js 8Sindre Sorhusbefore adoptionfcffa18

lines 29–30why, one step back
29 },
30 "files": [

Move to TypeScript (#330)Olivier Louvignesbefore adoption2d8d68a

line 31why, one step back
31 "distribution"

Make it possible to install Ky in Node.js 8Sindre Sorhusbefore adoptionfcffa18

lines 32–55why, one step back
32 ],
33 "keywords": [34 "fetch",35 "request",36 "requests",37 "http",38 "https",39 "fetching",40 "get",41 "url",42 "curl",43 "wget",44 "net",45 "network",46 "ajax",47 "api",48 "rest",49 "xhr",50 "browser",51 "got",52 "axios",53 "node-fetch"54 ],55 "devDependencies": {

Require Node.js 18Sindre Sorhusbefore adoptiona8a3a26

line 56why, one step back
56 "@sindresorhus/tsconfig": "^4.0.0",

Remove some `@ts-expect-error` (#339)Alex Berezinbefore adoption870a0b2

line 57why, one step back
57 "@type-challenges/utils": "^0.1.1",

Require Node.js 14Sindre Sorhusbefore adoptione557973

line 58why, one step back
58 "@types/body-parser": "^1.19.2",

Require Node.js 18Sindre Sorhusbefore adoptiona8a3a26

lines 59–66why, one step back
59 "@types/busboy": "^1.5.0",
60 "@types/express": "^4.17.17",61 "@types/node": "^20.5.7",62 "ava": "^5.3.1",63 "body-parser": "^1.20.2",64 "busboy": "^1.6.0",65 "del-cli": "^5.1.0",66 "delay": "^6.0.0",

Update dev dependeciesSindre Sorhusbefore adoption356d61c

line 67why, one step back
67 "expect-type": "^0.16.0",

Update dev dependenciesSindre Sorhusbefore adoptionb78b6ac

line 68why, one step back
68 "express": "^4.18.2",

Minor tweaksSindre Sorhusbefore adoptione0c4b33

line 69why, one step back
69 "pify": "^6.1.0",

Fix multipart boundary mismatch (#540)Kelvin Del Montebefore adoption0e9d7bb

line 70why, one step back
70 "playwright": "^1.39.0",

Require Node.js 18Sindre Sorhusbefore adoptiona8a3a26

lines 71–74why, one step back
71 "raw-body": "^2.5.2",
72 "ts-node": "^10.9.1",73 "typescript": "^5.2.2",74 "xo": "^0.56.0"

Make it possible to install Ky in Node.js 8Sindre Sorhusbefore adoptionfcffa18

line 75why, one step back
75 },

Add `"sideEffects": false` key for WebpackSindre Sorhusbefore adoptionb34276f

line 76why, one step back
76 "sideEffects": false,

Make it possible to install Ky in Node.js 8Sindre Sorhusbefore adoptionfcffa18

lines 77–80why, one step back
77 "xo": {
78 "envs": [79 "browser"80 ],

Make the package a module type (#313)Sindre Sorhusbefore adoptiond976029

line 81why, one step back
81 "rules": {

Upgrade dev dependenciesSindre Sorhusbefore adoption5dd5626

line 82why, one step back
82 "unicorn/filename-case": "off",

Rename some internal types and upgrade dev dependenciesSindre Sorhusbefore adoption2049aff

lines 83–88why, one step back
83 "@typescript-eslint/ban-ts-comment": "off",
84 "@typescript-eslint/no-unsafe-argument": "off",85 "@typescript-eslint/no-unsafe-assignment": "off",86 "@typescript-eslint/no-unsafe-return": "off",87 "@typescript-eslint/no-unsafe-call": "off",88 "@typescript-eslint/naming-convention": "off"

Make the package a module type (#313)Sindre Sorhusbefore adoptiond976029

line 89why, one step back
89 }

Make it possible to install Ky in Node.js 8Sindre Sorhusbefore adoptionfcffa18

lines 90–91why, one step back
90 },
91 "ava": {

Move to TypeScript (#330)Olivier Louvignesbefore adoption2d8d68a

lines 92–97why, one step back
92 "extensions": {
93 "ts": "module"94 },95 "nodeArguments": [96 "--loader=ts-node/esm"97 ]

Fix `tsd`Sindre Sorhusbefore adoption2462577

line 98why, one step back
98 },

Fix code coverage reportingSindre Sorhusbefore adoption3038671

lines 99–101why, one step back
99 "nyc": {
100 "reporter": [101 "text",

Move to TypeScript (#330)Olivier Louvignesbefore adoption2d8d68a

line 102why, one step back
102 "html",

Fix code coverage reportingSindre Sorhusbefore adoption3038671

line 103why, one step back
103 "lcov"

Move to TypeScript (#330)Olivier Louvignesbefore adoption2d8d68a

lines 104–109why, one step back
104 ],
105 "extension": [106 ".ts"107 ],108 "exclude": [109 "**/test/**"

Fix code coverage reportingSindre Sorhusbefore adoption3038671

line 110why, one step back
110 ]

Make it possible to install Ky in Node.js 8Sindre Sorhusbefore adoptionfcffa18

lines 111–112why, one step back
111 }
112}