-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
192 lines (192 loc) · 5.83 KB
/
package.json
File metadata and controls
192 lines (192 loc) · 5.83 KB
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
{
"name": "raku-navigator",
"displayName": "Raku",
"description": "Language support for Raku including syntax highlighting and error checking.",
"version": "0.5.3",
"author": "bscan",
"license": "MIT",
"icon": "images/Camelia.png",
"publisher": "bscan",
"engines": {
"vscode": "^1.28.0"
},
"repository": {
"type": "git",
"url": "https://github.com/bscan/RakuNavigator"
},
"activationEvents": [
"onLanguage:raku"
],
"main": "./client/out/extension",
"categories": [
"Programming Languages"
],
"contributes": {
"languages": [
{
"id": "raku",
"aliases": [
"Raku",
"raku"
],
"extensions": [
".raku",
".rakumod",
".rakudoc",
".rakutest",
".p6",
".pm6",
".t6"
],
"icon": {
"light": "./images/Raku128.png",
"dark": "./images/Raku128.png"
},
"configuration": "./language-configuration.json",
"firstLine": "(^#!.*\\bperl6\\b)|use\\s+v6|raku|=begin\\spod|my\\sclass"
}
],
"grammars": [
{
"language": "raku",
"scopeName": "source.raku",
"path": "./server/raku.tmLanguage.json"
}
],
"snippets": [
{
"language": "raku",
"path": "./snippets/rakuSnippets.json"
}
],
"configuration": {
"type": "object",
"title": "Raku",
"properties": {
"raku.rakuPath": {
"scope": "resource",
"type": "string",
"default": "raku",
"description": "Full path to the raku executable (no aliases, .bat files or ~/)"
},
"raku.syntaxCheckEnabled": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Enables syntax checking with the raku compiler, similar to raku -c"
},
"raku.includePaths": {
"scope": "resource",
"type": "array",
"default": [],
"description": "Array of paths added to @INC. You can use $workspaceFolder as a placeholder."
},
"raku.logging": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Log to stdout from the navigator. Viewable in the Raku Navigator LSP log"
},
"raku.formatting.enable": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Enable code formatting for Raku files"
},
"raku.formatting.indentSize": {
"scope": "resource",
"type": "number",
"default": 4,
"description": "Number of spaces per indentation level (only used if editor.tabSize is not set)"
},
"raku.formatting.trimTrailingWhitespace": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Remove trailing whitespace from lines"
},
"raku.formatting.insertFinalNewline": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Ensure file ends with a newline"
},
"raku.formatting.spaceAfterComma": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Add space after commas in lists and function calls"
},
"raku.formatting.noSpaceBeforeSemicolon": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Remove space before semicolons"
},
"raku.formatting.spaceAfterKeywords": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Add space after control keywords (if, for, while, etc.)"
},
"raku.formatting.spaceBeforeBrace": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Ensure space before opening brace in declarations"
},
"raku.formatting.braceOnSameLine": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Move opening brace to same line as declaration (class, method, sub, etc.)"
},
"raku.formatting.cuddledElse": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Place else/elsif keywords on same line as closing brace"
},
"raku.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",
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
"test": "npm run compile && TS_NODE_PROJECT=tsconfig.test.json mocha -r ts-node/register -r tsconfig-paths/register --require source-map-support/register --reporter spec \"test/unit/**/*.ts\"",
"build-binary": "tsc -b && pkg ."
},
"devDependencies": {
"@types/mocha": "^8.2.2",
"@types/node": "^12.12.0",
"@types/webpack-env": "^1.16.0",
"@typescript-eslint/eslint-plugin": "^4.23.0",
"@typescript-eslint/parser": "^4.23.0",
"eslint": "^7.26.0",
"mocha": "^8.3.2",
"path-browserify": "^1.0.1",
"pkg": "^5.5.2",
"typescript": "^4.2.3",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"source-map-support": "^0.5.21",
"vscode-languageserver-textdocument": "^1.0.12",
"vscode-uri": "^1.0.8",
"webpack": "^5.76.1",
"webpack-cli": "^4.7.0"
},
"bin": "server/out/server.js"
}