-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
172 lines (172 loc) · 6.27 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": "vscode-dk-scripting-assist",
"displayName": "Dungeon Keeper's Scripting Assistant",
"description": "Provides code checking, hinting, formatting, map browser and more.",
"version": "0.9.0",
"publisher": "kxvv",
"scripts": {
"vscode:prepublish": "npm run bundle",
"prebundle": "npm run clean",
"bundle": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node --minify",
"clean": "rimraf ./out",
"precompile": "npm run clean",
"compile": "tsc -p ./",
"watch-tsc": "tsc -watch -p ./",
"watch": "npm run bundle -- --sourcemap --watch",
"lint": "eslint src --ext ts",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js",
"posttest": "npm run clean"
},
"devDependencies": {
"@types/glob": "^7.1.4",
"@types/mocha": "^9.0.0",
"@types/node": "14.x",
"@types/vscode": "^1.63.0",
"@typescript-eslint/eslint-plugin": "^5.1.0",
"@typescript-eslint/parser": "^5.1.0",
"esbuild": "^0.17.5",
"eslint": "^8.1.0",
"glob": "^7.1.7",
"mocha": "^9.1.3",
"rimraf": "^3.0.2",
"typescript": "^4.4.4"
},
"engines": {
"vscode": "^1.63.0"
},
"categories": [
"Programming Languages",
"Other"
],
"activationEvents": [
"onLanguage:dks"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "dks",
"aliases": [
"Dungeon Keeper scripting language",
"dks"
],
"configuration": "./language-configuration.json",
"filenamePatterns": [
"map\\d+\\.txt",
"map*.txt"
]
}
],
"configuration": {
"title": "Dungeon Keeper scripting assistant",
"properties": {
"diagEnabled": {
"type": "boolean",
"default": true,
"description": "Enable diagnostics"
},
"diagReactionTime": {
"type": "number",
"default": 512,
"description": "Diagnostics reaction time (ms)"
},
"customTraps": {
"type": "array",
"default": [],
"description": "Enter custom trap names for type checking and completion hints (either 1 by 1 or in one line separated by ',')",
"items": {
"type": "string"
}
},
"customDoors": {
"type": "array",
"default": [],
"description": "Enter custom door names for type checking and completion hints (either 1 by 1 or in one line separated by ',')",
"items": {
"type": "string"
}
},
"customCreatures": {
"type": "array",
"default": [],
"description": "Enter custom creature names for type checking and completion hints (either 1 by 1 or in one line separated by ',')",
"items": {
"type": "string"
}
},
"customObjects": {
"type": "array",
"default": [],
"description": "Enter custom object names for type checking and completion hints (either 1 by 1 or in one line separated by ',')",
"items": {
"type": "string"
}
},
"customRooms": {
"type": "array",
"default": [],
"description": "Enter custom room names for type checking and completion hints (either 1 by 1 or in one line separated by ',')",
"items": {
"type": "string"
}
},
"customSpells": {
"type": "array",
"default": [],
"description": "Enter custom state-spells (buffs/debuffs, not powers or creature spells) (either 1 by 1 or in one line separated by ',')",
"items": {
"type": "string"
}
},
"customCreatureSpells": {
"type": "array",
"default": [],
"description": "Enter custom creature spells (instances).",
"items": {
"type": "string"
}
},
"formatter.spaceAfterSeparator": {
"type": "boolean",
"default": false,
"description": "Insert spaces after separators when auto-formatting."
},
"formatter.spacesAroundOperator": {
"type": "boolean",
"default": false,
"description": "Insert spaces before and after operators when auto-formatting."
},
"formatter.indentationString": {
"type": "string",
"enum": [
"Tab",
"2 spaces",
"4 spaces"
],
"default": "4 spaces",
"description": "Set the indentation characters."
}
}
},
"grammars": [
{
"language": "dks",
"scopeName": "source.dks",
"path": "./syntaxes/dks.tmLanguage.json"
}
],
"commands": [
{
"command": "dks.browse",
"title": "DK: Browse DK maps in current folder"
}
]
},
"dependencies": {
"js-deep-equals": "^2.1.1",
"yaml": "^1.10.2"
},
"icon": "icon.png",
"repository": "https://github.com/kxvv/vscode-dkfx-script-assist/"
}