-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
185 lines (185 loc) · 5.96 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
173
174
175
176
177
178
179
180
181
182
183
184
185
{
"name": "p2tas",
"displayName": "Portal 2 TAS Tools",
"description": "Syntax highlighting, snippets, autocompletion for the Portal 2 TASing script language",
"version": "1.4.2",
"publisher": "Portal2SpeedrunningHub",
"icon": "images/logo128.png",
"repository": {
"type": "git",
"url": "https://github.com/p2sr/p2tas-lang"
},
"engines": {
"vscode": "^1.56.0"
},
"categories": [
"Programming Languages",
"Snippets"
],
"contributes": {
"languages": [
{
"id": "p2tas",
"aliases": [
"Portal 2 TAS script",
"p2tas"
],
"extensions": [
".p2tas"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "p2tas",
"scopeName": "source.p2tas",
"path": "./syntaxes/p2tas.tmLanguage.json"
}
],
"snippets": [
{
"language": "p2tas",
"path": "./snippets.json"
}
],
"commands": [
{
"command": "p2tas.relativeFromAbsoluteTick",
"title": "Relative tick from absolute tick",
"category": "p2tas"
},
{
"command": "p2tas.toggleLineTickType",
"title": "Toggle line tick type",
"category": "p2tas"
},
{
"command": "p2tas.connectSAR",
"title": "Connect to SAR through the TCP socket",
"category": "p2tas"
},
{
"command": "p2tas.playTAS",
"title": "Play the current open TAS.",
"category": "p2tas"
},
{
"command": "p2tas.stopTAS",
"title": "Stop the current playing TAS.",
"category": "p2tas"
},
{
"command": "p2tas.changeRate",
"title": "Change TAS playback rate.",
"category": "p2tas"
},
{
"command": "p2tas.resumeTAS",
"title": "Resume the currently playing TAS",
"category": "p2tas"
},
{
"command": "p2tas.pauseTAS",
"title": "Pause the current TAS.",
"category": "p2tas"
},
{
"command": "p2tas.fastForward",
"title": "Fast forward TAS.",
"category": "p2tas"
},
{
"command": "p2tas.setNextPauseTick",
"title": "Pause TAS at tick.",
"category": "p2tas"
},
{
"command": "p2tas.advanceTick",
"title": "Tick advance current TAS.",
"category": "p2tas"
}
],
"menus": {
"commandPalette": [
{
"command": "p2tas.relativeFromAbsoluteTick",
"when": "editorLangId == p2tas"
}
]
},
"keybindings": [
{
"command": "p2tas.relativeFromAbsoluteTick",
"key": "ctrl+shift+t",
"mac": "cmd+shift+t"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "p2tas-sidebar-view",
"title": "TAS integration",
"icon": "images/sidebar-icon.svg"
}
]
},
"views": {
"p2tas-sidebar-view": [
{
"type": "webview",
"id": "p2tas-sidebar",
"name": "P2-TAS",
"icon": "images/sidebar-icon.svg",
"contextualTitle": "TAS integration"
}
]
},
"configuration": {
"title": "P2-TAS Tools Language",
"properties": {
"p2tas.showActiveToolsDisplay": {
"type": "boolean",
"default": true,
"description": "Show a piece of text at the end of the current line, showing the currently active tools in their execution order."
},
"p2tas.showDebugTick": {
"type": "boolean",
"default": true,
"description": "Highlight the framebulk corresponding to the current playback/trace tick, as well as the active tools on that tick, in the editor."
},
"p2tas.confirmFieldChangesInSidebar": {
"type": "boolean",
"default": true,
"description": "Ask for confirmation when changing fields in the sidebar."
},
"p2tasLanguageServer.doErrorChecking": {
"type": "boolean",
"default": true,
"description": "Check the current file for errors."
}
}
}
},
"activationEvents": [
"onView:p2tas-sidebar",
"onLanguage:p2tas",
"onCommand:p2tas.relativeFromAbsoluteTick"
],
"main": "./client/out/extension.js",
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -b",
"watch": "tsc -b -w",
"lint": "eslint ./client/src ./server/src --ext .ts,.tsx",
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
"test": "sh ./scripts/e2e.sh"
},
"devDependencies": {
"@types/node": "^12.12.0",
"@typescript-eslint/eslint-plugin": "^4.16.0",
"@typescript-eslint/parser": "^4.16.0",
"eslint": "^7.21.0",
"typescript": "^4.2.2"
}
}