-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
184 lines (184 loc) · 5.62 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
184
{
"name": "texpresso-basic",
"displayName": "TeXpresso",
"description": "Basic extension for interacting with TeXpresso for live previewing LaTeX documents",
"publisher": "DominikPeters",
"version": "1.5.1",
"icon": "./assets/texpresso_logo.png",
"homepage": "https://github.com/DominikPeters/texpresso-vscode",
"repository": {
"type": "git",
"url": "https://github.com/DominikPeters/texpresso-vscode.git"
},
"engines": {
"vscode": "^1.88.0"
},
"categories": [
"Education",
"Other"
],
"keywords": [
"texpresso",
"latex",
"tex",
"preview",
"syncTeX"
],
"activationEvents": [],
"main": "./dist/extension.js",
"license": "MIT",
"contributes": {
"commands": [
{
"command": "texpresso.startDocument",
"title": "TeXpresso: Start Document"
},
{
"command": "texpresso.freshCompile",
"title": "TeXpresso: Fresh Compile",
"enablement": "texpresso.running"
},
{
"command": "texpresso.previousPage",
"title": "TeXpresso: Show Previous Page in Preview Window",
"icon": "$(arrow-circle-left)",
"enablement": "texpresso.inActiveEditor"
},
{
"command": "texpresso.nextPage",
"title": "TeXpresso: Show Next Page in Preview Window",
"icon": "$(arrow-circle-right)",
"enablement": "texpresso.inActiveEditor"
},
{
"command": "texpresso.syncTeXForward",
"title": "TeXpresso: Show Current Position in Preview Window (SyncTeX)",
"shortTitle": "TeXpresso SyncTeX",
"enablement": "texpresso.inActiveEditor"
},
{
"command": "texpresso.syncTeXForwardShortName",
"title": "TeXpresso SyncTeX",
"enablement": "texpresso.inActiveEditor"
},
{
"command": "texpresso.activateSyncTeXForward",
"title": "TeXpresso: Activate SyncTeX Forward",
"enablement": "texpresso.inActiveEditor && !config.texpresso.syncTeXForwardOnSelection",
"icon": "$(sync-ignored)"
},
{
"command": "texpresso.deactivateSyncTeXForward",
"title": "TeXpresso: Deactivate SyncTeX Forward",
"enablement": "texpresso.inActiveEditor && config.texpresso.syncTeXForwardOnSelection",
"icon": "$(sync)"
},
{
"command": "texpresso.adoptTheme",
"title": "TeXpresso: Adopt Editor Color Theme",
"enablement": "texpresso.running"
},
{
"command": "texpresso.defaultTheme",
"title": "TeXpresso: Adopt Default Color Theme",
"enablement": "texpresso.running"
},
{
"command": "texpresso.stop",
"title": "TeXpresso: Stop",
"enablement": "texpresso.running"
}
],
"configuration": {
"title": "TeXpresso",
"properties": {
"texpresso.command": {
"type": "string",
"default": "texpresso",
"description": "Path to the texpresso binary"
},
"texpresso.useWSL": {
"type": "boolean",
"default": false,
"description": "Specifies whether texpresso should be run in WSL (Windows Subsystem for Linux)"
},
"texpresso.syncTeXForwardOnSelection": {
"type": "boolean",
"default": true,
"description": "Specifies whether the preview should be updated when the selection in the editor changes (SyncTeX forward)"
},
"texpresso.useEditorTheme": {
"type": "boolean",
"default": false,
"description": "Specifies whether the preview should use the same color theme as the editor (if activated), or the default theme (otherwise)"
}
}
},
"menus": {
"editor/title": [
{
"when": "texpresso.inActiveEditor",
"command": "texpresso.previousPage",
"group": "navigation@1"
},
{
"when": "texpresso.inActiveEditor",
"command": "texpresso.nextPage",
"group": "navigation@2"
},
{
"when": "texpresso.inActiveEditor && !config.texpresso.syncTeXForwardOnSelection",
"command": "texpresso.activateSyncTeXForward",
"group": "navigation@1"
},
{
"when": "texpresso.inActiveEditor && config.texpresso.syncTeXForwardOnSelection",
"command": "texpresso.deactivateSyncTeXForward",
"group": "navigation@1"
}
],
"editor/context": [
{
"when": "texpresso.inActiveEditor",
"command": "texpresso.syncTeXForwardShortName",
"group": "2_preview"
}
],
"commandPalette": [
{
"command": "texpresso.syncTeXForwardShortName",
"when": "false"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/tmp": "^0.2.6",
"@types/vscode": "^1.88.0",
"@typescript-eslint/eslint-plugin": "^7.7.1",
"@typescript-eslint/parser": "^7.7.1",
"@vscode/test-cli": "^0.0.8",
"@vscode/test-electron": "^2.3.9",
"eslint": "^8.57.0",
"ts-loader": "^9.5.1",
"typescript": "^5.4.5",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"tmp": "^0.2.3"
}
}