forked from JCMais/node-libcurl
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
118 lines (118 loc) · 4.41 KB
/
package.json
File metadata and controls
118 lines (118 loc) · 4.41 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
{
"name": "@getinsomnia/node-libcurl",
"version": "3.2.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/Kong/node-libcurl",
"bugs": {
"url": "https://github.com/Kong/node-libcurl/issues"
},
"repository": {
"type": "git",
"url": "git://github.com/Kong/node-libcurl.git"
},
"license": "MIT",
"author": "Jonathan Cardoso <me@jonathancardoso.com>",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"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/Kong/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": "npm run clean:build && npm run clean:dist",
"clean:build": "rimraf build",
"clean:dist": "rimraf dist tsconfig.tsbuildinfo",
"gen:compile_commands:debug": "npm run pregyp -- configure --debug -- --format=\"gyp.generator.compile_commands_json.py\"",
"gen:compile_commands:release": "npm run pregyp -- configure --release -- --format=\"gyp.generator.compile_commands_json.py\"",
"gen:constants": "node scripts/build-constants.js",
"preinstall": "node scripts/nan-patch.js",
"install": "node-pre-gyp install --fallback-to-build",
"postinstall": "node scripts/postinstall",
"lint": "eslint lib/ scripts/ test/ examples/",
"pregyp": "node-pre-gyp",
"prettier": "prettier --write .",
"prettier:all": "npm run prettier lib/**/*.ts tools/**/*.js scripts/**/*.js test/**/*.ts examples/**/*.js",
"test": "mocha --require ts-node/register test/**/*.spec.ts --reporter spec --timeout 60000",
"test:coverage": "nyc npm run test",
"test:debug:gdb": "gdb --args node ./node_modules/.bin/mocha -r ts-node/register test/curl/hsts.spec.ts",
"test:electron": "electron-mocha --require ts-node/register test/**/*.spec.ts --reporter spec --timeout 60000",
"test:watch": "npm run test --watch --watch-files lib/*.ts lib/**/*.ts test/**/*.spec.ts",
"type-check": "tsc --noEmit --project tsconfig.json",
"preversion": "npm run lint && npm run clean:dist && npm run build:dist"
},
"dependencies": {
"@mapbox/node-pre-gyp": "2.0.3",
"env-paths": "2.2.0",
"nan": "2.26.2",
"node-gyp": "12.2.0",
"rimraf": "^3.0.2",
"tslib": "2.0.1",
"consola": "^3.2.3"
},
"devDependencies": {
"@microsoft/api-documenter": "^7.29.7",
"@microsoft/api-extractor": "^7.57.7",
"@types/body-parser": "^1.19.0",
"@types/cookie-parser": "^1.4.2",
"@types/express": "4.17.4",
"@types/formidable": "^1.0.31",
"@types/http-errors": "^2.0.0",
"@types/mocha": "^7.0.2",
"@types/node": "^14.11.8",
"@types/should": "^13.0.0",
"@typescript-eslint/eslint-plugin": "^4.4.1",
"@typescript-eslint/parser": "^4.4.1",
"body-parser": "^1.20.2",
"cheerio": "^1.0.0-rc.3",
"clang-format": "^1.4.0",
"cookie-parser": "^1.4.6",
"electron-mocha": "jackkav/electron-mocha#fix/windows-spawn-einval",
"eslint": "^7.11.0",
"eslint-config-prettier": "^6.12.0",
"eslint-formatter-friendly": "^7.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.1.4",
"express": "^4.19.2",
"formidable": "^1.2.2",
"http-auth": "^4.1.2",
"http-auth-connect": "^1.0.4",
"mocha": "^7.1.1",
"nyc": "^15.1.0",
"octonode": "^0.10.2",
"prettier": "^2.1.2",
"progress": "^2.0.3",
"should": "^13.2.3",
"sort-package-json": "^1.46.0",
"ts-node": "^10.9.2",
"typescript": "^4.0.3"
},
"overrides": {
"tar": "7.5.11",
"validator": "^13.15.21",
"serialize-javascript": "^7.0.3",
"glob": "13.0.6",
"tough-cookie": "4.1.3",
"flatted": "3.4.2",
"qs": "6.14.2",
"form-data": "2.5.5"
},
"engines": {
"node": ">= 24.14.0"
}
}