generated from AdamRaichu/vscode-webext-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
122 lines (122 loc) · 3.62 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
{
"name": "docx-viewer",
"displayName": "Docx Renderer",
"description": "An extension which provides a read-only renderer for docx files using the npm package docx-preview. Now with configuration!",
"version": "1.1.3",
"publisher": "adamraichu",
"icon": "logo.png",
"author": {
"name": "AdamRaichu"
},
"categories": [
"Visualization"
],
"keywords": [
"docx",
"preview",
"word"
],
"repository": {
"url": "https://github.com/AdamRaichu/vscode-docx-viewer"
},
"browser": "/dist/main.js",
"main": "/dist/main.js",
"engines": {
"vscode": "^1.63.0"
},
"activationEvents": [
"onCustomEditor:docxViewer.DocxEdit"
],
"contributes": {
"configuration": [
{
"title": "Docx Renderer",
"properties": {
"docxViewer.docxjs.inWrapper": {
"type": "boolean",
"description": "Enables rendering of wrapper around document content",
"default": true
},
"docxViewer.docxjs.ignoreWidth": {
"type": "boolean",
"description": "Disables rendering width of page",
"default": false
},
"docxViewer.docxjs.ignoreHeight": {
"type": "boolean",
"description": "Disables rendering height of page",
"default": false
},
"docxViewer.docxjs.ignoreFonts": {
"type": "boolean",
"description": "Disables fonts rendering",
"default": false
},
"docxViewer.docxjs.breakPages": {
"type": "boolean",
"description": "Enables page breaking on page breaks",
"default": true
},
"docxViewer.docxjs.ignoreLastRenderedPageBreak": {
"type": "boolean",
"description": "disables page breaking on lastRenderedPageBreak elements",
"default": true
},
"docxViewer.docxjs.experimental": {
"type": "boolean",
"description": "enables experimental features (tab stops calculation)",
"default": false
},
"docxViewer.docxjs.trimXmlDeclaration": {
"type": "boolean",
"description": "if true, xml declaration will be removed from xml documents before parsing",
"default": true
},
"docxViewer.docxjs.useBase64URL": {
"type": "boolean",
"markdownDescription": "if true, images, fonts, etc. will be converted to base 64 URL, otherwise `URL.createObjectURL` is used",
"default": false
},
"docxViewer.docxjs.useMathMLPolyfill": {
"type": "boolean",
"description": "includes MathML polyfills for chrome, edge, etc.",
"default": false
},
"docxViewer.docxjs.showChanges": {
"type": "boolean",
"description": "enables experimental rendering of document changes (inserions/deletions)",
"default": false
},
"docxViewer.docxjs.debug": {
"type": "boolean",
"description": "enables additional logging",
"default": false
}
}
}
],
"customEditors": [
{
"viewType": "docxViewer.DocxEdit",
"displayName": "Docx Renderer",
"selector": [
{
"filenamePattern": "*.docx"
}
]
}
]
},
"devDependencies": {
"@types/vscode": "^1.63.0",
"@vscode/vsce": "^3.2.1",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"docx-preview": "^0.3.0"
},
"scripts": {
"build": "webpack"
}
}