-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
210 lines (210 loc) · 5.32 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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
{
"name": "praatvscode",
"displayName": "PraatVSCode",
"description": "A Praat extension for Visual Studio Code.",
"icon": "images/praat_128x128.png",
"publisher": "OrhunUlusahin",
"author": {
"name": "Orhun Ulusahin"
},
"version": "0.11.2",
"engines": {
"vscode": "^1.64.0"
},
"repository": {
"type": "git",
"url": "https://github.com/orhunulusahin/praatvscode.git"
},
"bugs": {
"url": "https://github.com/orhunulusahin/praatvscode/issues"
},
"homepage": "https://github.com/orhunulusahin/praatvscode/blob/main/README.md",
"categories": [
"Programming Languages",
"Snippets",
"Formatters"
],
"keywords": [
"praat",
"phonetics",
"phonology"
],
"activationEvents": [
"onLanguage:praat",
"onLanguage:textgrid"
],
"main": "./out/extension.js",
"license": "MIT",
"contributes": {
"languages": [
{
"id": "praat",
"icon": {
"light": "./images/praat_32x32.png",
"dark": "./images/praat_32x32.png"
},
"extensions": [
".praat"
],
"aliases": [
"Praat",
"pra"
],
"configuration": "./praat-language-configuration.json"
},
{
"id": "textgrid",
"icon": {
"light": "./images/praat_32x32.png",
"dark": "./images/praat_32x32.png"
},
"extensions": [
".textgrid"
],
"aliases": [
"TextGRID",
"textGRID",
"TextGrid",
"textGrid"
],
"configuration": "./textgrid-language-configuration.json"
}
],
"grammars": [
{
"language": "praat",
"scopeName": "source.praat",
"path": "./syntaxes/praat.tmGrammar.json"
},
{
"language": "textgrid",
"scopeName": "source.textgrid",
"path": "./syntaxes/textgrid.tmGrammar.json"
}
],
"commands": [
{
"command": "praatvscode.definePath",
"title": "Define a path for the Praat executable"
},
{
"command": "praatvscode.getPath",
"title": "Show the current path for the Praat executable"
},
{
"command": "praatvscode.curFile",
"title": "Show the path for the active file"
},
{
"command": "praatvscode.runScript",
"title": "Run the current script in the background using Praat"
},
{
"command": "praatvscode.openInPraat",
"title": "Open the current script in Praat (with GUI)"
},
{
"command": "praatvscode.runInPraat",
"title": "Run the current script in Praat (with GUI)"
},
{
"command": "praatvscode.getPraatVersion",
"title": "Get version info from Praat"
},
{
"command": "editor.action.revealDefinition",
"title": "Go to this symbol's declaration"
},
{
"command": "editor.action.goToReferences",
"title": "Peek references to this symbol"
}
],
"configuration": {
"title": "PraatVSCode",
"properties": {
"praatvscode.runButtonOne": {
"type": "string",
"default": "praatvscode.runScript",
"scope": "resource",
"enum": [
"praatvscode.runScript",
"praatvscode.runInPraat",
"praatvscode.openInPraat"
],
"enumDescriptions": [
"Runs a script in the background without opening Praat and simulates a Praat info window",
"Runs a script in Praat after calling the Praat GUI",
"Opens a script in the Praat code editor but does not run it"
],
"description": "Select a command to associate with the first Praat run button in the status bar."
},
"praatvscode.runButtonTwo": {
"type": "string",
"default": "praatvscode.runInPraat",
"scope": "resource",
"enum": [
"praatvscode.runScript",
"praatvscode.runInPraat",
"praatvscode.openInPraat"
],
"enumDescriptions": [
"Runs a script in the background without opening Praat and simulates a Praat info window",
"Runs a script in Praat after calling the Praat GUI",
"Opens a script in the Praat code editor but does not run it"
],
"description": "Select a command to associate with the second Praat run button in the status bar."
},
"praatvscode.selectionTrackerConfig": {
"type": "boolean",
"default": "0",
"scope": "resource",
"description": "Select whether you want to see the Praat object selection tracker. (Test feature)"
},
"praatvscode.statusBarItemVerbosity": {
"type": "string",
"default": "Long text",
"scope": "resource",
"enum": [
"Icons only",
"Short text",
"Long text"
],
"enumDescriptions": [
"Only displays icons for the run buttons and line number for selection tracker",
"Displays short descriptions for all status bar items",
"Displays long descriptions for all status bar items"
],
"description": "Select the verbosity of PraatVSCode status bar items."
}
}
},
"snippets": [
{
"language": "praat",
"path": "./snippets.json"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.64.0",
"@types/glob": "^7.2.0",
"@types/mocha": "^9.0.0",
"@types/node": "14.x",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"eslint": "^8.6.0",
"glob": "^7.2.0",
"mocha": "^9.1.3",
"typescript": "^4.5.4",
"@vscode/test-electron": "^2.0.3"
}
}