-
Notifications
You must be signed in to change notification settings - Fork 125
Expand file tree
/
Copy pathpackage.json
More file actions
127 lines (127 loc) · 4.04 KB
/
package.json
File metadata and controls
127 lines (127 loc) · 4.04 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "urllib",
"version": "4.9.0",
"description": "Help in opening URLs (mostly HTTP) in a complex world — basic and digest authentication, redirections, timeout and more. Base undici API.",
"keywords": [
"curl",
"fetch",
"http",
"https",
"request",
"undici",
"urllib",
"urlopen",
"wget"
],
"homepage": "https://github.com/node-modules/urllib",
"license": "MIT",
"author": "fengmk2 <fengmk2@gmail.com> (https://github.com/fengmk2)",
"repository": {
"type": "git",
"url": "git://github.com/node-modules/urllib.git"
},
"files": [
"dist",
"src"
],
"type": "module",
"main": "./dist/commonjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/commonjs/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
},
"./package.json": "./package.json"
},
"publishConfig": {
"tag": "latest"
},
"scripts": {
"typecheck": "tsc --noEmit && tsgo --noEmit",
"prebuild": "vp run clean",
"build": "vp run build:ts && vp run build:version",
"build:ts": "tsc --version && tshy && tshy-after",
"build:version": "node ./scripts/replace_urllib_version.js",
"build:cjs:test": "cd test/cjs && rm -rf node_modules && npm link ../.. && node index.js",
"build:esm:test": "cd test/esm && rm -rf node_modules && npm link ../.. && node index.js",
"build:mts:test": "cd test/mts && rm -rf node_modules && npm link ../.. && tsc",
"build:test": "vp run build && vp run build:cjs:test && vp run build:esm:test && vp run build:mts:test && vp run test-tsc",
"test-tsc": "vp run test-tsc:cjs:es2021 && vp run test-tsc:cjs && vp run test-tsc:esm",
"test-tsc:cjs": "cd test/fixtures/ts && rm -rf node_modules && npm link ../../.. && vp run build",
"test-tsc:cjs:es2021": "cd test/fixtures/ts-cjs-es2021 && rm -rf node_modules && npm link ../../.. && vp run build",
"test-tsc:esm": "cd test/fixtures/ts-esm && rm -rf node_modules && npm link ../../.. && vp run build",
"test": "vp run check && vp test run --reporter=dot",
"bench": "vp test bench",
"test-keepalive": "cross-env TEST_KEEPALIVE_COUNT=50 vp test run --reporter=dot --test-timeout 180000 keep-alive-header.test.ts",
"cov": "vp test run --reporter=dot --coverage",
"ci": "vp run cov && vp run prepublishOnly && npm pack && attw --pack",
"clean": "rm -rf dist && tsc -b --clean",
"prepublishOnly": "vp run build",
"prepare": "vp config",
"check": "vp check",
"check:fix": "vp check --fix"
},
"dependencies": {
"form-data": "^4.0.5",
"formstream": "^1.5.2",
"mime-types": "^2.1.35",
"qs": "^6.15.0",
"type-fest": "^4.41.0",
"undici": "^7.24.0",
"ylru": "^2.0.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.2",
"@eggjs/tsconfig": "^2.0.0",
"@types/busboy": "^1.5.4",
"@types/mime-types": "^2.1.4",
"@types/node": "^22.19.15",
"@types/proxy": "^1.0.4",
"@types/qs": "^6.15.0",
"@types/selfsigned": "^2.1.0",
"@types/tar-stream": "^2.2.3",
"@typescript/native-preview": "7.0.0-dev.20260403.1",
"@vitest/coverage-v8": "^4.1.0",
"busboy": "^1.6.0",
"cross-env": "^10.1.0",
"iconv-lite": "^0.7.0",
"proxy": "^1.0.2",
"selfsigned": "^3.0.1",
"tar-stream": "^2.2.0",
"tshy": "^4.0.0",
"tshy-after": "^1.4.1",
"typescript": "^6.0.0",
"vite-plus": "^0.1.15",
"vitest": "npm:@voidzero-dev/vite-plus-test@^0.1.15"
},
"tshy": {
"exports": {
".": "./src/index.ts",
"./package.json": "./package.json"
}
},
"engines": {
"node": ">= 22.0.0"
},
"packageManager": "pnpm@10.33.0",
"pnpm": {
"overrides": {
"vite": "npm:@voidzero-dev/vite-plus-core@^0.1.15",
"vitest": "npm:@voidzero-dev/vite-plus-test@^0.1.15"
},
"peerDependencyRules": {
"allowAny": [
"vite",
"vitest"
]
}
}
}