-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 2.9 KB
/
package.json
File metadata and controls
93 lines (93 loc) · 2.9 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
{
"name": "nklient",
"version": "2.0.0-alpha.3",
"description": "Secure, observable HTTP client for Node.js with schema-validated config, retry logic, and fluent API",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"prebuild": "rm -rf dist",
"pretest": "npm run build",
"test": "mocha ./tests/ --timeout 15000 --reporter spec",
"test:watch": "mocha ./tests/ --timeout 15000 --reporter spec --watch",
"test:coverage": "c8 --include 'dist/**/*.js' --exclude 'node_modules/**' --reporter html --reporter text --reporter lcov --check-coverage --lines 90 --functions 85 --branches 80 mocha ./tests/ --timeout 15000",
"test:ci": "c8 --include 'dist/**/*.js' --exclude 'node_modules/**' --reporter lcov mocha ./tests/ --timeout 15000 --reporter spec",
"test:memory": "NODE_OPTIONS=\"--expose-gc --max-old-space-size=512\" mocha ./tests/memory-leaks.test.js --timeout 60000",
"test:oom": "NODE_OPTIONS=\"--expose-gc --max-old-space-size=512\" npm test",
"benchmark": "node --expose-gc scripts/benchmarks.js",
"lint": "eslint . --ext .js,.ts",
"lint:fix": "eslint . --ext .js,.ts --fix",
"format": "prettier --write \"**/*.{js,ts,json,md}\"",
"format:check": "prettier --check \"**/*.{js,ts,json,md}\"",
"prepublishOnly": "npm run build && npm run lint && npm test",
"version:patch": "npm version patch",
"version:minor": "npm version minor",
"version:major": "npm version major",
"postversion": "git push && git push --tags",
"prepare-release": "node scripts/prepare-release.js"
},
"directories": {
"test": "tests"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nitishagar/nklient.git"
},
"keywords": [
"http",
"https",
"client",
"request",
"rest",
"api",
"promise",
"async",
"cookies",
"proxy",
"retry",
"interceptors",
"stream",
"typescript",
"secure"
],
"author": "nitishagar",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/nitishagar/nklient/issues"
},
"homepage": "https://github.com/nitishagar/nklient#readme",
"dependencies": {
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"form-data": "^4.0.5",
"http-proxy-agent": "^7.0.0",
"https-proxy-agent": "^7.0.2",
"lru-cache": "^11.2.1",
"tough-cookie": "^4.1.3"
},
"devDependencies": {
"@types/node": "^20.10.5",
"@types/tough-cookie": "^4.0.5",
"c8": "^10.1.3",
"chai": "^4.3.10",
"eslint": "^8.56.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"mocha": "^10.2.0",
"nock": "^13.4.0",
"nyc": "^15.1.0",
"prettier": "^3.1.1",
"sinon": "^17.0.1",
"typescript": "^5.9.3"
},
"engines": {
"node": ">=18.0.0"
},
"files": [
"dist/",
"LICENSE",
"README.md"
]
}