-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
114 lines (114 loc) · 2.93 KB
/
package.json
File metadata and controls
114 lines (114 loc) · 2.93 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
{
"name": "codevision",
"displayName": "Debugger for blind",
"description": "A sample extension to show off the Webview UI Toolkit for Visual Studio Code being used in a webview view.",
"version": "0.0.1",
"engines": {
"vscode": "^1.55.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onView:weather.weatherView",
"onCommand:speech.speakDocument",
"onCommand:speech.speakSelection",
"onCommand:speech.stopSpeaking"
],
"main": "./out/extension.js",
"contributes": {
"views": {
"explorer": [
{
"type": "webview",
"id": "weather.weatherView",
"name": "Tree View"
}
]
},
"configuration": {
"type": "object",
"title": "Speech configuration",
"properties": {
"speech.voice": {
"type": "string",
"default": null,
"description": "Name of voice used to speak text."
},
"speech.speed": {
"type": "number",
"default": 1.5,
"description": "Speech rate speed multiplier."
},
"speech.substitutions": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"default": {
"_": " "
},
"description": "A dictionary of characters to replace with other characters before speaking. This can help with characters that text-to-speech reads in an unexpected way."
}
}
},
"commands": [
{
"command": "speech.speakDocument",
"title": "Speak Document",
"when": "editorTextFocus"
},
{
"command": "speech.speakSelection",
"title": "Speak Selection",
"when": "editorTextFocus && editorHasSelection"
},
{
"command": "speech.stopSpeaking",
"title": "Stop Speaking"
}
],
"menus": {
"editor/context": [
{
"command": "speech.speakDocument",
"when": "!editorHasSelection",
"group": "8_speech"
},
{
"command": "speech.speakSelection",
"when": "editorHasSelection",
"group": "8_speech"
},
{
"command": "speech.stopSpeaking",
"group": "8_speech"
}
]
}
},
"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"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/node": "^12.11.7",
"@types/vscode": "^1.55.0",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"eslint": "^7.19.0",
"glob": "^7.1.6",
"prettier": "^2.2.1",
"typescript": "^4.1.3",
"vscode-test": "^1.5.0"
},
"dependencies": {
"@vscode/webview-ui-toolkit": "^0.9.2",
"say": "^0.16.0",
"weather-js": "^2.0.0"
}
}