-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 3.05 KB
/
package.json
File metadata and controls
124 lines (124 loc) · 3.05 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
{
"name": "newproxy",
"version": "2.1.5",
"description": "HTTP/HTTPS Proxy server with overrides & MITM support",
"keywords": [
"http proxy",
"mitm js proxy",
"proxy lib",
"ssl proxy",
"caching http proxy"
],
"main": "dist/newproxy.js",
"module": "dist/newproxy.js",
"typings": "dist/newproxy.d.ts",
"files": [
"dist"
],
"author": "Alexander Romanov <sannysoft@gmail.com>",
"homepage": "https://github.com/sannysoft/newproxy#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/sannysoft/newproxy.git"
},
"license": "MIT",
"engines": {
"node": ">=12.0.0"
},
"scripts": {
"build": "rimraf dist && rollup -c",
"lint": "eslint --cache --ext .js,.jsx,.ts,.tsx ./src",
"prebuild": "rimraf dist",
"test": "jest --coverage",
"test:watch": "jest --coverage --watch",
"test:prod": "npm run lint && npm run test -- --no-cache",
"precommit": "lint-staged",
"update": "npx npm-check -u -E -s"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"{src,test}/**/*.ts": [
"prettier --write",
"git add"
]
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testEnvironment": "node",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 95,
"lines": 95,
"statements": 95
}
},
"collectCoverageFrom": [
"src/*.{js,ts}"
]
},
"devDependencies": {
"@rollup/plugin-typescript": "11.1.6",
"@types/debug": "^4.1.7",
"@types/jest": "29.5.12",
"@types/mkdirp": "2.0.0",
"@types/node": "20.12.7",
"@typescript-eslint/eslint-plugin": "*",
"@typescript-eslint/parser": "*",
"eslint": "*",
"eslint-config-airbnb-typescript": "*",
"eslint-config-prettier": "*",
"eslint-plugin-eslint-comments": "*",
"eslint-plugin-import": "*",
"eslint-plugin-jest": "*",
"eslint-plugin-jsx-a11y": "*",
"eslint-plugin-prettier": "*",
"eslint-plugin-promise": "*",
"eslint-plugin-unicorn": "*",
"got": "^11.8.2",
"hpagent": "1.2.0",
"husky": "^7.0.4",
"import-sort-parser-babylon": "^6.0.0",
"import-sort-parser-typescript": "^6.0.0",
"import-sort-style-module": "^6.0.0",
"jest": "29.7.0",
"jest-config": "29.7.0",
"lint-staged": "15.2.2",
"prettier": "*",
"rimraf": "5.0.5",
"rollup": "4.16.4",
"rollup-plugin-dts": "6.1.0",
"shelljs": "0.8.5",
"ts-jest": "29.1.2",
"ts-node": "^10.4.0",
"typedoc": "0.25.13",
"typescript": "5.4.5"
},
"dependencies": {
"@postman/tunnel-agent": "^0.6.3",
"@types/node-forge": "1.3.11",
"agentkeepalive": "^4.1.4",
"chalk": "^4.1.2",
"debug": "^4.3.2",
"mkdirp": "3.0.1",
"node-cache": "^5.1.2",
"node-forge": "1.3.1",
"ts-hashcode": "^1.0.2"
}
}