-
Notifications
You must be signed in to change notification settings - Fork 114
/
package.json
93 lines (93 loc) · 2.73 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
{
"name": "urllib",
"version": "3.12.0",
"publishConfig": {
"tag": "latest"
},
"description": "Help in opening URLs (mostly HTTP) in a complex world — basic and digest authentication, redirections, cookies and more. Base undici fetch API.",
"keywords": [
"urllib",
"http",
"urlopen",
"curl",
"wget",
"request",
"https",
"undici",
"fetch"
],
"author": "fengmk2 <fengmk2@gmail.com> (https://github.com/fengmk2)",
"homepage": "https://github.com/node-modules/urllib",
"type": "module",
"exports": {
".": {
"import": {
"types": "./src/esm/index.d.ts",
"default": "./src/esm/index.js"
},
"require": {
"types": "./src/cjs/index.d.ts",
"default": "./src/cjs/index.js"
}
}
},
"types": "./src/esm/index.d.ts",
"main": "./src/cjs/index.js",
"files": [
"src"
],
"repository": {
"type": "git",
"url": "git://github.com/node-modules/urllib.git"
},
"scripts": {
"lint": "eslint src --ext .ts",
"build": "npm run build:dist",
"build:cjs": "tsc -p ./tsconfig.build.cjs.json",
"build:esm": "tsc -p ./tsconfig.build.esm.json && node ./scripts/esm_import_fix.js",
"build:dist": "tsc --version && npm run build:cjs && npm run build:esm",
"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:test": "npm run build && npm run build:cjs:test && npm run build:esm:test && npm run test-tsc",
"test-tsc": "tsc -p ./test/fixtures/ts/tsconfig.json",
"test": "vitest run",
"cov": "vitest run --coverage --no-threads",
"ci": "npm run lint && npm run cov && npm run build:test",
"contributor": "git-contributor",
"prepack": "npm run build && rm -rf src/*.tsbuildinfo"
},
"dependencies": {
"default-user-agent": "^1.0.0",
"digest-header": "^1.0.0",
"form-data-encoder": "^1.7.2",
"formdata-node": "^4.3.3",
"formstream": "^1.1.1",
"mime-types": "^2.1.35",
"pump": "^3.0.0",
"undici": "^5.6.0"
},
"devDependencies": {
"@types/busboy": "^1.5.0",
"@types/default-user-agent": "^1.0.0",
"@types/mime-types": "^2.1.1",
"@types/node": "^18.11.18",
"@types/pump": "^1.1.1",
"@types/selfsigned": "^2.0.1",
"@types/tar-stream": "^2.2.2",
"@vitest/coverage-c8": "^0.29.7",
"busboy": "^1.6.0",
"eslint": "^8.25.0",
"eslint-config-egg": "^12.1.0",
"git-contributor": "^2.0.0",
"iconv-lite": "^0.6.3",
"proxy": "^1.0.2",
"selfsigned": "^2.0.1",
"tar-stream": "^2.2.0",
"typescript": "^4.8.3",
"vitest": "^0.29.7"
},
"engines": {
"node": ">= 14.18.0"
},
"license": "MIT"
}