Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
123 lines (123 loc) · 3.94 KB
/
Copy pathpackage.json
File metadata and controls
123 lines (123 loc) · 3.94 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
{
"name": "sync-request-curl",
"type": "module",
"imports": {
"#/*": "./src/*.ts",
"#scripts/*": "./scripts/*.ts",
"#tests/*": "./tests/*.ts",
"#typedoc/*": "./typedoc/*.ts"
},
"repository": {
"type": "git",
"url": "https://github.com/nktnet1/sync-request-curl"
},
"version": "5.2.1",
"files": [
"dist",
"native/src",
"native/Cargo.toml",
"native/Cargo.lock",
"native/build.rs",
"native/build.mjs",
"native/README.md",
"rust-toolchain.toml"
],
"bin": {
"sync-request-curl-build": "./native/build.mjs"
},
"scripts": {
"bootstrap:native": "node scripts/bootstrap-native-packages.ts",
"build": "tsdown && pnpm build:source-tools && pnpm build:worker",
"build:linux:gnu": "node scripts/linux-prebuild.ts --libc=gnu --mode=build",
"build:linux:musl": "node scripts/linux-prebuild.ts --libc=musl --mode=build",
"build:native": "node scripts/build-native.ts",
"build:source-tools": "tsdown --config tsdown.source-build.config.ts",
"build:worker": "tsdown --config tsdown.worker.config.ts",
"check": "biome check",
"dev": "tsx watch --include ./tests/app ./tests/app/server.ts",
"docs:check": "node typedoc/generate.ts --check",
"docs:gen": "node typedoc/generate.ts",
"format": "biome format",
"lint": "biome lint",
"prepack": "pnpm build",
"prepare:release-packages": "node scripts/prepare-release-packages.ts",
"prepublishOnly": "node scripts/prevent-direct-publish.ts",
"publish:release-packages": "node scripts/publish-release-packages.ts",
"release:beta": "node scripts/release-beta.ts",
"smoke:release-registry": "node scripts/smoke-release-registry.ts",
"stage:native": "node scripts/stage-native.ts",
"start": "tsx tests/app/server",
"tc": "pnpm build:worker && node scripts/build-native.ts --if-needed && vitest run --coverage",
"test": "pnpm build:worker && node scripts/build-native.ts --if-needed && vitest run",
"test:apple-sectrust:e2e": "pnpm build && node scripts/build-native.ts --if-needed && node tests/build/apple-sectrust.e2e.ts",
"test:docs": "vitest run --config vitest.docs.config.ts",
"test:entrypoints": "tsdown && node --test tests/build/entrypoints.smoke.ts",
"test:linux:musl": "node scripts/linux-prebuild.ts --libc=musl --mode=test",
"test:source-build": "pnpm build:source-tools && node --test tests/build/*.check.mjs",
"test:verdaccio": "node scripts/test-verdaccio.ts",
"typecheck": "tsc --noEmit",
"verify:prebuilds": "node scripts/verify-prebuilds.ts"
},
"keywords": [
"sync",
"sync-request",
"synchronous",
"request",
"fast",
"quick",
"speed",
"performance",
"http",
"https",
"curl",
"libcurl",
"then-request",
"http-basic",
"comp1531"
],
"author": "Khiet Tam Nguyen",
"license": "MIT",
"description": "A high-performance Node.js alternative to sync-request for making synchronous web requests.",
"dependencies": {
"valibot": "^1.5.0"
},
"devDependencies": {
"@biomejs/biome": "2.5.15",
"@hono/node-server": "^2.1.5",
"@types/node": "^26.6.5",
"@vitest/coverage-v8": "5.0.5",
"hono": "^4.13.13",
"lefthook": "2.2.2",
"tsdown": "^0.23.1",
"tsx": "^4.23.15",
"typedoc": "^0.28.20",
"typedoc-plugin-markdown": "^4.14.1",
"typedoc-plugin-no-inherit": "^1.6.1",
"typedoc-plugin-valibot": "^1.0.2",
"typescript": "^6.0.3",
"vitest": "^5.0.5"
},
"packageManager": "pnpm@12.14.0",
"main": "./dist/index.cjs",
"module": "./dist/index-esm.mjs",
"types": "./dist/index.d.cts",
"engines": {
"node": ">=16.17.0"
},
"browserslist": [
"node >= 16.17.0"
],
"exports": {
".": {
"import": {
"types": "./dist/index-esm.d.mts",
"default": "./dist/index-esm.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./package.json": "./package.json"
}
}