forked from SvenEV/Masterarbeit-CogniCryptVSCode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
137 lines (137 loc) · 3.57 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"name": "cognicrypt",
"description": "CogniCrypt Language Server Prototype",
"author": "Sven Vinkemeier",
"license": "MIT",
"version": "1.0.0",
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/vscode-extension-samples"
},
"publisher": "svenvinkemeier",
"categories": [],
"keywords": [],
"engines": {
"vscode": "^1.25.0"
},
"activationEvents": [
"workspaceContains:**/*.java",
"onLanguage:java"
],
"main": "./client/out/extension",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "cognicrypt",
"title": "CogniCrypt",
"icon": "resources/CogniCrypt.svg"
}
]
},
"views": {
"cognicrypt": [
{
"id": "cognicrypt.diagnostics",
"name": "Diagnostics"
},
{
"id": "cognicrypt.info",
"name": "Workspace Info"
}
]
},
"menus": {
"view/item/context": [
{
"command": "cognicrypt.visualizeFlowAnalysis",
"group": "inline",
"when": "view == cognicrypt.diagnostics && viewItem == pathCondition"
}
]
},
"commands": [
{
"command": "cognicrypt.inspectJimple",
"category": "CogniCrypt",
"title": "Inspect Jimple of Class..."
},
{
"command": "cognicrypt.reanalyze",
"category": "CogniCrypt",
"title": "Re-Analyze"
},
{
"command": "cognicrypt.mvnListDependencies",
"category": "CogniCrypt",
"title": "List Maven Dependencies"
},
{
"command": "cognicrypt.visualizeFlowAnalysis",
"category": "CogniCrypt",
"title": "Visualize Flow Analysis",
"icon": "resources/icons/DependencyGraph_16x.svg"
}
],
"configuration": [
{
"title": "CogniCrypt",
"properties": {
"cognicrypt.autoReanalyze": {
"title": "Re-analyze when files change",
"default": "ask",
"enum": [
"always",
"never",
"ask"
],
"enumDescriptions": [
"Always",
"Never",
"Ask every time"
],
"description": "CogniCrypt can automatically restart the code analysis when file changes are saved or files are externally modified."
},
"cognicrypt.lspTransport": {
"title": "Transport mode for the connection to the language server",
"description": "Transport mode for the connection to the language server. Changing this requires a reload of the extension or VS Code.",
"default": "stdio",
"enum": [
"stdio",
"socket"
],
"enumDescriptions": [
"VS Code starts a new instance of the language server and communicates over standard IO",
"VS Code connects to an already running language server via a socket on port 5007"
]
},
"cognicrypt.codeSource": {
"title": "The origin of the code to be analyzed",
"description": "The origin of the code to be analyzed. Changing this requires a reload of the extension or VS Code.",
"default": "source",
"enum": [
"source",
"compiled"
],
"enumDescriptions": [
"Analysis is performed on jimplified Java source code (uses WALA/Future Soot, full feature set, experimental)",
"Analysis is performed on jimplified Java class files (standard Soot, reduced feature set, requires extension 'Language Support for Java(TM)' by Red Hat)"
]
}
}
}
]
},
"scripts": {
"vscode:prepublish": "cd client && npm run update-vscode && cd .. && npm run compile",
"compile": "tsc -b",
"watch": "tsc -b -w",
"postinstall": "cd client && npm install && cd .."
},
"devDependencies": {
"@types/mocha": "^5.2.0",
"@types/node": "^8.0.0",
"tslint": "^5.11.0",
"typescript": "^3.1.3"
}
}