-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·87 lines (87 loc) · 2.25 KB
/
package.json
File metadata and controls
executable file
·87 lines (87 loc) · 2.25 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
{
"name": "lua-mtavscode",
"displayName": "lua-mtavscode",
"description": "A VSCode extension that enables suggestions and various other elements for the Multi Theft Auto San Andreas multiplayer mod to your current Lua LSP.",
"version": "0.4.0",
"engines": {
"vscode": "^1.96.0"
},
"categories": [
"Other",
"Extension Packs",
"Language Packs"
],
"activationEvents": [
"workspaceContains:**/meta.xml",
"workspaceContains:**/client.lua",
"workspaceContains:**/server.lua"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "lua-mtavscode.scaffold-project",
"title": "Lua MTAVScode: Scaffold a new resource"
}
],
"configuration": {
"title": "lua-mtavscode",
"properties": {
"lua-mtavscode.serverSideFileKeywords": {
"type": "array",
"default": [
"s_",
"server"
],
"description": "This configuration allows the extension to know which keyword in a file corresponds to a serversided Lua script."
},
"lua-mtavscode.clientSideFileKeywords": {
"type": "array",
"default": [
"c_",
"client"
],
"description": "This configuration allows the extension to know which keyword in a file corresponds to a clientsided Lua script."
}
}
},
"snippets": [
{
"language": "lua",
"path": "./src/snippets/lua.json"
},
{
"language": "xml",
"path": "./src/snippets/xml.json"
}
]
},
"repository": "https://github.com/afestupinanp/lua-mtavscode-prototype",
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc --diagnostics -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js",
"generate": "node scripts/generate.js",
"package": "vsce package",
"publish": "vsce publish"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.10",
"@types/node": "^22.13.10",
"@types/vscode": "^1.96.0",
"@typescript-eslint/eslint-plugin": "^8.26.1",
"@typescript-eslint/parser": "^8.26.1",
"@vscode/vsce": "^3.2.2",
"eslint": "^9.22.0",
"glob": "^11.0.1",
"jsdom": "^26.0.0",
"mocha": "^11.1.0",
"turndown": "^7.2.0",
"typescript": "^5.8.2",
"vscode-test": "^1.6.1"
}
}