-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
168 lines (168 loc) · 5.55 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
{
"name": "vscode-bookdown",
"displayName": "Bookdown Tools",
"description": "Snippets and auto-completion for Bookdown",
"version": "0.0.6",
"publisher": "notZaki",
"engines": {
"vscode": "^1.33.0"
},
"icon": "icon.png",
"homepage": "https://github.com/notZaki/vscodeBookdown",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/notZaki/vscodeBookdown"
},
"bugs": {
"url": "https://github.com/notZaki/vscodeBookdown/issues"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:markdown",
"onLanguage:rmd"
],
"main": "./out/extension",
"contributes": {
"snippets": [
{
"language": "markdown",
"path": "./snippets/bookdown.json"
},
{
"language": "rmd",
"path": "./snippets/bookdown.json"
}
],
"grammars": [
{
"scopeName": "bookdown.knitr.chunk",
"path": "./syntaxes/r.json",
"injectTo": [
"text.html.markdown"
],
"embeddedLanguages": {
"meta.embedded.block.r": "R"
}
},
{
"scopeName": "bookdown.math.block",
"path": "./syntaxes/texblock.json",
"injectTo": [
"text.html.markdown"
],
"embeddedLanguages": {
"meta.function.environment.math.latex": "latex"
}
},
{
"scopeName": "bookdown.math.inline",
"path": "./syntaxes/texinline.json",
"injectTo": [
"text.html.markdown"
],
"embeddedLanguages": {
"meta.embedded.bookdown.math.inline": "latex"
}
},
{
"scopeName": "bookdown.highlights",
"path": "./syntaxes/bookdown.json",
"injectTo": [
"text.html.markdown"
]
}
],
"commands": [
{
"command": "Bookdown.ServeBook",
"title": "Bookdown: Serve Book"
},
{
"command": "Bookdown.CloseBookServer",
"title": "Bookdown: Close Book Server"
},
{
"command": "Bookdown.CloseTerminal",
"title": "Bookdown: Close Terminal"
},
{
"command": "Bookdown.RenderGitbook",
"title": "Bookdown: Gitbook"
},
{
"command": "Bookdown.RenderPDFbook",
"title": "Bookdown: PDF Book"
},
{
"command": "Bookdown.RenderCustom",
"title": "Bookdown: Render arbitrary output"
}
],
"configuration": {
"title": "Bookdown",
"properties": {
"Bookdown.R": {
"type": "string",
"default": "",
"description": "Path to R executable, if it isn't already in system PATH"
},
"Bookdown.ShowTerminal": {
"type": "boolean",
"default": true,
"description": "Should R terminal be brought into view when used."
},
"Bookdown.ShowLog": {
"type": "boolean",
"default": false,
"description": "Should extension log be shown in output channel."
},
"Bookdown.UseRmdFilesYAML": {
"type": "boolean",
"default": false,
"description": "Should the rmd_files YAML be used to search for autocomplete suggestions"
},
"Bookdown.Opts.Gitbook": {
"type": "string",
"default": "'index.Rmd','bookdown::gitbook'",
"description": "Argument to bookdown::render_book()"
},
"Bookdown.Opts.PDFbook": {
"type": "string",
"default": "'index.Rmd','bookdown::pdf_book'",
"description": "Argument to bookdown::pdf_book()"
},
"Bookdown.Opts.Custom": {
"type": "array",
"default": [
{
"name": "HTML Book",
"opts": "'index.Rmd','bookdown::html_document2'"
},
{
"name": "DOCX Book",
"opts": "'index.Rmd','bookdown::word_document2'"
}
],
"description": "Arguments to bookdown::render_book() for arbitrary outputs"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/mocha": "^5.2.6",
"@types/node": "^10.14.7",
"tslint": "^5.16.0",
"typescript": "^3.4.5",
"vscode": "^1.1.34"
}
}