forked from tokiedokie/reveal-markdown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
441 lines (441 loc) · 14.6 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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
{
"name": "reveal-markdown",
"displayName": "reveal-markdown",
"description": "Show markdown as revealJs presentation",
"version": "2.0.4",
"publisher": "tokiedokie",
"author": "Vincent Bourdon",
"license": "MIT",
"icon": "resources/logo.png",
"preview": false,
"repository": {
"type": "git",
"url": "https://github.com/tokiedokie/reveal-markdown"
},
"engines": {
"vscode": "^1.36.0"
},
"categories": [
"Other"
],
"keywords": [
"markdown",
"reveal js",
"slide",
"presenttion"
],
"activationEvents": [
"onLanguage:markdown",
"onCommand:vscode-revealjs.showRevealJS",
"onCommand:vscode-revealjs.showRevealJSInBrowser"
],
"main": "./dist/extension",
"contributes": {
"commands": [
{
"command": "vscode-revealjs.showRevealJS",
"title": "Revealjs: Show presentation by side",
"icon": {
"light": "resources/light/split.svg",
"dark": "resources/dark/split.svg"
}
},
{
"command": "vscode-revealjs.showRevealJSInBrowser",
"title": "Revealjs: Open presentation in browser",
"icon": {
"light": "resources/light/browser.svg",
"dark": "resources/dark/browser.svg"
}
},
{
"command": "vscode-revealjs.stopRevealJSServer",
"title": "Revealjs: Stop reveal server"
},
{
"command": "vscode-revealjs.goToSlide",
"title": "Revealjs: Go to slide"
},
{
"command": "vscode-revealjs.exportPDF",
"title": "Revealjs: Export in PDF",
"icon": {
"light": "resources/light/pdf.svg",
"dark": "resources/dark/pdf.svg"
}
},
{
"command": "vscode-revealjs.exportHTML",
"title": "Revealjs: Export in HTML",
"icon": {
"light": "resources/light/html.svg",
"dark": "resources/dark/html.svg"
}
}
],
"configuration": {
"type": "object",
"title": "Reveal JS Option Configuration",
"properties": {
"revealjs.notesSeparator": {
"type": "string",
"default": "note:",
"description": "Revealjs markdown note delimiter"
},
"revealjs.separator": {
"type": "string",
"default": "^\\r?\\n---\\r?\\n$",
"description": "Revealjs markdown slide separator"
},
"revealjs.verticalSeparator": {
"type": "string",
"default": "^\\r?\\n--\\r?\\n$",
"description": "Revealjs markdown vertical separator"
},
"revealjs.theme": {
"type": "string",
"default": "black",
"description": "Revealjs Theme (black, white, league, beige, sky, night, serif, simple, solarized"
},
"revealjs.highlightTheme": {
"type": "string",
"default": "Zenburn",
"description": "highlight.js Theme (Default, Agate, Androidstudio, Arduino Light, Arta, Ascetic, Atelier Cave Dark, Atelier Cave Light, Atelier Dune Dark, Atelier Dune Light, Atelier Estuary Dark, Atelier Estuary Light, Atelier Forest Dark, Atelier Forest Light, Atelier Heath Dark, Atelier Heath Light, Atelier Lakeside Dark, Atelier Lakeside Light, Atelier Plateau Dark, Atelier Plateau Light, Atelier Savanna Dark, Atelier Savanna Light, Atelier Seaside Dark, Atelier Seaside Light, Atelier Sulphurpool Dark, Atelier Sulphurpool Light, Atom One Dark, Atom One Light,Brown Paper, Codepen Embed, Color Brewer, Darcula, Dark, Darkula, Docco, Dracula, Far, Foundation, Github Gist, Github, Googlecode, Grayscale, Gruvbox Dark, Gruvbox Light, Hopscotch, Hybrid, Idea, Ir Black, Kimbie Dark, Kimbie Light, Magula, Mono Blue, Monokai Sublime, Monokai, Obsidian,Ocean, Paraiso Dark, Paraiso Light, Pojoaque, Purebasic, Qtcreator Dark, Qtcreator Light, Railscasts, Rainbow, School Book, Solarized Dark, Solarized Light, Sunburst, Tomorrow Night Blue, Tomorrow Night Bright, Tomorrow Night Eighties, Tomorrow Night, Tomorrow, Vs, Xcode, Xt 256, Zenburn"
},
"revealjs.controls": {
"type": "boolean",
"default": true,
"description": "Display controls in the bottom right corner"
},
"revealjs.progress": {
"type": "boolean",
"default": true,
"description": "Display a presentation progress bar"
},
"revealjs.slideNumber": {
"type": "boolean",
"default": false,
"description": "Display the page number of the current slide"
},
"revealjs.history": {
"type": "boolean",
"default": true,
"description": "Push each slide change to the browser history"
},
"revealjs.keyboard": {
"type": "boolean",
"default": true,
"description": "Enable keyboard shortcuts for navigation"
},
"revealjs.overview": {
"type": "boolean",
"default": true,
"description": "Enable the slide overview mode"
},
"revealjs.center": {
"type": "boolean",
"default": true,
"description": "Vertical centering of slides"
},
"revealjs.touch": {
"type": "boolean",
"default": true,
"description": "Enables touch navigation on devices with touch input"
},
"revealjs.loop": {
"type": "boolean",
"default": false,
"description": "Loop the presentation"
},
"revealjs.rtl": {
"type": "boolean",
"default": false,
"description": "Change the presentation direction to be RTL"
},
"revealjs.shuffle": {
"type": "boolean",
"default": false,
"description": "Randomizes the order of slides each time the presentation loads"
},
"revealjs.fragments": {
"type": "boolean",
"default": true,
"description": "Turns fragments on and off globally"
},
"revealjs.embedded": {
"type": "boolean",
"default": false,
"description": "Flags if the presentation is running in an embedded mode, i.e. contained within a limited portion of the screen"
},
"revealjs.help": {
"type": "boolean",
"default": true,
"description": "Flags if we should show a help overlay when the questionmark key is pressed"
},
"revealjs.showNotes": {
"type": "boolean",
"default": false,
"description": "Flags if speaker notes should be visible to all viewers"
},
"revealjs.autoSlide": {
"type": "number",
"default": 0,
"description": "Number of milliseconds between automatically proceeding to the next slide, disabled when set to 0, this value can be overwritten by using a data-autoslide attribute on your slides"
},
"revealjs.autoSlideMethod": {
"type": "string",
"default": "Reveal.navigateNext",
"description": "The direction in which the slides will move whilst autoslide is active"
},
"revealjs.autoSlideStoppable": {
"type": "boolean",
"default": true,
"description": "Stop auto-sliding after user input"
},
"revealjs.mouseWheel": {
"type": "boolean",
"default": false,
"description": "Enable slide navigation via mouse wheel"
},
"revealjs.hideAddressBar": {
"type": "boolean",
"default": true,
"description": "Hides the address bar on mobile devices"
},
"revealjs.previewLinks": {
"type": "boolean",
"default": false,
"description": "Opens links in an iframe preview overlay"
},
"revealjs.transition": {
"type": "string",
"default": "default",
"description": "Transition style (none/fade/slide/convex/concave/zoom)"
},
"revealjs.transitionSpeed": {
"type": "string",
"default": "default",
"description": "Transition speed (default/fast/slow)"
},
"revealjs.backgroundTransition": {
"type": "string",
"default": "default",
"description": "Transition style for full page slide backgrounds (none/fade/slide/convex/concave/zoom)"
},
"revealjs.viewDistance": {
"type": "number",
"default": 3,
"description": "Number of slides away from the current that are visible"
},
"revealjs.parallaxBackgroundImage": {
"type": "string",
"default": "",
"description": "Parallax background image"
},
"revealjs.parallaxBackgroundSize": {
"type": "string",
"default": "",
"description": "Parallax background size (CSS syntax, e.g. 2100px 900px)"
},
"revealjs.parallaxBackgroundHorizontal": {
"type": "number",
"default": 0,
"description": "Number of pixels to move the parallax background per slide"
},
"revealjs.parallaxBackgroundVertical": {
"type": "number",
"default": 0,
"description": "Number of pixels to move the parallax background per slide"
},
"revealjs.slideExplorerEnabled": {
"type": "boolean",
"default": true,
"description": "Hide or show slides explorer"
},
"revealjs.browserPath": {
"type": "string",
"default": null,
"description": "Full path of browser to use"
},
"revealjs.exportHTMLPath": {
"type": "string",
"default": "./export",
"description": "Path where the HTML export is created, relative to the .md file"
},
"revealjs.openFilemanagerAfterHTMLExport": {
"type": "boolean",
"default": true,
"description": "Open the file manager after HTML export"
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "slides-explorer",
"title": "VSCode Reveal",
"icon": "resources/slide-gray.svg"
}
]
},
"views": {
"slides-explorer": [
{
"id": "slidesExplorer",
"name": "Slides",
"when": "slideExplorerEnabled"
}
]
},
"menus": {
"view/title": [
{
"command": "vscode-revealjs.showRevealJSInBrowser",
"when": "view == slidesExplorer",
"group": "navigation"
},
{
"command": "vscode-revealjs.showRevealJS",
"when": "view == slidesExplorer",
"group": "navigation"
},
{
"command": "vscode-revealjs.exportPDF",
"when": "view == slidesExplorer",
"group": "navigation"
},
{
"command": "vscode-revealjs.exportHTML",
"when": "view == slidesExplorer",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "vscode-revealjs.goToSlide",
"when": "view == slidesExplorer && viewItem == slideNode"
}
]
}
},
"scripts": {
"vscode:prepublish": "webpack --mode production",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"test-compile": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"build": "tsc -p ./",
"test:vscode": "node ./node_modules/vscode/bin/test",
"test": "jest",
"coverage": "jest --coverage",
"unittest-dev": "cd out && mocha",
"lint": "eslint 'src/**'",
"fmt": "eslint --fix 'src/**'",
"sonar": "sonar-scanner -Dsonar.projectKey=evilz_vscode-reveal -Dsonar.organization=evilz-github -Dsonar.sources=./src -Dsonar.host.url=https://sonarcloud.io -Dsonar.pullrequest.base=master -Dsonar.pullrequest.provider=GitHub -Dsonar.pullrequest.github.repository=evilz/vscode-reveal"
},
"jest": {
"verbose": true,
"preset": "ts-jest",
"testMatch": [
"**/test/**/*.jest.ts"
],
"coverageReporters": [
"lcov",
"text"
],
"collectCoverageFrom": [
"**/src/**/*.ts",
"!**/node_modules/**",
"!**/vendor/**"
],
"reporters": [
"default",
"jest-junit"
]
},
"nyc": {
"extension": [
".ts",
".tsx"
],
"exclude": [
"**/*.d.ts",
"**/libs/*"
],
"reporter": [
"html",
"lcov"
],
"all": true
},
"dependencies": {
"@types/koa-static-server": "^1.3.0",
"fs-jetpack": "^3.0.0",
"gray-matter": "^4.0.2",
"koa": "^2.12.1",
"koa-ejs": "^4.3.0",
"koa-logger": "^3.2.1",
"koa-static-server": "^1.5.2",
"markdown-it": "^11.0.0",
"markdown-it-attrs": "^3.0.3",
"markdown-it-block-embed": "0.0.3",
"markdown-it-container": "^3.0.0",
"markdown-it-github-headings": "^2.0.0",
"markdown-it-imsize": "^2.0.1",
"markdown-it-multimd-table": "^4.0.2",
"markdown-it-regexp": "^0.4.0",
"markdown-it-span": "^1.0.0",
"markdown-it-task-lists": "^2.1.1",
"open": "^7.0.4",
"opn": "^6.0.0",
"os": "^0.1.1",
"remove": "^0.1.5",
"websocket-extensions": "^0.1.4"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/jest": "^26.0.0",
"@types/koa": "^2.11.3",
"@types/koa-ejs": "^4.2.2",
"@types/koa-router": "^7.4.1",
"@types/koa-static": "^4.0.1",
"@types/markdown-it": "10.0.1",
"@types/marked": "^1.1.0",
"@types/mocha": "^8.0.0",
"@types/node": "^14.0.13",
"@types/request": "^2.48.5",
"@types/showdown": "^1.9.3",
"@types/webpack": "^4.41.13",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"eslint": "^7.7.0",
"eslint-config-prettier": "^6.11.0",
"eslint-config-standard": "^14.1.1",
"eslint-config-standard-with-typescript": "^19.0.1",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"jest": "^26.0.1",
"jest-junit": "^11.0.1",
"mocha": "^8.0.1",
"mocha-junit-reporter": "^2.0.0",
"mocha-multi-reporters": "^1.1.7",
"nyc": "^15.0.1",
"prettier": "^2.1.0",
"prettier-eslint": "^11.0.0",
"request": "^2.88.2",
"sonarqube-scanner": "^2.6.0",
"source-map-support": "^0.5.19",
"ts-jest": "^26.0.0",
"ts-loader": "^8.0.1",
"ts-node": "^8.10.1",
"typescript": "^3.9.3",
"vscode": "^1.1.37",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11",
"webpack-node-externals": "^2.5.0"
}
}