-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
126 lines (126 loc) · 3.94 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
{
"name": "ilatex",
"displayName": "i-LaTeX",
"description": "Interactive code visualisations for LaTeX documents.",
"icon": "misc/vscode-icon.png",
"version": "1.0.1",
"license": "SEE LICENSE IN LICENSE.md",
"repository": {
"type": "git",
"url": "https://github.com/exsitu-projects/ilatex"
},
"publisher": "exsitu",
"private": true,
"engines": {
"vscode": "^1.57.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension/core/extension.js",
"contributes": {
"commands": [
{
"command": "ilatex.showDocumentCreationMenu",
"title": "Display a menu to choose how to create a new iLaTeX document"
},
{
"command": "ilatex.createDocumentFromActiveEditor",
"title": "Create an iLaTeX document from the active editor",
"enablement": "resourceLangId == latex"
},
{
"command": "ilatex.createDocumentFromActiveEditorWithoutTransitionals",
"title": "Create an iLaTeX document from the active editor (disable transitionals)",
"enablement": "resourceLangId == latex"
},
{
"command": "ilatex.recompileDocumentsUsingActiveEditor",
"title": "Recompile the iLaTeX documents that use the file in the active editor",
"enablement": "ilatex:hasActiveInstances == true"
},
{
"command": "ilatex.destroyAllDocuments",
"title": "Destroy all the iLaTeX documents",
"enablement": "ilatex:hasActiveInstances == true"
}
],
"snippets": [
{
"language": "latex",
"path": "./misc/vscode-latex-snippets.json"
}
],
"configuration": {
"title": "i-LaTeX",
"properties": {
"ilatex.enableLocalLogging": {
"type": "string",
"enum": [
"Enable (using regular files)",
"Enable (using hidden files)",
"Disable"
],
"default": "Disable",
"scope": "application",
"markdownDescription": "Control the automatic logging of i-LaTeX usage events in .ilatex-logs files that are located **in the same directories** than the edited LaTeX files.",
"enumDescriptions": [
"Log events in regular <filename>.ilatex-logs files.",
"Log events in hidden .<filename>.ilatex-logs files.",
"Do not log any event at this location."
]
},
"ilatex.enableCentralisedLogging": {
"type": "boolean",
"default": false,
"markdownDescription": "Enable the automatic logging of i-LaTeX usage events **in a unique, centralised directory**. If enabled, log files will be written in the directory specified by `#ilatex.centralisedLoggingDirectoryPath#`."
},
"ilatex.centralisedLoggingDirectoryPath": {
"type": "string",
"default": "~/.ilatex/logs/",
"markdownDescription": "Absolute path to the directory where centralised log files should be written. i-LaTeX will attempt to create every missing directory in the path. Only applies when `#ilatex.enableCentralisedLogging#` is enabled."
},
"ilatex.extraLatexmkOptions": {
"type": "string",
"default": "",
"markdownDescription": "Extra options to append to the `latexmk` command, that is used to compile LaTeX documents."
}
}
}
},
"extensionDependencies": [
"torn4dom4n.latex-support"
],
"scripts": {
"lint": "eslint src --ext ts",
"watch-core": "tsc --build --watch ./",
"watch-webview": "rollup -cw",
"build-core": "tsc --build ./",
"build-webview": "rollup -c",
"build": "yarn run build-webview; yarn run build-core",
"package": "vsce package -o ilatex.vsix",
"clean": "rm -rf out"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/node": "^16.4.2",
"@types/parsimmon": "^1.10.1",
"@types/vscode": "^1.42.0",
"@types/vscode-webview": "^1.57.0",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "5.17.0",
"@vscode/vsce": "^2.23.0",
"eslint": "^8.12.0",
"glob": "^7.1.6",
"html-minifier": "^4.0.0",
"rollup": "^2.26.5",
"rollup-plugin-typescript2": "^0.31.2",
"typescript": "^4.2.0"
},
"dependencies": {
"parsimmon": "1.16.0"
}
}