-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
71 lines (71 loc) · 1.66 KB
/
package.json
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
{
"name": "request-filtering-agent",
"version": "2.0.1",
"description": "An http(s).Agent implementation that block request Private IP address.",
"homepage": "https://github.com/azu/request-filtering-agent",
"bugs": {
"url": "https://github.com/azu/request-filtering-agent/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/azu/request-filtering-agent.git"
},
"license": "MIT",
"author": "azu",
"files": [
"bin/",
"lib/",
"src/"
],
"keywords": [
"http",
"https",
"proxy",
"agent",
"ssrf",
"security"
],
"main": "lib/request-filtering-agent.js",
"types": "lib/request-filtering-agent.d.ts",
"directories": {
"lib": "lib",
"test": "test"
},
"scripts": {
"build": "tsc -p .",
"clean": "rimraf lib/",
"prepublish": "npm run --if-present build",
"test": "mocha \"test/**/*.ts\"",
"watch": "tsc -p . --watch",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
"prepare": "git config --local core.hooksPath .githooks"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css}": [
"prettier --write"
]
},
"prettier": {
"singleQuote": false,
"printWidth": 120,
"tabWidth": 4,
"trailingComma": "none"
},
"devDependencies": {
"@types/ip": "^1.1.2",
"@types/mocha": "^10.0.3",
"@types/node": "^20.8.7",
"@types/node-fetch": "^2.6.7",
"lint-staged": "^15.0.2",
"mocha": "^10.2.0",
"node-fetch": "^2.7.0",
"prettier": "^3.0.3",
"rimraf": "^5.0.5",
"ts-node": "^10.9.1",
"ts-node-test-register": "^10.0.0",
"typescript": "^5.2.2"
},
"dependencies": {
"ipaddr.js": "^2.1.0"
}
}