-
Notifications
You must be signed in to change notification settings - Fork 64
/
package.json
183 lines (183 loc) · 5.03 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
{
"name": "qwerty-learner",
"displayName": "Qwerty Learner",
"description": "为 Coder 设计的单词记忆与英语肌肉记忆锻炼软件 摸🐟版",
"version": "0.3.9",
"publisher": "kaiyi",
"icon": "docs/logo.png",
"engines": {
"vscode": "^1.75.0"
},
"license": "MIT",
"keywords": [
"英语",
"单词",
"记忆",
"打字",
"摸鱼"
],
"categories": [
"Other"
],
"bugs": {
"url": "https://github.com/Kaiyiwing/qwerty-learner-vscode/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/Kaiyiwing/qwerty-learner-vscode/"
},
"homepage": "https://github.com/Kaiyiwing/qwerty-learner-vscode",
"scripts": {
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"vscode:prepublish": "webpack --mode production",
"compile": "webpack --mode development",
"watch": "webpack --mode development --watch",
"test-compile": "tsc -p ./",
"vsce:publish": "vsce package"
},
"main": "./dist/index",
"activationEvents": [
"onCommand:qwerty-learner.start",
"onCommand:qwerty-learner.changeChapter",
"onCommand:qwerty-learner.changeDict",
"onCommand:qwerty-learner.toggleChapterCycle"
],
"contributes": {
"commands": [
{
"command": "qwerty-learner.start",
"title": "Qwerty Learner Start/Pause"
},
{
"command": "qwerty-learner.changeChapter",
"title": "Qwerty Learner Change Chapter"
},
{
"command": "qwerty-learner.changeDict",
"title": "Qwerty Learner Change Dictionary"
},
{
"command": "qwerty-learner.toggleWordVisibility",
"title": "Qwerty Learner Toggle Word Visibility"
},
{
"command": "qwerty-learner.toggleReadOnlyMode",
"title": "Qwerty Learner Toggle Read Only Mode"
},
{
"command": "qwerty-learner.toggleChapterCycleMode",
"title": "Qwerty Learner Change chapter Cycle Mode"
}
],
"keybindings": [
{
"command": "qwerty-learner.start",
"key": "shift+alt+q",
"mac": "ctrl+shift+q",
"when": "editorTextFocus"
},
{
"command": "qwerty-learner.toggleChapterCycleMode",
"key": "shift+alt+c",
"mac": "ctrl+shift+c",
"when": "editorTextFocus"
}
],
"configuration": {
"title": "Qwerty Learner",
"properties": {
"qwerty-learner.keySound": {
"type": "boolean",
"default": true,
"description": "是否开启键盘音"
},
"qwerty-learner.phonetic": {
"type": "string",
"enum": [
"us",
"uk",
"close"
],
"default": "close",
"description": "是否开启音标"
},
"qwerty-learner.chapterLength": {
"type": "integer",
"default": 20,
"minimum": 1,
"maximum": 100,
"description": "每个章节包含的单词数量"
},
"qwerty-learner.wordExerciseTime": {
"type": "integer",
"default": 1,
"minimum": 1,
"maximum": 100,
"description": "每个单词的练习次数"
},
"qwerty-learner.highlightWrongColor": {
"type": "string",
"default": "#EE3D11",
"description": "输入错误时单词的颜色"
},
"qwerty-learner.highlightWrongDelay": {
"type": "number",
"default": 400,
"description": "输入错误时清空输入的延迟时间"
},
"qwerty-learner.readOnlyInterval": {
"type": "number",
"default": 5000,
"description": "只读模式中单词切换间隔时间(ms)"
},
"qwerty-learner.voiceType": {
"type": "string",
"enum": [
"us",
"uk",
"close"
],
"default": "us",
"description": "是否开启发音"
},
"qwerty-learner.placeholder": {
"type": "string",
"enum": [
"_",
"*",
"-",
""
],
"default": "-",
"description": "未输入时的占位符,空表示无占位符(仅当wordVisibility === true时生效)"
},
"qwerty-learner.random": {
"type": "boolean",
"default": false,
"description": "是否章节内单词顺序随机"
}
}
}
},
"devDependencies": {
"@types/lodash": "^4.14.168",
"@types/node": "^12.11.7",
"@types/vscode": "^1.53.0",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"eslint": "^7.19.0",
"eslint-plugin-prettier": "^3.3.1",
"typescript": "^4.1.3",
"vscode-test": "^1.5.0"
},
"dependencies": {
"lodash": "^4.17.21",
"node-loader": "^2.0.0",
"node-wav-player": "^0.2.0",
"ts-loader": "^8.0.17",
"webpack": "^5.21.2",
"webpack-cli": "^4.5.0"
}
}