-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
134 lines (134 loc) · 4.58 KB
/
package.json
File metadata and controls
134 lines (134 loc) · 4.58 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "vscode-btex",
"displayName": "vscode-btex",
"description": "btex plugin for VSCode",
"repository": "github:Trebor-Huang/vscode-btex",
"publisher": "TreborHuang",
"version": "0.3.15",
"license": "MIT",
"engines": {
"vscode": "^1.68.0"
},
"categories": [
"Snippets",
"Programming Languages"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "vscode-btex.compile",
"title": "Compile and preview bTeX",
"shortTitle": "Preview",
"icon": "$(open-preview)"
},
{
"command": "vscode-btex.export",
"title": "Export bTeX to PDF/printer",
"shortTitle": "Export",
"icon": "$(rocket)"
},
{
"command": "vscode-btex.restart",
"title": "Restart tikz2svg server"
}
],
"menus": {
"editor/title": [
{
"command": "vscode-btex.compile",
"group": "navigation",
"when": "editorLangId == btex"
},
{
"command": "vscode-btex.export",
"group": "navigation",
"when": "editorLangId == btex"
}
]
},
"languages": [
{
"id": "btex",
"extensions": [
".btx",
".btex"
],
"aliases": [
"bTeX",
"btex"
],
"configuration": "./resources/language/language-configuration.json",
"icon": {
"dark": "./resources/icon_dark.png",
"light": "./resources/icon_light.png"
}
}
],
"grammars": [
{
"language": "btex",
"scopeName": "source.btex",
"path": "./resources/language/btex.tmGrammar.json",
"embeddedLanguages": {
"embedded.latex": "latex"
}
}
],
"snippets": [
{
"language": "btex",
"path": "./resources/snippets.json"
}
],
"configuration": {
"title": "Btex",
"properties": {
"btex.command": {
"type": "string",
"default": "",
"description": "Command to start up tikz2svg server.\nIt usually should be `yarn start` or `yarn.cmd start` (on Windows).\nLeave empty to skip automatically starting up the server, you can still start the server manually."
},
"btex.directory": {
"type": "string",
"default": "",
"description": "Directory of tikz2svg server.\nThis is working directory where the command to start up the server will be run."
},
"btex.invertAll": {
"type": "boolean",
"default": false,
"description": "Whether to invert colors of math formulas in dark themes, including ordinary ones.\nIf set to false, only tikz diagrams (generated by tikz2svg) will be color inverted.\nThis makes colors consistent, but the theme color for foreground text will be ignored.\nClose the preview panel(s) and recompile to take effect."
}
}
}
},
"icon": "resources/logo.png",
"scripts": {
"vscode:prepublish": "yarn compile",
"compile": "tsc -p ./",
"watch": "tsc --watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"test-compile": "tsc -p ./"
},
"devDependencies": {
"@types/glob": "^8.0.0",
"@types/katex": "^0.14.0",
"@types/mocha": "^9.1.1",
"@types/node": "16.x",
"@types/vscode": "^1.68.0",
"@types/yargs": "^17.0.15",
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "^5.27.0",
"@vscode/test-electron": "^2.1.3",
"eslint": "^8.16.0",
"glob": "^8.0.3",
"mocha": "^10.0.0",
"typescript": "^4.7.2"
},
"dependencies": {
"btex": "github:banana-space/btex#7bcbc97b98d2cdbc21aa375295bfc2450c73cc1c"
}
}