-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
119 lines (119 loc) · 3.34 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
{
"name": "ti18n",
"displayName": "Ti18n",
"description": "一个国际化字段提示插件,对国际化配置文件中提供的国际化字段进行特殊标注,鼠标移入时,可查看对应的国际化语言。",
"version": "0.1.7",
"author": "https://github.com/showlotus",
"publisher": "showlotus",
"license": "MIT",
"icon": "res/Ti18n.png",
"engines": {
"vscode": "^1.57.0"
},
"repository": {
"type": "git",
"url": "https://github.com/showlotus/Ti18n"
},
"homepage": "https://github.com/showlotus/Ti18n#readme",
"categories": [
"Other",
"Snippets"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [],
"configuration": [
{
"title": "ti18n",
"properties": {
"ti18n.enable": {
"type": "boolean",
"default": true,
"description": "启用或禁用插件"
},
"ti18n.configDirs": {
"type": "array",
"default": [
"i18n",
"locale"
],
"description": "存放国际化配置的文件夹名"
},
"ti18n.customLanguages": {
"type": "array",
"default": [],
"description": "自定义的语言列表"
},
"ti18n.extnames": {
"type": "array",
"default": [
".js",
".jsx",
".ts",
".tsx",
".vue"
],
"description": "生效的文件类型"
},
"ti18n.exclude": {
"type": "array",
"default": [],
"description": "忽略的文件夹或文件"
},
"ti18n.shortcutLanguages": {
"type": "array",
"default": [],
"description": "可展示的快捷语言类型"
},
"ti18n.shortcutLanguageMaxLength": {
"type": "number",
"default": 10,
"minimum": 3,
"description": "快捷语言提示的最大文本长度"
}
}
}
]
},
"scripts": {
"package": "vsce package",
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"prettier": "prettier --write src/**/*.ts",
"refresh": "rm -rf **/node_modules && pnpm i --offline",
"test": "jest",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
},
"devDependencies": {
"@babel/types": "^7.24.0",
"@types/babel__generator": "^7.6.8",
"@types/babel__traverse": "^7.20.5",
"@types/jest": "^29.5.12",
"@types/json-to-ast": "^2.1.4",
"@types/node": "20.2.5",
"@types/vscode": "1.57.0",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"@vscode/test-electron": "^2.3.2",
"@vscode/vsce": "^2.20.0",
"conventional-changelog-cli": "^3.0.0",
"eslint": "^8.41.0",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"ts-jest": "^29.1.2",
"typescript": "^5.1.3"
},
"dependencies": {
"@babel/generator": "^7.24.4",
"@babel/parser": "^7.24.4",
"@babel/traverse": "^7.24.1",
"fast-glob": "^3.3.1",
"json-to-ast": "^2.1.0"
}
}