Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
123 lines (123 loc) · 3.64 KB
/
Copy pathpackage.json
File metadata and controls
123 lines (123 loc) · 3.64 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
{
"name": "pdf-phoenix",
"displayName": "PDF Phoenix",
"description": "PDF viewer and annotator for VS Code. Save highlights and notes into the file, on a self-updating Mozilla pdf.js engine. Allows customizing the default viewer settings.",
"version": "1.0.3",
"publisher": "harshankur",
"icon": "media/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/harshankur/PDF-Phoenix.git"
},
"bugs": {
"url": "https://github.com/harshankur/PDF-Phoenix/issues"
},
"homepage": "https://github.com/harshankur/PDF-Phoenix#readme",
"license": "MIT",
"engines": {
"vscode": "^1.49.0"
},
"categories": [
"Other"
],
"keywords": [
"pdf",
"pdf viewer",
"viewer",
"pdf editor",
"pdf annotator",
"annotate",
"annotation",
"highlight",
"pdf.js"
],
"main": "./out/extension.js",
"activationEvents": [],
"contributes": {
"customEditors": [
{
"viewType": "pdfPhoenix.viewer",
"displayName": "PDF Phoenix Viewer",
"selector": [
{
"filenamePattern": "*.pdf"
}
],
"priority": "default"
}
],
"commands": [
{
"command": "pdfPhoenix.pdfjs.checkForUpdate",
"title": "Check for pdf.js Updates",
"category": "PDF Phoenix"
},
{
"command": "pdfPhoenix.pdfjs.selectVersion",
"title": "Choose pdf.js Version…",
"category": "PDF Phoenix"
},
{
"command": "pdfPhoenix.pdfjs.resetToBundled",
"title": "Use Built-in pdf.js Version",
"category": "PDF Phoenix"
}
],
"configuration": {
"title": "PDF Phoenix",
"properties": {
"pdfPhoenix.defaultZoom": {
"type": "string",
"default": "page-fit",
"enum": [
"auto",
"page-fit",
"page-width",
"page-actual"
],
"enumDescriptions": [
"Automatic zoom (pdf.js chooses)",
"Fit the whole page in the view",
"Fit the page width to the view",
"Show the page at its actual size (100%)"
],
"markdownDescription": "Zoom level a PDF opens at. Applies to PDFs you open after changing this."
},
"pdfPhoenix.defaultSidebar": {
"type": "string",
"default": "outline",
"enum": [
"none",
"thumbnails",
"outline"
],
"enumDescriptions": [
"Start with the sidebar closed",
"Start with the page thumbnails panel open",
"Start with the document outline (bookmarks) panel open, falling back to thumbnails when the PDF has no outline"
],
"markdownDescription": "Which sidebar panel a PDF opens with. Applies to PDFs you open after changing this."
},
"pdfPhoenix.pdfjs.autoCheckForUpdates": {
"type": "boolean",
"default": true,
"markdownDescription": "Check about once a day for a newer pdf.js release within the current major version, and ask before downloading it. Major-version upgrades are never installed automatically; use the \"PDF Phoenix: Choose pdf.js Version…\" command for those."
}
}
}
},
"scripts": {
"fetch-assets": "node scripts/fetch-pdfjs.mjs",
"compile": "tsc -p .",
"watch": "tsc -w -p .",
"vscode:prepublish": "npm run fetch-assets && npm run compile",
"package": "vsce package"
},
"devDependencies": {
"@types/vscode": "^1.49.0",
"@types/node": "^20.14.0",
"typescript": "^5.5.0",
"extract-zip": "^2.0.1",
"@vscode/vsce": "^3.0.0"
}
}