forked from zaproxy/zap-hud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
115 lines (115 loc) · 2.43 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
115
{
"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.9.0",
"vue": "^2.6.12",
"vue-i18n": "^8.22.2"
},
"devDependencies": {
"ava": "^3.13.0",
"css-loader": "^5.0.1",
"eslint-plugin-no-unsanitized": "^3.1.4",
"lint-staged": "^10.5.1",
"vue-loader": "^15.9.5",
"vue-style-loader": "^4.1.2",
"vue-template-compiler": "^2.6.12",
"webpack": "^5.6.0",
"webpack-cli": "^4.2.0",
"xo": "^0.33.1"
}
}