-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
126 lines (126 loc) · 3.38 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
{
"name": "vscode-translator-voice",
"displayName": "Translator Voice",
"description": "Multi-language text translation and TTS (text-to-speech) using Azure Cognitive Services",
"version": "0.5.0",
"license": "MIT",
"publisher": "yokawasa",
"repository": {
"type": "git",
"url": "https://github.com/yokawasa/vscode-translator-voice.git"
},
"icon": "assets/icon.png",
"engines": {
"vscode": "^1.36.0"
},
"categories": [
"Other"
],
"keywords": [
"translate",
"translator",
"multi-language",
"text-to-speech",
"tts",
"voice",
"speech"
],
"activationEvents": [
"*"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "extension.translatorvoice.togglevoice",
"title": "Toggle Voice",
"category": "TranslatorVoice"
},
{
"command": "extension.translatorvoice.translate",
"title": "Translate",
"category": "TranslatorVoice"
}
],
"keybindings": [
{
"command": "extension.translatorvoice.translate",
"key": "ctrl+shift+t",
"mac": "cmd+shift+t",
"when": "editorHasSelection"
}
],
"menus": {
"commandPalette": [
{
"command": "extension.translatorvoice.translate",
"when": "editorHasSelection"
}
]
},
"configuration": {
"type": "object",
"title": "Translator Voice Configuration",
"properties": {
"translatorvoice.subKeyTranslator": {
"type": "string",
"default": "********************************",
"description": "Subscription Key for Azure Cognitive Translator API"
},
"translatorvoice.subKeySpeech": {
"type": "string",
"default": "********************************",
"description": "Subscription Key for Azure Cognitive Speech API"
},
"translatorvoice.regionSpeechApi": {
"type": "string",
"default": "japaneast",
"description": "Region for Azure Cognitive Speech API (ex, japaneast)"
},
"translatorvoice.targetLanguage": {
"type": "string",
"default": "ja",
"description": "Target Language Code (en, fr, de, ja, zh-Hans,...)"
},
"translatorvoice.defaultVoiceEnabled": {
"type": "boolean",
"default": true,
"description": "Whether to enabled voice feature by default (true or false)"
},
"translatorvoice.voiceGender": {
"type": "string",
"default": "female",
"description": " Gender for Speaker voice (male or female)"
}
}
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/md5": "^2.1.33",
"@types/mocha": "^5.2.6",
"@types/needle": "^2.0.4",
"@types/node": "^10.12.21",
"@types/vscode": "^1.36.0",
"glob": "^7.1.4",
"mocha": "^8.2.1",
"tslint": "^5.12.1",
"typescript": "^3.3.1",
"vscode-test": "^1.0.0-next.0"
},
"dependencies": {
"fs": "0.0.1-security",
"md5": "^2.2.1",
"needle": "^2.2.4",
"node-wav-player": "^0.1.0",
"readline-sync": "^1.4.9",
"uuidv4": "^4.0.0"
}
}