-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 2.82 KB
/
Copy pathpackage.json
File metadata and controls
107 lines (107 loc) · 2.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "@neabyte/fetch",
"version": "1.3.5",
"description": "HTTP client with timeout, retries, streaming, downloads, and error handling for browser and Node.js.",
"type": "module",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.esm.js"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs.js"
},
"browser": {
"types": "./dist/index.d.ts",
"default": "./dist/index.umd.js"
},
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"files": [
"dist/**/*",
"README.md",
"LICENSE"
],
"sideEffects": false,
"scripts": {
"build": "npm run clean && rollup -c",
"build:watch": "rollup -c --watch",
"dev": "rollup -c --watch",
"lint": "eslint src/**/**/**/**/**/**/*.ts examples/**/**/*.ts",
"lint:fix": "eslint src/**/**/**/**/**/**/*.ts examples/**/**/*.ts --fix",
"format": "prettier --write src/**/**/**/**/**/**/*.ts examples/**/**/*.ts",
"clean": "rm -rf dist && rm -rf .tsbuildinfo && rm -rf .rollup.cache",
"prepublishOnly": "npm run clean && npm run build",
"type-check": "tsc --noEmit",
"check-all": "npm run lint && npm run type-check",
"test:browser": "playwright test"
},
"keywords": [
"fetch",
"http",
"api",
"client",
"typescript",
"browser",
"nodejs",
"request",
"response",
"timeout",
"retry",
"streaming",
"download",
"promise",
"async",
"isomorphic",
"universal"
],
"author": {
"name": "NeaByteLab",
"email": "me@neabyte.com",
"url": "https://github.com/NeaByteLab"
},
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/NeaByteLab/Fetch.git"
},
"bugs": {
"url": "https://github.com/NeaByteLab/Fetch/issues"
},
"homepage": "https://github.com/NeaByteLab/Fetch#readme",
"devDependencies": {
"@eslint/js": "^9.36.0",
"@playwright/test": "^1.55.1",
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.4",
"@types/node": "^24.5.2",
"@typescript-eslint/eslint-plugin": "^8.44.1",
"@typescript-eslint/parser": "^8.44.1",
"docdash": "^2.0.2",
"eslint": "^9.36.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-security": "^3.0.1",
"eslint-plugin-sonarjs": "^3.0.5",
"prettier": "^3.6.2",
"rollup": "^4.52.3",
"rollup-plugin-dts": "^6.2.3",
"terser": "^5.44.0",
"tslib": "^2.8.1",
"typescript": "^5.9.2"
},
"engines": {
"node": ">=22.0.0"
},
"publishConfig": {
"access": "public"
}
}