forked from open-policy-agent/vscode-opa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
155 lines (155 loc) · 3.34 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
{
"name": "opa",
"icon": "logo.png",
"displayName": "Open Policy Agent",
"repository": {
"type": "git",
"url": "https://github.com/open-policy-agent/vscode-opa.git"
},
"description": "Develop, test, debug, and analyze policies for the Open Policy Agent project.",
"version": "0.11.0",
"publisher": "tsandall",
"engines": {
"vscode": "^1.21.0"
},
"categories": [
"Programming Languages"
],
"activationEvents": [
"onLanguage:rego"
],
"main": "./out/extension",
"contributes": {
"commands": [
{
"command": "opa.check.file",
"title": "OPA: Check File Syntax"
},
{
"command": "opa.eval.package",
"title": "OPA: Evaluate Package"
},
{
"command": "opa.eval.selection",
"title": "OPA: Evaluate Selection"
},
{
"command": "opa.eval.coverage",
"title": "OPA: Toggle Evaluation Coverage"
},
{
"command": "opa.test.workspace",
"title": "OPA: Test Workspace"
},
{
"command": "opa.test.coverage.workspace",
"title": "OPA: Toggle Workspace Coverage"
},
{
"command": "opa.trace.selection",
"title": "OPA: Trace Selection"
},
{
"command": "opa.profile.selection",
"title": "OPA: Profile Selection"
},
{
"command": "opa.partial.selection",
"title": "OPA: Partial Evaluation: Selection"
}
],
"configuration": {
"type": "object",
"title": "OPA Configuration",
"properties": {
"opa.path": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path of the OPA executable. Defaults to null."
},
"opa.checkOnSave": {
"type": [
"boolean"
],
"default": false,
"description": "Run OPA check on save. Defaults to false"
},
"opa.roots": {
"type": [
"array"
],
"default": [
"${workspaceFolder}"
],
"description": "List of paths to load as bundles for policy and data. Defaults to [\"${workspaceFolder}\"]"
},
"opa.bundleMode": {
"type": [
"boolean"
],
"default": true,
"description": "Enable treating the workspace as a bundle."
},
"opa.schema": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the schema file or directory. Defaults to null. If null, schema evaluation is disabled."
},
"opa.strictMode": {
"type": [
"boolean"
],
"default": false,
"description": "Enable strict-mode for the \"OPA: Check File Syntax\" command (OPA check)"
}
}
},
"languages": [
{
"id": "rego",
"aliases": [
"Rego",
"rego"
],
"extensions": [
".rego"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "rego",
"scopeName": "source.rego",
"path": "./syntaxes/Rego.tmLanguage"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/mocha": "^2.2.42",
"@types/node": "^7.10.7",
"@types/vscode": "^1.21.0",
"tslint": "^5.20.0",
"typescript": "^2.9.2"
},
"dependencies": {
"@fohlen/github-release-downloader": "^1.0.0",
"command-exists": "^1.2.6"
},
"__metadata": {
"id": "ab758a0c-5cb5-417e-99bf-12a6e16bb148",
"publisherDisplayName": "Torin Sandall",
"publisherId": "4052f3dc-ff54-4c3b-9ad2-44e7ac5b9f4d"
}
}