-
Notifications
You must be signed in to change notification settings - Fork 27
/
package.json
174 lines (174 loc) · 5.03 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
{
"name": "vscode-lua",
"displayName": "vscode-lua",
"description": "Intellisense and Linting for Lua",
"version": "0.12.4",
"publisher": "trixnz",
"homepage": "https://github.com/trixnz/vscode-lua#readme",
"repository": {
"type": "git",
"url": "https://github.com/trixnz/vscode-lua"
},
"bugs": {
"url": "https://github.com/trixnz/vscode-lua/issues"
},
"license": "MIT",
"icon": "images/icon.png",
"galleryBanner": {
"color": "#313191",
"theme": "dark"
},
"engines": {
"vscode": "^1.6.0"
},
"categories": [
"Programming Languages",
"Linters",
"Formatters"
],
"activationEvents": [
"onLanguage:lua"
],
"main": "./out/src/extension",
"contributes": {
"languages": [
{
"id": "lua",
"aliases": [
"Lua"
],
"extensions": [
".lua",
".luacheckrc"
],
"configuration": "./language-configuration.json"
}
],
"configuration": {
"title": "Lua",
"properties": {
"lua.luacheckPath": {
"type": [
"string"
],
"default": "luacheck",
"description": "Specifies the path to the luacheck binary (if not found on PATH).\nNote: luacheck can be invoked via a .bat or a .exe file, depending on the version you have. Make sure you specify the correct one."
},
"lua.preferLuaCheckErrors": {
"type": "boolean",
"default": false,
"description": "Specifies whether to prefer luacheck errors over the standard luaparse errors if luacheck is available"
},
"lua.targetVersion": {
"type": "string",
"default": "5.1",
"description": "Specifies the target version of Lua",
"enum": [
"5.1",
"5.2",
"5.3"
]
},
"lua.format.enabled": {
"type": "boolean",
"default": true,
"description": "Specifies whether to use the Lua formatter"
},
"lua.format.lineWidth": {
"type": "integer",
"default": 120,
"description": "Maximum length of a line before it will be wrapped"
},
"lua.format.useTabs": {
"type": [
"null",
"boolean"
],
"default": null,
"description": "Force the formatter to use tabs over spaces. A value of null (default) indicates that editor settings should be used."
},
"lua.format.indentCount": {
"type": [
"null",
"integer"
],
"default": null,
"description": "Number of spaces to indent. A value of null (default) indicates that editor settings should be used."
},
"lua.format.singleQuote": {
"type": "boolean",
"default": false,
"description": "Whether to use single or double quotes on strings. Defaults to double quotes"
},
"lua.server.command": {
"type": [
"string",
"null"
],
"default": null,
"description": "When defined, uses an external language server using the given shell command."
},
"lua.server.arguments": {
"type": "array",
"items": {
"type": "string",
"title": "arguments"
},
"default": [],
"description": "When lua.server.command is defined, pass as command line arguments."
},
"lua.format.linebreakMultipleAssignments": {
"type": "boolean",
"default": false,
"description": "Whether to split multiple assignments onto separate lines. Defaults to false"
},
"lua.linting.enabled": {
"type": "boolean",
"default": true,
"description": "Specifies whether to enable linting of source files"
},
"lua.linting.luaCheckConfig": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to a .luacheckrc to be used for linting, instead of the default luacheck search path"
},
"lua.linting.luaCheckArgs": {
"type": "array",
"items": {
"type": "string",
"title": "arguments"
},
"default": [],
"description": "Additional arguments to pass to luacheck"
}
}
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"package": "vsce package",
"travis-deploy": "vsce publish -p $VS_TOKEN"
},
"devDependencies": {
"@types/node": "^10.12.18",
"gulp": "^4.0.0",
"gulp-bump": "^3.1.1",
"gulp-git": "^2.8.0",
"gulp-shell": "^0.6.5",
"gulp-tag-version": "^1.3.1",
"gulp-tslint": "^8.1.3",
"require-dir": "^1.2.0",
"tslint": "^5.12.0",
"typescript": "^3.2.2",
"vsce": "^1.54.0",
"vscode": "^1.1.26"
},
"dependencies": {
"vscode-languageclient": "^5.2.1"
}
}