forked from bugfix2020/request-middleware
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 1.85 KB
/
package.json
File metadata and controls
81 lines (81 loc) · 1.85 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
{
"name": "@bugfix2019/request-middleware",
"version": "0.0.1",
"description": "A powerful request middleware library with context support. Supports axios, xhr, and fetch.",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./engine": {
"types": "./dist/engine/index.d.ts",
"import": "./dist/engine/index.mjs",
"require": "./dist/engine/index.js"
},
"./adapters": {
"types": "./dist/adapters/index.d.ts",
"import": "./dist/adapters/index.mjs",
"require": "./dist/adapters/index.js"
},
"./client": {
"types": "./dist/client/index.d.ts",
"import": "./dist/client/index.mjs",
"require": "./dist/client/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"test": "vitest",
"test:run": "vitest --run",
"test:coverage": "vitest --coverage",
"lint": "eslint src --ext .ts",
"prepublishOnly": "pnpm run build"
},
"keywords": [
"request",
"middleware",
"axios",
"fetch",
"xhr",
"interceptor",
"http",
"context"
],
"author": "bugfix2019",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/bugfix2020/request-middleware"
},
"peerDependencies": {
"axios": ">=0.21.0"
},
"peerDependenciesMeta": {
"axios": {
"optional": true
}
},
"devDependencies": {
"@types/node": "^20.10.0",
"@vitest/coverage-v8": "^1.6.1",
"axios": "^1.6.0",
"jsdom": "^27.2.0",
"tsup": "^8.0.0",
"typescript": "^5.3.0",
"vitest": "^1.0.0"
},
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@microsoft/fetch-event-source": "^2.0.1"
}
}