LaTeX-Workshop/package.json

180 lines
6.1 KiB
JSON
Raw Normal View History

2016-12-26 11:05:30 +03:00
{
"name": "latex-workshop",
"displayName": "LaTeX Workshop",
2017-01-15 05:20:34 +03:00
"description": "Boost LaTeX typesetting efficiency with preview, compile, autocomplete, colorize, and more.",
2017-01-01 11:08:40 +03:00
"icon": "img/icon.png",
2017-01-19 07:12:37 +03:00
"version": "0.2.5",
2016-12-26 15:13:34 +03:00
"publisher": "James-Yu",
"license": "MIT",
"homepage": "https://github.com/James-Yu/LaTeX-Workshop",
2016-12-26 16:07:54 +03:00
"repository": {
"type": "git",
"url": "https://github.com/James-Yu/LaTeX-Workshop.git"
},
2016-12-26 11:05:30 +03:00
"engines": {
2017-01-15 05:20:34 +03:00
"vscode": "^1.8.0"
2016-12-26 11:05:30 +03:00
},
"categories": [
"Languages",
"Snippets"
2016-12-26 11:05:30 +03:00
],
2016-12-26 16:07:54 +03:00
"keywords": [
"latex",
"tex",
"compile",
"preview",
"hint"
],
2016-12-26 11:05:30 +03:00
"activationEvents": [
2016-12-26 16:07:54 +03:00
"onLanguage:latex"
2016-12-26 11:05:30 +03:00
],
"main": "./out/src/extension",
"contributes": {
"languages": [
{
"id": "latex",
"aliases": [
"LaTeX",
"latex"
],
"extensions": [
".tex"
],
"configuration": "./data/lang_config.json"
}
],
"grammars": [
{
"language": "latex",
"scopeName": "text.tex.latex",
"path": "./data/grammar.tmLanguage"
}
],
2016-12-26 16:07:54 +03:00
"commands": [
{
"command": "latex-workshop.compile",
"title": "Compile LaTeX to PDF"
},
{
2016-12-27 07:26:45 +03:00
"command": "latex-workshop.preview",
"title": "Show Preview"
},
{
"command": "latex-workshop.preview_browser",
"title": "Show In-browser Preview"
2016-12-27 08:49:00 +03:00
},
{
"command": "latex-workshop.source",
"title": "Show LaTeX Column"
},
{
"command": "latex-workshop.synctex",
"title": "Find Here in Preview"
2016-12-26 16:07:54 +03:00
}
],
2016-12-26 15:13:34 +03:00
"configuration": {
"type": "object",
"title": "LaTeX Workshop configuration",
"properties": {
"latex-workshop.compiler": {
"type": "string",
"default": "pdflatex",
"description": "LaTeX compiler to use. Default: pdflatex."
},
"latex-workshop.compile_argument": {
"type": "string",
"default": "-synctex=1 -interaction=nonstopmode -file-line-error",
"description": "Compiler options to use. Default: -synctex=1 -interaction=nonstopmode -file-line-error."
2016-12-26 15:13:34 +03:00
},
"latex-workshop.compile_workflow": {
"type": "array",
2016-12-26 16:07:54 +03:00
"default": [
"%compiler% %arguments% %document%",
"bibtex %document%",
"%compiler% %arguments% %document%",
"%compiler% %arguments% %document%"
],
2016-12-26 15:13:34 +03:00
"description": "Sequence of commands to compile LaTeX to PDF. Available placeholders: %compiler%, %arguments%, %document%."
2016-12-26 16:07:54 +03:00
},
"latex-workshop.compile_on_save": {
"type": "boolean",
"default": true,
"description": "Compile LaTeX when user saves LaTeX source file. Default: true."
2017-01-04 10:57:06 +03:00
},
"latex-workshop.main_document": {
"type": "string",
"default": null,
"description": "Define the main document for LaTeX project. Must be the relative path from the project root folder. Set to null for auto-detection. Default: null."
2017-01-19 07:09:17 +03:00
},
"latex-workshop.log_level": {
"type": "string",
"default": "all",
"description": "Define the LaTeX log parser output level. Available levels: 'all' for all log entries, 'warning' for warnings and errors, 'error' for errors only. Default: 'all'."
2016-12-26 15:13:34 +03:00
}
}
2016-12-27 07:26:45 +03:00
},
"menus": {
"editor/context": [
{
"when": "resourceLangId == latex",
"command": "latex-workshop.compile",
"group": "1_modification"
},
{
"when": "resourceLangId == latex",
"command": "latex-workshop.preview",
"group": "navigation@101"
},
{
"when": "resourceLangId == latex",
"command": "latex-workshop.preview_browser",
"group": "navigation@102"
},
{
"when": "resourceLangId == latex",
"command": "latex-workshop.synctex",
"group": "navigation@103"
}
],
2016-12-27 07:26:45 +03:00
"editor/title": [
{
"when": "editorLangId == latex",
"command": "latex-workshop.preview",
"group": "navigation"
2016-12-27 08:49:00 +03:00
},
{
"when": "resourceScheme == latex-workshop-preview",
"command": "latex-workshop.source",
"group": "navigation"
2016-12-27 07:26:45 +03:00
}
]
2017-01-15 05:20:34 +03:00
}
2016-12-26 11:05:30 +03:00
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
2016-12-26 15:13:34 +03:00
"postinstall": "node ./node_modules/vscode/bin/install"
2016-12-26 11:05:30 +03:00
},
2017-01-01 08:03:34 +03:00
"capabilities" : {
"completionProvider" : {
"resolveProvider": "true"
}
},
"dependencies": {
2016-12-28 08:09:11 +03:00
"ws": "^1.1.1",
"child-process-promise": "^2.2.0",
"hasbin": "^1.2.3",
2017-01-17 11:28:53 +03:00
"open": "^0.0.5",
2017-01-19 06:06:01 +03:00
"underscore-plus": "^1.6.1",
"unorm": "^1.3.3",
2017-01-19 11:13:14 +03:00
"amd-loader": "^0.0.5",
"zotero-bibtex-parse": "^1.2.1"
},
2016-12-26 11:05:30 +03:00
"devDependencies": {
"typescript": "^2.0.3",
"vscode": "^1.0.0",
"mocha": "^2.3.3",
"@types/node": "^6.0.40",
"@types/mocha": "^2.2.32"
}
}