-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
118 lines (118 loc) · 2.8 KB
/
package.json
File metadata and controls
118 lines (118 loc) · 2.8 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
115
116
117
118
{
"name": "weblate",
"displayName": "Weblate (unofficial)",
"description": "Manage all your translations messages in Weblate",
"version": "1.0.0",
"engines": {
"vscode": "^1.57.0"
},
"categories": [
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/Neko80/vscode-weblate-extension.git"
},
"icon": "icon.png",
"activationEvents": [
"onCommand:weblate.create",
"onCommand:weblate.search"
],
"publisher": "ianfa",
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "weblate.create",
"title": "Weblate: Create"
},
{
"command": "weblate.search",
"title": "Weblate: Search"
}
],
"keybindings": [
{
"command": "weblate.create",
"key": "ctrl+shift+t",
"mac": "cmd+shift+t",
"when": "editorTextFocus"
},
{
"command": "weblate.search",
"key": "ctrl+shift+alt+t",
"mac": "cmd+shift+alt+t",
"when": "editorTextFocus"
}
],
"configuration": {
"title": "Weblate",
"properties": {
"weblate.baseUrl": {
"type": "string",
"scope": "window",
"description": "Base URL of your Weblate website",
"default": "https://weblate.example.com"
},
"weblate.project": {
"type": "string",
"scope": "window",
"description": "Weblate project to use for the translations",
"default": "Default"
},
"weblate.component": {
"type": "string",
"scope": "window",
"description": "Weblate project's component to use for the translations",
"default": "Default"
},
"weblate.apiKey": {
"type": "string",
"scope": "window",
"description": "API key of the user with read and write permissions on translations",
"default": "API_KEY"
},
"weblate.ngxTranslate": {
"type": "boolean",
"scope": "window",
"description": "Enable ngx-translate mode, keys will be pasted as {{ 'KEY'|translate }} in html files and this.translate.get('KEY') in typescript files",
"default": true
},
"weblate.defaultLanguage": {
"type": "string",
"scope": "window",
"description": "Default language code",
"default": "en"
}
}
}
},
"scripts": {
"watch": "webpack --watch",
"build": "webpack",
"lint": "eslint src --ext ts",
"generate-vsix": "npx vsce package"
},
"devDependencies": {
"@types/flat": "^5.0.2",
"@types/glob": "^7.1.3",
"@types/mocha": "^8.2.2",
"@types/node": "14.x",
"@types/vscode": "^1.57.0",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"eslint": "^7.27.0",
"glob": "^7.1.7",
"mocha": "^8.4.0",
"ts-loader": "^9.2.2",
"typescript": "^4.3.2",
"vscode-test": "^1.5.2",
"webpack": "^5.38.1",
"webpack-cli": "^4.7.0"
},
"dependencies": {
"axios": "^0.21.1",
"constant-case": "^3.0.4",
"flat": "^5.0.2"
}
}