-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
140 lines (140 loc) · 4.27 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "tothom",
"displayName": "Tothom",
"description": "Yet another markdown preview with code block execution.",
"icon": "resources/tothom.png",
"version": "0.9.0",
"engines": {
"vscode": "^1.74.0"
},
"repository": {
"type": "git",
"url": "https://github.com/guicassolato/tothom"
},
"maintainers": [
{
"name": "Guilherme Cassolato",
"email": "guicassolato@gmail.com",
"url": "https://github.com/guicassolato"
}
],
"publisher": "guicassolato",
"homepage": "https://github.com/guicassolato/tothom",
"keywords": [
"markdown",
"github",
"github markdown",
"codeblock execution"
],
"categories": [
"Other"
],
"activationEvents": [
"onCommand:tothom.markdownPreview"
],
"main": "./out/extension.js",
"contributes": {
"configuration": [
{
"title": "Tothom",
"properties": {
"tothom.bracketedPasteMode": {
"description": "Apply bracketed paste sequences on commands sent to terminal",
"type": "boolean",
"default": true,
"order": 30
},
"tothom.colorScheme": {
"description": "Color scheme of the preview panel",
"type": "string",
"default": "auto",
"enum": [
"auto",
"light",
"dark"
],
"enumDescriptions": [
"Uses the default color scheme set for the context",
"Light color scheme",
"Dark color scheme"
],
"order": 10
},
"tothom.runInBackgroundByDefault": {
"markdownDescription": "Default to running code blocks in a separate shell in the background instead of in an integrated terminal window. Outputs of the executions are appended to the preview window.\n\nThis setting is ignored if the preview is bound to a terminal (e.g. by using the 'Select terminal' command).\n\nTo be able to set and re-use environment variables across code blocks when this option is active, activate as well `#tothom.propagateEnv#`.",
"type": "boolean",
"default": false,
"order": 40
},
"tothom.runInTerminalLabel": {
"description": "Label of the 'Run in terminal' button",
"type": "string",
"default": "▶️",
"order": 20
},
"tothom.propagateEnv": {
"markdownDescription": "Propagates environment variable values across code block executions.\n\nIt requires access to read/write temporary files in `/tmp`.\n\nOnly applies when `#tothom.runInBackgroundByDefault#` is enabled.",
"type": "boolean",
"default": true,
"order": 50
}
}
}
],
"commands": [
{
"command": "tothom.clearTerminalSelection",
"title": "Clear terminal selection",
"category": "Tothom"
},
{
"command": "tothom.markdownPreview",
"title": "Markdown Preview",
"category": "Tothom"
},
{
"command": "tothom.markdownPreviewWithExistingTerminal",
"title": "Markdown Preview (existing terminal)",
"category": "Tothom"
},
{
"command": "tothom.reloadPreview",
"title": "Reload Preview",
"category": "Tothom"
},
{
"command": "tothom.selectTerminal",
"title": "Select terminal",
"category": "Tothom"
}
]
},
"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": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^8.0.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.74.0",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"@vscode/test-electron": "^2.2.0",
"eslint": "^8.28.0",
"glob": "^8.0.3",
"mocha": "^10.1.0",
"typescript": "^4.9.3"
},
"dependencies": {
"ansi_up": "^5.1.0",
"highlight.js": "^11.7.0",
"markdown-it": "^13.0.1",
"markdown-it-attrs": "^4.1.6",
"markdown-it-task-lists": "^2.1.1"
}
}