-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 2.16 KB
/
Copy pathpackage.json
File metadata and controls
82 lines (82 loc) · 2.16 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
{
"name": "intento-vscode-translator",
"displayName": "Inten.to VSCode Translator",
"description": "Translate selected text via Inten.to API",
"version": "0.0.5",
"engines": {
"vscode": "^1.103.0"
},
"categories": [
"Other"
],
"publisher": "local",
"main": "dist/build.js",
"repository": {
"type": "git",
"url": "https://github.com/xcfw/intento-vscode-translator"
},
"contributes": {
"commands": [
{
"command": "intento.translate",
"title": "Inten.to: Translate"
}
],
"menus": {
"editor/context": [
{
"when": "editorHasSelection",
"command": "intento.translate",
"group": "navigation@1"
}
]
},
"keybindings": [
{
"command": "intento.translate",
"key": "alt+shift+t",
"mac": "alt+shift+t",
"when": "editorTextFocus && editorHasSelection"
}
],
"configuration": {
"title": "Inten.to VSCode Translator",
"repository": "https://github.com/xcfw/intento-vscode-translator",
"properties": {
"intento.apiKey": {
"type": "string",
"default": "",
"description": "Your API key for the Inten.to API. Get it from https://intento.ai/dashboard/api-keys",
"secret": true
},
"intento.targetLanguage": {
"type": "string",
"default": "en",
"description": "The target language for translation (e.g., en, pt, es, it, de, fr, ua, ru)."
}
}
}
},
"scripts": {
"lint": "eslint .",
"pretest": "pnpm run lint",
"test": "vscode-test --extensionPath=./intento-vscode-translator-0.0.4.vsix",
"build": "pnpm run build:extension && pnpm run build:vsix",
"build:extension": "node esbuild.js",
"build:vsix": "vsce package --no-dependencies"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "22.x",
"@types/vscode": "^1.103.0",
"@vscode/test-cli": "^0.0.11",
"@vscode/test-electron": "^2.5.2",
"@vscode/vsce": "^3.6.0",
"esbuild": "^0.25.9",
"eslint": "^9.32.0",
"sinon": "^21.0.0"
},
"dependencies": {
"axios": "^1.11.0"
}
}