-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
221 lines (221 loc) · 6.68 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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
{
"name": "prusti-assistant",
"displayName": "Prusti Assistant",
"description": "Verify Rust programs with the Prusti verifier.",
"version": "0.12.7",
"publisher": "viper-admin",
"repository": {
"type": "git",
"url": "https://github.com/viperproject/prusti-assistant.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/viperproject/prusti-assistant/issues"
},
"homepage": "https://github.com/viperproject/prusti-assistant",
"main": "./out/extension",
"engines": {
"vscode": "^1.60.0",
"node": "*"
},
"categories": [
"Programming Languages"
],
"keywords": [
"rust",
"verification",
"prusti",
"viper"
],
"activationEvents": [
"onLanguage:rust"
],
"contributes": {
"snippets": [
{
"language": "rust",
"path": "./snippets/specs.json"
}
],
"commands": [
{
"command": "prusti-assistant.update",
"title": "update verifier",
"category": "Prusti"
},
{
"command": "prusti-assistant.show-version",
"title": "show version",
"category": "Prusti"
},
{
"command": "prusti-assistant.verify",
"title": "verify the current crate or file",
"category": "Prusti"
},
{
"command": "prusti-assistant.restart-server",
"title": "restart Prusti server",
"category": "Prusti"
},
{
"command": "prusti-assistant.clear-diagnostics",
"title": "clear diagnostics",
"category": "Prusti"
}
],
"configuration": {
"title": "Prusti Assistant",
"properties": {
"prusti-assistant.prustiVersion": {
"type": "string",
"default": "Latest",
"enum": [
"Latest",
"Tag",
"Local"
],
"enumDescriptions": [
"The latest release of Prusti.",
"A fixed version of Prusti, specified via prustiTag.",
"A local build of Prusti, specified via localPrustiPath."
],
"description": "Specifies from which version of Prusti should be used."
},
"prusti-assistant.checkForUpdates": {
"type": "boolean",
"default": true,
"description": "Specifies if Prusti should check for updates at startup."
},
"prusti-assistant.localPrustiPath": {
"type": "string",
"default": "",
"description": "Specifies the path to the local Prusti installation. This setting is only used if prustiVersion is set to Local."
},
"prusti-assistant.prustiTag": {
"type": "string",
"default": "",
"description": "Specifies the GitHub tag of the Prusti release to be used. Visit https://github.com/viperproject/prusti-dev/releases to see all the available tags. This setting is only used if prustiVersion is set to Tag."
},
"prusti-assistant.verifyOnSave": {
"type": "boolean",
"default": false,
"description": "Specifies if programs should be verified on save."
},
"prusti-assistant.verifyOnOpen": {
"type": "boolean",
"default": false,
"description": "Specifies if programs should be verified when opened."
},
"prusti-assistant.reportErrorsOnly": {
"type": "boolean",
"default": false,
"description": "Specifies if only error messages should be reported, hiding compiler's warnings."
},
"prusti-assistant.javaHome": {
"type": "string",
"default": "",
"description": "Specifies the path of the Java home folder (leave empty to auto-detect)."
},
"prusti-assistant.serverAddress": {
"type": "string",
"default": "",
"description": "Specifies the address of a Prusti server to use for verification. If not set, the extension will start up and manage its own server."
},
"prusti-assistant.extraPrustiEnv": {
"type": "object",
"default": {
"RUST_BACKTRACE": "true",
"PRUSTI_LOG": "info"
},
"additionalProperties": {
"type": "string"
},
"description": "Specifies additional environment variables to be passed to all Prusti runs. Remember to restart the Prusti Server after modifying this setting."
},
"prusti-assistant.extraPrustiRustcArgs": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"--edition=2018"
],
"description": "Specifies additional arguments to be passed to Prusti-Rustc. Used when verifying a Rust file that is not part of a crate."
},
"prusti-assistant.extraCargoPrustiArgs": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Specifies additional arguments to be passed to Cargo-Prusti. Used when verifying a crate."
},
"prusti-assistant.extraPrustiServerArgs": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Specifies additional arguments to be passed to the Prusti Server. Remember to restart the Prusti Server after modifying this setting."
}
}
}
},
"scripts": {
"webpack-production": "webpack --mode production",
"webpack-development": "webpack --mode development",
"tsc": "tsc",
"vscode:prepublish": "npm-run-all --sequential clean webpack-production",
"compile": "npm-run-all --sequential clean webpack-development",
"lint": "eslint -c .eslintrc --ext .ts ./src",
"test-compile": "npm-run-all --sequential clean tsc",
"pretest": "npm run test-compile",
"test": "node ./out/test/runTest.js",
"report-coverage": "nyc report --reporter=html",
"clean": "rimraf out",
"package": "vsce package --no-dependencies"
},
"devDependencies": {
"@types/chai": "^4.3.11",
"@types/fs-extra": "^11.0.4",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.6",
"@types/node": "^20.12.2",
"@types/tmp": "^0.2.6",
"@types/vscode": "^1.60.0",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"@vscode/test-electron": "^2.3.9",
"chai": "^4.4.1",
"eslint": "^8.57.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^48.2.2",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-react": "^7.34.1",
"glob": "^10.3.12",
"mocha": "^10.4.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"rimraf": "^5.0.5",
"ts-loader": "^9.5.1",
"typescript": "^5.4.3",
"vsce": "^2.15.0",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"@viperproject/locate-java-home": "git+https://github.com/viperproject/locate-java-home.git",
"fs-extra": "^11.2.0",
"locate-java-home": "git+https://github.com/viperproject/locate-java-home.git",
"tmp": "^0.2.3",
"tree-kill": "^1.2.2",
"vs-verification-toolbox": "git+https://github.com/viperproject/vs-verification-toolbox.git"
},
"__metadata": {
"id": "03644baf-8510-4e01-9bc8-ef0269607dba",
"publisherDisplayName": "Chair of Programming Methodology - ETH Zurich",
"publisherId": "40c87fab-912c-4304-b2ee-b6c71e280a3c",
"isPreReleaseVersion": false
}
}