-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
149 lines (149 loc) · 5.08 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
{
"name": "nvlist",
"displayName": "NVList",
"publisher": "anonl",
"description": "NVList scripting support",
"icon": "nvlist-icon-128.png",
"version": "0.1.0",
"repository": {
"type": "git",
"url": "https://github.com/anonl/nvlist-vscode.git"
},
"engines": {
"vscode": "^1.47.0"
},
"categories": [
"Programming Languages"
],
"main": "./out/extension.js",
"activationEvents": [
"onDebug",
"workspaceContains:**/*.lvn",
"onLanguage:nvlist",
"onCommand:workbench.action.tasks.runTask"
],
"contributes": {
"languages": [
{
"id": "nvlist",
"aliases": [
"NVList",
"nvlist"
],
"extensions": [
".lvn"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "nvlist",
"scopeName": "source.nvlist",
"path": "./syntaxes/nvlist.tmLanguage.json",
"embeddedLanguages": {
"meta.embedded.block.lua": "lua"
}
}
],
"taskDefinitions": [
{
"type": "nvlist",
"required": [
"gradleTask"
],
"properties": {
"gradleTask": {
"type": "string",
"description": "The Gradle task to execute"
},
"buildToolsFolder": {
"type": "string",
"description": "Path to the build-tools folder in your NVList installation."
}
}
}
],
"breakpoints": [
{
"language": "nvlist"
}
],
"debuggers": [
{
"type": "nvlist",
"label": "NVList",
"initialConfigurations": [
{
"type": "nvlist",
"request": "launch",
"name": "NVList (main)",
"program": "${workspaceFolder}/res/script/main.lvn",
"projectFolder": "${workspaceFolder}",
"buildToolsFolder": "${workspaceFolder}/build-tools"
}
],
"configurationAttributes": {
"launch": {
"properties": {
"program": {
"type": "string",
"description": "NVList script (.lvn) file to run",
"default": "${workspaceFolder}/res/script/main.lvn"
},
"projectFolder": {
"type": "string",
"description": "NVList project root folder (contains the 'res' folder)",
"default": "${workspaceFolder}"
},
"buildToolsFolder": {
"type": "string",
"description": "NVList build-tools folder",
"default": "${workspaceFolder}/build-tools"
},
"javaHome": {
"type": "string",
"description": "Path to a Java runtime (used to build/run NVList). A platform-specific runtime is packaged with NVList.",
"default": "${workspaceFolder}/jre"
},
"port": {
"type": "integer",
"description": "Port at which the debug adapter server inside NVList is reachable",
"default": 4711
}
}
}
}
}
],
"configuration": {
"title": "NVList",
"properties": {
"nvlist.buildToolsFolder": {
"description": "The location of your NVList build-tools folder",
"type": "string"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -b",
"watch": "tsc -b -w",
"lint": "npx eslint ./src/**/*.ts"
},
"dependencies": {
"vsce": "^1.96.1",
"vscode-debugadapter": "^1.41.1",
"vscode-languageclient": "^6.1.3"
},
"devDependencies": {
"@types/node": "^12.12.0",
"@types/vscode": "^1.47.0",
"@typescript-eslint/eslint-plugin": "^4.0.1",
"@typescript-eslint/parser": "^4.0.1",
"eslint": "^7.7.0",
"eslint-config-standard": "^14.1.1",
"typescript": "^3.9.4"
}
}