-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
172 lines (172 loc) · 4.91 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
{
"name": "yuescriptrunner",
"displayName": "YueRunner",
"description": "simple in-editor Yuescript assistant",
"publisher": "MTLabs",
"version": "0.3.6",
"icon": "logo.png",
"repository": {
"type": "git",
"url": "https://github.com/MTadder/YueRunner.git"
},
"engines": {
"vscode": "^1.92.0"
},
"categories": [
"Testing"
],
"keywords": [
"yuescript",
"yue",
"yue love",
"yue compiler",
"yue runner"
],
"activationEvents": [
"onLanguage:yuescript"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "YueRunner Configuration",
"properties": {
"yuescriptrunner.useMinification": {
"description": "Use code minification during compilation?",
"type": "boolean",
"default": false
},
"yuescriptrunner.useSpacesInstead": {
"description": "Use spaces instead of tabs during compilation?",
"type": "boolean",
"default": false
},
"yuescriptrunner.reserveComments": {
"description": "Preserve comments that come before statements?",
"type": "boolean",
"default": false
},
"yuescriptrunner.writeLineNumbers": {
"description": "Write line numbers from the yuescript source?",
"type": "boolean",
"default": false
},
"yuescriptrunner.reFocusDocument": {
"description": "Should the active document be refocused after each action?",
"type": "boolean",
"default": true
},
"yuescriptrunner.dumpGlobals": {
"description": "Dump global variables used in NAME | LINE | COLUMN",
"type": "boolean",
"default": false
},
"yuescriptrunner.dumpToStdout": {
"description": "Dump generated code to the standard output?",
"type": "boolean",
"default": false
},
"yuescriptrunner.dumpCompileTime": {
"description": "Dump compile time duration?",
"type": "boolean",
"default": false
},
"yuescriptrunner.useImplicitReturn": {
"description": "Use implicit return at end of file?",
"type": "boolean",
"default": true
},
"yuescriptrunner.matchLineNumbers": {
"description": "Rewrite output to match line numbers?",
"type": "boolean",
"default": false
},
"yuescriptrunner.iconOnly": {
"description": "Only show the icon on the button?",
"type": "boolean",
"default": false
},
"yuescriptrunner.loveExecutable": {
"description": "LÖVE executable to use.",
"enum": [
"love", "lovec"
],
"type": "string",
"default": "lovec"
},
"yuescriptrunner.defaultAction": {
"description": "Default action displayed on the status bar.",
"enum": [
"Compile", "Compile all", "Run", "Compile all and Run LÖVE"
],
"type": "string",
"default": "Run"
},
"yuescriptrunner.targetLuaVersion": {
"description": "Lua version the compiler will target.",
"enum": [
"5.1", "5.2", "5.3", "5.4"
],
"type": "string",
"default": "5.4"
}
}
},
"commands": [
{
"command": "yuescriptrunner.compile",
"title": "Compile this Yuescript"
},
{
"command": "yuescriptrunner.run",
"title": "Run this Yuescript"
},
{
"command": "yuescriptrunner.compile_all",
"title": "Compile all Yuescripts (in this directory)"
},
{
"command": "yuescriptrunner.compile_all_and_run_love",
"title": "Compile all Yuescripts & Run LOVE2D (in this directory)"
}
],
"menus": {
"commandPalette": [
{
"command": "yuescriptrunner.compile",
"when": "editorLangId == yuescript"
},
{
"command": "yuescriptrunner.run",
"when": "editorLangId == yuescript"
},
{
"command": "yuescriptrunner.compile_all",
"when": "editorLangId == yuescript"
},
{
"command": "yuescriptrunner.compile_all_and_run_love",
"when": "editorLangId == yuescript"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/vscode": "^1.92.0",
"@types/mocha": "^10.0.7",
"@types/node": "20.x",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.11.0",
"eslint": "^8.57.0",
"typescript": "^5.4.5",
"@vscode/test-cli": "^0.0.9",
"@vscode/test-electron": "^2.4.0"
}
}