-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
118 lines (118 loc) · 3.49 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
{
"name": "tex2html",
"displayName": "tex2html",
"publisher": "ATC",
"description": "tex2html extension for vscode",
"version": "0.0.22",
"engines": {
"vscode": "^1.87.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"keybindings": [
{
"command": "extension.convertTexToHtml",
"key": "ctrl+alt+h",
"mac": "cmd+alt+h",
"when": "editorTextFocus && resourceLangId == latex"
},
{
"command": "extension.generatePDF",
"key": "ctrl+alt+p",
"mac": "cmd+alt+p",
"when": "editorTextFocus && resourceLangId == latex"
}
],
"commands": [
{
"command": "extension.convertTexToHtml",
"title": "Convert TEX to HTML",
"icon": {
"light": "./images/light/tex-html.svg",
"dark": "./images/dark/tex-html.svg"
}
},
{
"command": "extension.generatePDF",
"title": "Generate PDF",
"icon": {
"light": "./images/light/pdf.svg",
"dark": "./images/dark/pdf.svg"
}
},
{
"command": "extension.selectDirectory",
"title": "Select Directory"
}
],
"menus": {
"editor/title": [
{
"when": "resourceLangId == latex",
"command": "extension.convertTexToHtml",
"group": "navigation"
},
{
"when": "resourceLangId == latex",
"command": "extension.generatePDF",
"group": "navigation"
}
]
},
"configuration": {
"title": "Tex2HTML",
"properties": {
"tex2HTML.command.commandForPandoc": {
"type": "string",
"default": "pandoc",
"description": "Specifies the command for running pandoc.",
"markdownDescription": "Select the path to pandoc executable manually. [Select directory](command:extension.selectDirectory?%22tex2HTML.command.commandForPandoc%22)"
},
"tex2HTML.command.commandForPython": {
"type": "string",
"default": "python3",
"description": "Specifies the command for running pandoc.",
"markdownDescription": "Select the path to python executable manually. [Select directory](command:extension.selectDirectory?%22tex2HTML.command.commandForPython%22)"
},
"tex2HTML.latex.commandForLatex": {
"type": "string",
"default": "pdflatex",
"description": "Specifies the command for latex compliling.",
"markdownDescription": "Select the path to latex compiler executable manually. [Select directory](command:extension.selectDirectory?%22tex2HTML.latex.commandForLatex%22)"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/chai": "^4.3.14",
"@types/jsdom": "^21.1.6",
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/vscode": "^1.87.0",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"@vscode/test-cli": "^0.0.8",
"@vscode/test-electron": "^2.3.9",
"chai": "^5.1.0",
"eslint": "^8.57.0",
"mocha": "^10.4.0",
"typescript": "^5.3.3"
},
"dependencies": {
"axios": "^1.7.2",
"cheerio": "^1.0.0-rc.12",
"jsdom": "^24.0.0"
}
}