-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
128 lines (128 loc) · 2.91 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
{
"name": "vscode-covert-reader",
"displayName": "Covert Reader",
"description": "Read text file in the status bar",
"version": "0.0.2",
"publisher": "yihuajack",
"author": "Yihua Liu",
"license": "MIT",
"engines": {
"vscode": "^1.52.0"
},
"homepage": "https://github.com/yihuajack/vscode-covert-reader/blob/master/README.md",
"repository": {
"type": "git",
"url": "https://github.com/yihuajack/vscode-covert-reader.git"
},
"bugs": {
"url": "https://github.com/yihuajack/vscode-covert-reader/issues"
},
"categories": [
"Other"
],
"icon": "images/covert-reader-logo-round.png",
"keywords": [
"txt",
"book",
"看书",
"摸鱼"
],
"activationEvents": [
"*"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "Covert Reader",
"type": "object",
"properties": {
"covert-reader.currentLineNumber": {
"type": "number",
"default": 0,
"description": "The current line number of the text file (starting from 1)"
},
"covert-reader.filePath": {
"type": "string",
"default": "",
"description": "The absolute path to the text file"
},
"covert-reader.lineBreak": {
"type": "string",
"default": "\t",
"description": "The symbol used to replace line break (default: horizontal tab)"
},
"covert-reader.lineLength": {
"type": "number",
"default": 60,
"description": "The maximum number of characters in one line (depends on language)",
"minimum": 1
}
}
},
"commands": [
{
"command": "extension.getPreviousLine",
"title": "Get Previous Line"
},
{
"command": "extension.getNextLine",
"title": "Get Next Line"
},
{
"command": "extension.jumpLine",
"title": "Jump to Specified Line"
},
{
"command": "extension.hideLine",
"title": "Hide Line"
}
],
"keybindings": [
{
"command": "covert-reader.getPreviousLine",
"key": "alt+,",
"mac": "option+,",
"when": "editorTextFocus"
},
{
"command": "covert-reader.getNextLine",
"key": "alt+.",
"mac": "option+.",
"when": "editorTextFocus"
},
{
"command": "covert-reader.jumpLine",
"key": "alt+/",
"mac": "option+/"
},
{
"command": "covert-reader.hideLine",
"key": "alt+d",
"mac": "option+d"
}
]
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"deploy": "vsce publish --yarn"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.2.1",
"@types/node": "^12.11.7",
"@types/vscode": "^1.52.0",
"@typescript-eslint/eslint-plugin": "^4.14.0",
"@typescript-eslint/parser": "^4.26.0",
"eslint": "^7.27.0",
"glob": "^7.1.6",
"mocha": "^8.3.0",
"typescript": "^4.2.4",
"vsce": "^1.83.0",
"vscode-test": "^1.4.1"
}
}