-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpackage.json
More file actions
55 lines (55 loc) · 1.83 KB
/
package.json
File metadata and controls
55 lines (55 loc) · 1.83 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
{
"name": "unrealscript-tmlanguage",
"version": "0.7.1",
"description": "",
"author": "Eliot van Uytfanghe",
"license": "MIT",
"devDependencies": {
"vscode-tmgrammar-test": "^0.1.3",
"yaml-convert": "1.0.1"
},
"scripts": {
"compile": "mkdir out & npx yaml-convert --np < ./UnrealScript.YAML-tmLanguage > ./out/unrealscript.tmLanguage.json && npx yaml-convert --np < ./unrealscript.preprocessor.YAML-tmLanguage > ./out/unrealscript.preprocessor.tmLanguage.json",
"test": "npm run compile & npx vscode-tmgrammar-test -c ./test/**/*.test.{uc,uci}"
},
"contributes": {
"languages": [
{
"id": "unrealscript",
"extensions": [
".uc"
]
},
{
"id": "unrealscript-pp",
"extensions": [
".uci"
]
}
],
"grammars": [
{
"language": "unrealscript",
"scopeName": "source.uc",
"path": "./out/unrealscript.tmLanguage.json",
"embeddedLanguages": {
"meta.embedded.block.cpp.uc": "cpp",
"meta.embedded.block.upp.uc": "unrealscript-pp"
}
},
{
"language": "unrealscript",
"scopeName": "source.upp",
"path": "./out/unrealscript.preprocessor.tmLanguage.json"
},
{
"language": "unrealscript-pp",
"scopeName": "source.upp",
"path": "./out/unrealscript.preprocessor.tmLanguage.json",
"embeddedLanguages": {
"meta.embedded.block.unrealscript.upp": "unrealscript"
}
}
]
}
}