-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 3.26 KB
/
Copy pathpackage.json
File metadata and controls
111 lines (111 loc) · 3.26 KB
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
{
"name": "latex-pdf-preview",
"displayName": "LaTeX PDF Preview",
"description": "Live PDF preview for LaTeX documents in VS Code",
"version": "0.0.12",
"publisher": "hwisu",
"icon": "icon.png",
"engines": {
"vscode": "^1.108.0"
},
"repository": {
"type": "git",
"url": "https://github.com/hwisu/latex-pdf-preview"
},
"categories": [
"Other"
],
"main": "./out/extension.js",
"activationEvents": [
"onLanguage:latex",
"onLanguage:tex",
"onCommand:latex-preview.showPreview",
"onCommand:latex-preview.refreshPreview"
],
"contributes": {
"commands": [
{
"command": "latex-preview.showPreview",
"title": "LaTeX: Show Preview",
"icon": "$(open-preview)"
},
{
"command": "latex-preview.refreshPreview",
"title": "LaTeX: Refresh Preview",
"icon": "$(refresh)"
}
],
"menus": {
"editor/title": [
{
"when": "resourceExtname == .tex",
"command": "latex-preview.showPreview",
"group": "navigation"
},
{
"when": "resourceExtname == .tex",
"command": "latex-preview.refreshPreview",
"group": "navigation"
}
]
},
"configuration": {
"title": "LaTeX Preview",
"properties": {
"latex-preview.executablePath": {
"type": "string",
"default": "",
"description": "Custom path to LaTeX executable (leave empty to use system PATH)"
},
"latex-preview.autoCompile": {
"type": "boolean",
"default": true,
"description": "Automatically compile on file save"
},
"latex-preview.debounceDelay": {
"type": "number",
"default": 300,
"minimum": 0,
"maximum": 5000,
"description": "Debounce delay in milliseconds before triggering preview update (default: 300ms)"
},
"latex-preview.throttleDelay": {
"type": "number",
"default": 2000,
"minimum": 0,
"maximum": 10000,
"description": "Minimum interval between preview updates in milliseconds (default: 2000ms)"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"clean": "node --eval \"require('fs').rmSync('out', { recursive: true, force: true })\"",
"compile": "npm run clean && tsc -p .",
"watch": "tsc -watch -p .",
"lint": "eslint \"src/**/*.ts\"",
"lint:fix": "eslint \"src/**/*.ts\" --fix",
"format": "prettier --write \"src/**/*.ts\" \"eslint.config.mjs\"",
"format:check": "prettier --check \"src/**/*.ts\" \"eslint.config.mjs\"",
"pretest": "npm run compile",
"test": "node ./out/test/runTest.js",
"test:unit": "npm run compile && mocha --ui tdd \"out/test/unit/**/*.test.js\""
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/mocha": "^10.0.10",
"@types/node": "^22.19.15",
"@types/vscode": "^1.108.0",
"@typescript-eslint/eslint-plugin": "^8.58.0",
"@typescript-eslint/parser": "^8.58.0",
"@vscode/test-electron": "^2.5.2",
"@vscode/vsce": "^3.7.1",
"eslint": "^10.1.0",
"glob": "^13.0.6",
"globals": "^17.4.0",
"mocha": "^11.7.5",
"prettier": "^3.8.1",
"typescript": "^6.0.2"
}
}