-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
131 lines (131 loc) · 3.44 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
{
"name": "vue-i18n",
"displayName": "Vue i18n",
"description": "🔖 这个插件能够帮到你方便浏览和编写 Vue i18n",
"version": "1.3.1",
"publisher": "think2011",
"scripts": {
"preinstall": "git submodule update --init --recursive",
"deploy": "vsce publish --yarn",
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile",
"test": "node ./out/test/runTest.js"
},
"engines": {
"vscode": "^1.37.0"
},
"categories": [
"Other"
],
"preview": false,
"activationEvents": [
"onLanguage:vue",
"onLanguage:javascript",
"onLanguage:typescript"
],
"keywords": [
"vue",
"vue-i18n",
"vue i18n",
"i18n"
],
"icon": "static/logo.png",
"repository": {
"type": "git",
"url": "https://github.com/think2011/vscode-vue-i18n.git"
},
"homepage": "https://github.com/think2011/vscode-vue-i18n",
"main": "./out/extension",
"contributes": {
"commands": [
{
"command": "vue-i18n.transView",
"title": "翻译当前文件的i18n",
"icon": {
"light": "./static/icon-translate.svg",
"dark": "./static/icon-translate.svg"
}
},
{
"command": "vue-i18n.autoInitPath",
"title": "vue-i18n: 自动配置路径"
},
{
"command": "vue-i18n.manualInitPath",
"title": "vue-i18n: 手动配置路径"
}
],
"menus": {
"editor/title": [
{
"when": "resourceLangId == vue-html",
"command": "vue-i18n.transView",
"group": "navigation"
},
{
"when": "resourceLangId == vue",
"command": "vue-i18n.transView",
"group": "navigation"
},
{
"when": "resourceLangId == javascript",
"command": "vue-i18n.transView",
"group": "navigation"
},
{
"when": "resourceLangId == typescript",
"command": "vue-i18n.transView",
"group": "navigation"
}
]
},
"configuration": {
"type": "object",
"title": "Vue-i18n",
"properties": {
"vue-i18n.i18nPaths": {
"type": "string",
"default": "",
"description": "翻译文件的目录(相对于项目根目录)"
},
"vue-i18n.i18nCommonPath": {
"type": "string",
"default": "",
"description": "公用翻译文件的目录(相对于项目根目录)。在未找到翻译项时,插件会尝试到该目录下寻找"
},
"vue-i18n.filenameToKebabCase": {
"type": "boolean",
"default": false,
"description": "如果找不到翻译文件,是否尝试将文件名转化为短横线命名格式再次查找"
},
"vue-i18n.sourceLocale": {
"type": "string",
"default": "zh-CN",
"description": "主要语言"
}
}
}
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/lodash": "^4.14.137",
"@types/mocha": "^5.2.6",
"@types/node": "^10.12.21",
"@types/vscode": "^1.37.0",
"@types/yaml": "^1.0.2",
"glob": "^7.1.4",
"mocha": "^6.1.4",
"tslint": "^5.12.1",
"typescript": "^3.3.1",
"vsce": "^1.66.0",
"vscode-test": "^1.0.2"
},
"dependencies": {
"fast-glob": "^2.2.6",
"lodash": "^4.17.21",
"translation.js": "^0.7.5",
"yaml": "^1.6.0"
}
}