-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
56 lines (56 loc) · 1.42 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
{
"name": "node-fetch-native",
"version": "1.0.1",
"description": "A better redistribution of `node-fetch`",
"repository": "unjs/node-fetch-native",
"license": "MIT",
"type": "module",
"exports": {
".": {
"node": {
"require": "./lib/index.cjs",
"import": "./dist/index.mjs",
"types": "./lib/index.d.ts"
},
"import": "./dist/native.mjs",
"types": "./lib/index.d.ts"
},
"./polyfill": {
"node": {
"require": "./dist/polyfill.cjs",
"import": "./dist/polyfill.mjs"
},
"import": "./lib/empty.mjs"
},
"./src/index.js": {
"import": "./dist/index.mjs",
"types": "./lib/index.d.ts"
}
},
"main": "./lib/index.cjs",
"module": "./dist/index.mjs",
"types": "./lib/index.d.ts",
"files": [
"dist",
"lib"
],
"scripts": {
"build": "unbuild",
"lint": "eslint --ext .ts,.js,.mjs,.cjs .",
"prepack": "unbuild",
"release": "pnpm test && standard-version && git push --follow-tags && pnpm publish",
"test": "pnpm lint && pnpm build && vitest run --coverage"
},
"devDependencies": {
"@vitest/coverage-c8": "^0.26.2",
"abort-controller": "^3.0.0",
"eslint": "^8.30.0",
"eslint-config-unjs": "^0.0.3",
"node-fetch": "^3.3.0",
"standard-version": "^9.5.0",
"typescript": "^4.9.4",
"unbuild": "^0.9.4",
"vitest": "^0.26.1"
},
"packageManager": "pnpm@7.18.2"
}