-
-
Notifications
You must be signed in to change notification settings - Fork 133
Expand file tree
/
Copy pathpackage.json
More file actions
165 lines (165 loc) · 5.25 KB
/
package.json
File metadata and controls
165 lines (165 loc) · 5.25 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
{
"name": "node-libcurl",
"version": "5.0.2",
"description": "The fastest http(s) client (and much more) for Node.js - Node.js bindings for libcurl",
"keywords": [
"node-curl",
"curl",
"libcurl",
"node-libcurl",
"axios",
"request"
],
"homepage": "https://github.com/JCMais/node-libcurl",
"bugs": {
"url": "https://github.com/JCMais/node-libcurl/issues"
},
"repository": {
"type": "git",
"url": "git://github.com/JCMais/node-libcurl.git"
},
"license": "MIT",
"author": "Jonathan Cardoso <me@jonathancardoso.com>",
"type": "commonjs",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"binding.gyp",
"dist",
"scripts",
"src",
"vcpkg.template.json",
"vcpkg-configuration.json",
"overlays"
],
"binary": {
"module_name": "node_libcurl",
"module_path": "./lib/binding/",
"remote_path": "./v{version}/",
"package_name": "{module_name}-v{version}-{node_abi}-{platform}-{arch}-{libc}.tar.gz",
"host": "https://github.com/JCMais/node-libcurl/releases/download"
},
"scripts": {
"ae": "api-extractor run --local --verbose",
"brute-force-leak-test:run": "node --inspect --expose_gc -r ts-node/register ./tools/brute-force-leak-test.ts",
"brute-force-leak-test:run:debug:gdb": "gdb --args node --inspect --expose_gc -r ts-node/register ./tools/brute-force-leak-test.ts",
"brute-force-leak-test:server": "http-server ./tools/brute-force-server-static-folder -p 8080 -s",
"build:dist": "tsc",
"clean": "pnpm clean:build && pnpm clean:dist",
"clean:build": "rimraf build",
"clean:dist": "rimraf dist tsconfig.tsbuildinfo",
"gen:compile_commands": "node-pre-gyp configure -- -f compile_commands_json && cp ./build/Debug/compile_commands.json ./compile_commands.json",
"gen:constants": "node scripts/build-constants.js",
"gen:docs": "typedoc",
"preinstall": "node scripts/vcpkg-setup.js",
"install": "node-pre-gyp install --fallback-to-build",
"postinstall": "node scripts/postinstall",
"lint": "eslint lib/ scripts/ test/ examples/",
"pregyp": "node-pre-gyp",
"prepare": "husky",
"prettier": "prettier --write",
"prettier:all": "pnpm prettier lib/**/*.ts tools/**/*.js scripts/**/*.js test/**/*.ts examples/**/*.js",
"test": "vitest run --testTimeout=60000",
"test:coverage": "pnpm test -- --coverage.enabled=true",
"test:watch": "vitest --testTimeout=60000",
"preversion": "pnpm lint && pnpm clean:dist && pnpm build:dist"
},
"lint-staged": {
"*.{cpp,cc,h}": [
"clang-format -style=file -i"
],
"*.{ts,js}": [
"prettier",
"eslint --fix"
],
"package.json": [
"sort-package-json",
"prettier"
]
},
"dependencies": {
"@mapbox/node-pre-gyp": "2.0.0",
"env-paths": "2.2.0",
"node-addon-api": "8.5.0",
"node-gyp": "11.4.2",
"npmlog": "7.0.1",
"rimraf": "5.0.5",
"tslib": "2.6.2"
},
"devDependencies": {
"@commitlint/cli": "18.4.3",
"@electron/rebuild": "4.0.1",
"@eslint/eslintrc": "3.3.1",
"@eslint/js": "9.36.0",
"@microsoft/api-documenter": "7.23.12",
"@microsoft/api-extractor": "7.38.3",
"@octokit/rest": "^20.0.2",
"@types/body-parser": "1.19.5",
"@types/cookie-parser": "1.4.8",
"@types/express": "4.17.21",
"@types/formidable": "3.4.5",
"@types/node": "22.18.6",
"@vitest/coverage-v8": "3.2.4",
"cheerio": "1.0.0-rc.3",
"clang-format": "1.8.0",
"cookie-parser": "1.4.7",
"electron": "38.2.0",
"eslint": "9.36.0",
"eslint-plugin-prettier": "5.5.4",
"express": "4.21.2",
"formidable": "3.5.2",
"globals": "15.14.0",
"http-auth": "4.2.0",
"http-auth-connect": "1.0.6",
"husky": "9.1.7",
"lint-staged": "15.2.0",
"node-abi": "^3.71.0",
"np": "10.2.0",
"prettier": "3.6.2",
"progress": "2.0.3",
"semver": "7.7.2",
"sort-package-json": "3.4.0",
"tsx": "4.20.6",
"typedoc": "0.28.13",
"typedoc-plugin-ga": "^1.0.5",
"typedoc-plugin-nojekyll": "1.0.1",
"typescript": "5.9.2",
"typescript-eslint": "8.44.1",
"vitest": "3.2.4",
"ws": "8.18.3"
},
"packageManager": "pnpm@10.16.1+sha512.0e155aa2629db8672b49e8475da6226aa4bdea85fdcdfdc15350874946d4f3c91faaf64cbdc4a5d1ab8002f473d5c3fcedcd197989cf0390f9badd3c04678706",
"engines": {
"node": ">=22.14"
},
"publishConfig": {
"executableFiles": [
"scripts/arm/publish-binary.sh",
"scripts/ci/build-brotli.sh",
"scripts/ci/build-cares.sh",
"scripts/ci/build-heimdal.sh",
"scripts/ci/build-kerberos.sh",
"scripts/ci/build-libcurl.sh",
"scripts/ci/build-libiconv.sh",
"scripts/ci/build-libidn2.sh",
"scripts/ci/build-libssh2.sh",
"scripts/ci/build-libunistring.sh",
"scripts/ci/build-ncurses.sh",
"scripts/ci/build-nghttp2.sh",
"scripts/ci/build-nghttp3.sh",
"scripts/ci/build-ngtcp2.sh",
"scripts/ci/build-openldap.sh",
"scripts/ci/build-openssl.sh",
"scripts/ci/build-zlib.sh",
"scripts/ci/build-zstd.sh",
"scripts/ci/build.sh",
"scripts/ci/download-and-unpack.sh",
"scripts/ci/get-latest-libcurl-version.sh",
"scripts/ci/utils/gsort.sh",
"scripts/gyp-macos-postbuild.sh"
]
},
"np": {
"cleanup": false
}
}