Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 3.43 KB
/
Copy pathpackage.json
File metadata and controls
115 lines (115 loc) · 3.43 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
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
{
"name": "gma2-language",
"displayName": "grandMA2 Language Support",
"description": "Language support for grandMA2 lighting console command scripts -- syntax highlighting and hover documentation for cue programming, fixture control, and show file authoring",
"version": "0.0.1",
"publisher": "chienchuanw",
"license": "Apache-2.0",
"main": "./dist/extension.js",
"engines": {
"vscode": "^1.75.0"
},
"activationEvents": [
"onLanguage:gma2"
],
"categories": [
"Programming Languages"
],
"keywords": [
"grandMA2",
"gma2",
"MA Lighting",
"lighting console",
"stage lighting",
"DMX",
"syntax highlighting",
"cue programming",
"show control",
"live production"
],
"repository": {
"type": "git",
"url": "https://github.com/chienchuanw/gma2-vscode-extension"
},
"bugs": {
"url": "https://github.com/chienchuanw/gma2-vscode-extension/issues"
},
"homepage": "https://github.com/chienchuanw/gma2-vscode-extension#readme",
"contributes": {
"languages": [
{
"id": "gma2",
"aliases": [
"grandMA2",
"gma2",
"GMA2"
],
"extensions": [
".gma2"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "gma2",
"scopeName": "source.gma2",
"path": "./syntaxes/gma2.tmLanguage.json"
}
],
"snippets": [
{
"language": "gma2",
"path": "./snippets/gma2.json"
}
],
"configuration": {
"title": "grandMA2",
"properties": {
"gma2.diagnostics.unknownKeywords": {
"type": "boolean",
"default": true,
"description": "Warn about unrecognized keywords, with a \"did you mean?\" suggestion."
},
"gma2.diagnostics.undefinedVariables": {
"type": "boolean",
"default": true,
"description": "Report references to variables that are not declared in the current file."
},
"gma2.diagnostics.duplicateCues": {
"type": "boolean",
"default": true,
"description": "Report duplicate \"Store Cue\" numbers within the current file."
},
"gma2.completion.boostObjectKeywords": {
"type": "boolean",
"default": true,
"description": "After a function keyword (e.g. Store), prioritize object keywords (Cue, Sequence, Preset) in the completion list."
}
}
}
},
"scripts": {
"compile": "esbuild ./src/extension.ts --bundle --outfile=dist/extension.js --external:vscode --format=cjs --platform=node --sourcemap",
"compile:test": "tsc -p tsconfig.test.json",
"watch": "esbuild ./src/extension.ts --bundle --outfile=dist/extension.js --external:vscode --format=cjs --platform=node --sourcemap --watch",
"package": "pnpm run compile && vsce package --no-dependencies",
"test:unit": "vitest run",
"test:unit:watch": "vitest",
"test:integration": "pnpm run compile:test && vscode-test",
"test": "pnpm run test:unit && pnpm run test:integration"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "^25.5.0",
"@types/vscode": "^1.110.0",
"@vitest/coverage-v8": "^2.1.9",
"@vscode/test-cli": "^0.0.12",
"@vscode/test-electron": "^2.5.2",
"esbuild": "^0.27.4",
"glob": "^13.0.6",
"mocha": "^11.7.5",
"typescript": "^5.9.3",
"vitest": "^2.1.9"
}
}