-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) · 2.65 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
{
"name": "vscode-intercept",
"displayName": "Intercept Policy Scanner",
"description": "Scan your codebase against INTERCEPT policies",
"version": "0.0.1",
"publisher": "Flávio HG",
"repository": {
"type": "git",
"url": "https://github.com/xfhg/intercept-vscode.git"
},
"keywords": ["intercept", "policy", "scanner", "security"],
"icon": "media/intercept-icon.png",
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onView:interceptResultsView"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "intercept.scanWorkspace",
"title": "Scan Workspace with Intercept"
},
{
"command": "intercept.refreshResults",
"title": "Refresh Intercept Results",
"icon": "$(refresh)"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "intercept-sidebar",
"title": "Intercept",
"icon": "media/intercept-icon.svg"
}
]
},
"views": {
"intercept-sidebar": [
{
"id": "interceptResultsView",
"name": "Scan Results",
"icon": "media/intercept-icon.svg"
}
]
},
"viewsWelcome": [
{
"view": "interceptResultsView",
"contents": "No scan results available. [Run Scan](command:intercept.scanWorkspace)"
}
],
"menus": {
"view/title": [
{
"command": "intercept.refreshResults",
"when": "view == interceptResultsView",
"group": "navigation"
}
]
},
"configuration": {
"title": "Intercept",
"properties": {
"intercept.executablePath": {
"type": "string",
"default": "intercept",
"description": "Path to the Intercept executable"
},
"intercept.policyFile": {
"type": "string",
"default": "",
"description": "Path to the Intercept policy file"
},
"intercept.scanOnSave": {
"type": "boolean",
"default": false,
"description": "Trigger Intercept scan on file save"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.60.0",
"@types/node": "^14.14.37",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"eslint": "^7.25.0",
"typescript": "^4.2.4"
}
}