-
Notifications
You must be signed in to change notification settings - Fork 127
/
package.json
96 lines (96 loc) · 2.57 KB
/
package.json
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
{
"name": "ofetch",
"version": "1.4.1",
"description": "A better fetch API. Works on node, browser and workers.",
"repository": "unjs/ofetch",
"license": "MIT",
"sideEffects": false,
"type": "module",
"exports": {
"./package.json": "./package.json",
".": {
"browser": "./dist/index.mjs",
"bun": "./dist/index.mjs",
"deno": "./dist/index.mjs",
"edge-light": "./dist/index.mjs",
"edge-routine": "./dist/index.mjs",
"netlify": "./dist/index.mjs",
"react-native": "./dist/index.mjs",
"wintercg": "./dist/index.mjs",
"worker": "./dist/index.mjs",
"workerd": "./dist/index.mjs",
"node": {
"import": {
"types": "./dist/node.d.mts",
"default": "./dist/node.mjs"
},
"require": {
"types": "./dist/node.d.cts",
"default": "./dist/node.cjs"
}
},
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/node.d.cts",
"default": "./dist/node.cjs"
},
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"./node": {
"import": {
"types": "./dist/node.d.mts",
"default": "./dist/node.mjs"
},
"require": {
"types": "./dist/node.d.cts",
"default": "./dist/node.cjs"
}
}
},
"main": "./dist/node.cjs",
"module": "./dist/index.mjs",
"react-native": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist",
"node.d.ts"
],
"scripts": {
"build": "unbuild",
"dev": "vitest",
"lint": "eslint . && prettier -c src test playground examples",
"lint:fix": "eslint --fix . && prettier -w src test playground examples",
"prepack": "pnpm build",
"play": "jiti playground/index.ts",
"release": "pnpm test && changelogen --release && npm publish && git push --follow-tags",
"test": "pnpm lint && vitest run --coverage"
},
"dependencies": {
"destr": "^2.0.3",
"node-fetch-native": "^1.6.4",
"ufo": "^1.5.4"
},
"devDependencies": {
"@types/node": "^22.9.0",
"@vitest/coverage-v8": "^2.1.4",
"changelogen": "^0.5.7",
"eslint": "^9.14.0",
"eslint-config-unjs": "^0.4.1",
"fetch-blob": "^4.0.0",
"formdata-polyfill": "^4.0.10",
"h3": "^1.13.0",
"jiti": "^2.4.0",
"listhen": "^1.9.0",
"prettier": "^3.3.3",
"std-env": "^3.8.0",
"typescript": "^5.6.3",
"unbuild": "^2.0.0",
"undici": "^6.20.1",
"vitest": "^2.1.4"
},
"packageManager": "[email protected]"
}