-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
120 lines (120 loc) · 3.25 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
{
"name": "yal",
"displayName": "yal",
"description": "Intellisense support for Yet Another Language",
"version": "0.0.18",
"publisher": "mtots",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/math4tots/yet-another-language"
},
"engines": {
"vscode": "^1.45.0"
},
"categories": [
"Programming Languages"
],
"main": "./out/extension",
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint \"src/**/*.ts\"",
"watch": "tsc -watch -p ./"
},
"contributes": {
"configurationDefaults": {
"[yal]": {
"editor.tabSize": 2
}
},
"configuration": {
"title": "yal",
"properties": {
"yal.yalpath": {
"type": "string",
"default": "",
"description": "Path to search for yal scripts. List of paths separated by ':'"
}
}
},
"languages": [
{
"id": "yal",
"aliases": [
"yet-another-language"
],
"extensions": [
".yal"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "yal",
"scopeName": "source.yal",
"path": "./syntaxes/yal.tmLanguage.json"
}
],
"commands": [
{
"command": "yal.tokenize",
"title": "yal: Tokenize yal Code"
},
{
"command": "yal.parse",
"title": "yal: Parse yal Code"
},
{
"command": "yal.run",
"title": "yal: Run/Eval yal File"
},
{
"command": "yal.translate",
"title": "yal: Translate YAL code to JavaScript/HTML"
},
{
"command": "yal.index",
"title": "yal: Index/re-index all YAL sources"
}
],
"keybindings": [
{
"command": "yal.run",
"key": "f5",
"when": "editorLangId == yal"
}
],
"menus": {
"commandPalette": [
{
"command": "yal.tokenize",
"when": "editorLangId == yal"
},
{
"command": "yal.parse",
"when": "editorLangId == yal"
},
{
"command": "yal.run",
"when": "editorLangId == yal"
},
{
"command": "yal.translate",
"when": "editorLangId == yal"
}
]
}
},
"activationEvents": [
"onLanguage:yal",
"onCommand:yal.tokenize",
"onCommand:yal.parse",
"onCommand:yal.run"
],
"devDependencies": {
"@types/vscode": "^1.45.0",
"ts-loader": "^9.4.2"
}
}