-
-
Notifications
You must be signed in to change notification settings - Fork 152
/
package.json
114 lines (114 loc) · 2.39 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
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
{
"name": "zap-hud",
"version": "1.0.0",
"description": "ZAP Heads Up Display (HUD).",
"main": "index.js",
"directories": {
"lib": "lib",
"test": "test"
},
"scripts": {
"test": "ava",
"build": "webpack --config src/webpack/config.dev.js",
"lint": "xo",
"lint-staged": "lint-staged"
},
"lint-staged": {
"*.js": [
"xo --fix",
"ava",
"git add"
]
},
"xo": {
"envs": [
"browser",
"serviceworker"
],
"globals": [
"apiCall",
"apiCallWithResponse",
"alertify",
"alertUtils",
"doNotShowAgain",
"I18n",
"IS_SERVICEWORKER_REFRESHED",
"localforage",
"LOG_DEBUG",
"LOG_ERROR",
"LOG_INFO",
"LOG_DEBUG",
"LOG_TRACE",
"LOG_WARN",
"registerForZapEvents",
"showAlerts",
"tabsDetails",
"utils",
"Vue"
],
"ignores": [
"src/**/hud/libraries/**",
"src/test/js/**",
"src/webpack/**"
],
"plugins": [
"no-unsanitized"
],
"rules": {
"no-negated-condition": "warn",
"no-unsanitized/method": [
"error",
{
"escape": {
"methods": [
"DOMPurify.sanitize"
]
}
}
],
"no-unsanitized/property": [
"error",
{
"escape": {
"methods": [
"DOMPurify.sanitize"
]
}
}
],
"no-unused-vars": "warn",
"prefer-destructuring": "warn",
"unicorn/no-for-loop": "warn",
"unicorn/prefer-includes": "warn",
"unicorn/prefer-string-slice": "warn",
"unicorn/filename-case": "warn",
"unicorn/prefer-query-selector": "warn"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/zaproxy/zap-hud.git"
},
"author": "ZAP Core Team",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/zaproxy/zap-hud/issues"
},
"homepage": "https://github.com/zaproxy/zap-hud/wiki",
"dependencies": {
"localforage": "^1.10.0",
"vue": "^2.7.15",
"vue-i18n": "^8.27.2"
},
"devDependencies": {
"ava": "^5.3.1",
"css-loader": "^6.7.1",
"eslint-plugin-no-unsanitized": "^4.0.1",
"lint-staged": "^12.4.1",
"vue-loader": "^17.0.0",
"vue-style-loader": "^4.1.3",
"webpack": "^5.89.0",
"webpack-cli": "^4.10.0",
"xo": "^0.37.1"
}
}