forked from bscan/PerlNavigator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
199 lines (199 loc) · 5.16 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
{
"name": "perlnavigator",
"displayName": "Perl Navigator",
"description": "Code navigation, autocompletion, syntax checking, and linting for Perl",
"author": "bscan",
"license": "MIT",
"version": "0.3.0",
"icon": "images/camel_icon.png",
"repository": {
"type": "git",
"url": "https://github.com/bscan/PerlNavigator"
},
"publisher": "bscan",
"categories": [],
"keywords": [
"multi-root ready"
],
"engines": {
"vscode": "^1.43.0"
},
"activationEvents": [
"onLanguage:perl"
],
"main": "./client/out/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "Perl Navigator",
"properties": {
"perlnavigator.perlPath": {
"scope": "resource",
"type": "string",
"default": "perl",
"description": "Full path to the perl executable (no aliases, .bat files or ~/)"
},
"perlnavigator.enableWarnings": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Enable warnings using -Mwarnings command switch"
},
"perlnavigator.perltidyProfile": {
"scope": "resource",
"type": "string",
"default": "",
"description": "Path to perl tidy profile (no aliases, .bat files or ~/)"
},
"perlnavigator.perltidyEnabled": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Enable perl tidy."
},
"perlnavigator.perlcriticProfile": {
"scope": "resource",
"type": "string",
"default": "",
"description": "Path to perl critic profile. Otherwise perlcritic itself will default to ~/.perlcriticrc. (no aliases, .bat files or ~/)"
},
"perlnavigator.perlcriticEnabled": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Enable perl critic."
},
"perlnavigator.severity5": {
"scope": "resource",
"type": "string",
"enum": [
"error",
"warning",
"info",
"hint",
"none"
],
"default": "warning",
"description": "Editor Diagnostic severity level for Critic severity 5"
},
"perlnavigator.severity4": {
"scope": "resource",
"type": "string",
"enum": [
"error",
"warning",
"info",
"hint",
"none"
],
"default": "info",
"description": "Editor Diagnostic severity level for Critic severity 4"
},
"perlnavigator.severity3": {
"scope": "resource",
"type": "string",
"enum": [
"error",
"warning",
"info",
"hint",
"none"
],
"default": "hint",
"description": "Editor Diagnostic severity level for Critic severity 3"
},
"perlnavigator.severity2": {
"scope": "resource",
"type": "string",
"enum": [
"error",
"warning",
"info",
"hint",
"none"
],
"default": "hint",
"description": "Editor Diagnostic severity level for Critic severity 2"
},
"perlnavigator.severity1": {
"scope": "resource",
"type": "string",
"enum": [
"error",
"warning",
"info",
"hint",
"none"
],
"default": "hint",
"description": "Editor Diagnostic severity level for Critic severity 1"
},
"perlnavigator.includePaths": {
"scope": "resource",
"type": "array",
"default": [],
"description": "Array of paths added to @INC. You can use $workspaceFolder as a placeholder."
},
"perlnavigator.includeLib": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Boolean to indicate if $project/lib should be added to the path by default"
},
"perlnavigator.logging": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Log to stdout from the navigator. Viewable in the Perl Navigator LSP log"
},
"perlnavigator.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "messages",
"description": "Traces the communication between VS Code and the language server."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -b",
"watch": "tsc -b -w",
"install-client": "cd client && npm install",
"install-server": "cd server && npm install",
"postinstall": "npm run-script install-client && npm run-script install-server",
"ci-client": "cd client && npm ci",
"ci-server": "cd server && npm ci",
"ci-all": "npm ci && npm run ci-client && npm run ci-server",
"clean": "rm -rf ./node-modules ./server/node-modules ./client/node-modules",
"foo": "(cd client && npm ci && cd ../); (cd server && npm c )",
"test": "sh ./scripts/e2e.sh",
"build-binary": "tsc -b && pkg ."
},
"devDependencies": {
"@types/mocha": "^8.2.2",
"@types/node": "^12.12.0",
"@typescript-eslint/eslint-plugin": "^4.23.0",
"@typescript-eslint/parser": "^4.23.0",
"eslint": "^7.26.0",
"mocha": "^8.3.2",
"pkg": "^5.5.2",
"typescript": "^4.2.3"
},
"bin": "server/out/server.js",
"pkg": {
"scripts": "server/out/server.js",
"assets": "server/src/**/*",
"targets": [
"node14-linux-x64",
"node14-macos-x64",
"node14-win-x64"
],
"outputPath": "dist"
}
}