-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
143 lines (143 loc) · 4.53 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
{
"name": "lilypond-pdf-preview",
"publisher": "lhl2617",
"displayName": "LilyPond PDF Preview",
"description": "Provides PDF Preview for LilyPond-generated PDFs. Supports point-and-click from PDF to source code.",
"version": "0.2.8",
"engines": {
"vscode": "^1.46.0"
},
"categories": [
"Visualization"
],
"keywords": [
"lilypond",
"pdf",
"viewer"
],
"license": "MIT",
"icon": "assets/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/lhl2617/VSLilyPond-PDF-preview.git"
},
"bugs": {
"url": "https://github.com/lhl2617/VSLilyPond-PDF-preview/issues"
},
"activationEvents": [
"onCustomEditor:lilypond.pdf.preview"
],
"main": "./out/extension/extension.js",
"contributes": {
"capabilities": {
"untrustedWorkspaces": {
"supported": true
}
},
"customEditors": [
{
"viewType": "lilypond.pdf.preview",
"displayName": "Lilypond PDF Preview",
"selector": [
{
"filenamePattern": "*.pdf"
}
]
}
],
"commands": [
{
"command": "lilypond-pdf-preview.goToPDFLocationFromCursor",
"title": "LilyPond PDF Preview: Go to PDF location from Cursor",
"group": "general",
"description": "Go the PDF location pointed by the current cursor location."
}
],
"configuration": {
"type": "object",
"title": "LilyPond PDF Preview",
"properties": {
"lilypond-pdf-preview.general.cursor": {
"markdownDescription": "The default cursor tool for preview.",
"type": "string",
"default": "select",
"enum": [
"select",
"hand"
],
"group": "general"
},
"lilypond-pdf-preview.general.scale": {
"markdownDescription": "The default zoom level for preview. Allowed values are `auto`, `page-actual`, `page-fit`, `page-width`, and 1-based scale values. (`1.0` means 100%)",
"type": "string",
"default": "auto",
"pattern": "^(\\d+(?:\\.\\d+)?|auto|page-actual|page-fit|page-width)$",
"group": "general"
},
"lilypond-pdf-preview.general.scrollMode": {
"markdownDescription": "The default scroll mode for preview.",
"type": "string",
"default": "vertical",
"enum": [
"vertical",
"horizontal",
"wrapped"
],
"group": "general"
},
"lilypond-pdf-preview.general.spreadMode": {
"markdownDescription": "The default spread mode for preview.",
"type": "string",
"default": "none",
"enum": [
"none",
"odd",
"even"
],
"group": "general"
},
"lilypond-pdf-preview.pointAndClick.backgroundColor": {
"markdownDescription": "The background color (CSS styling) for the selection pointed by point-and-click.",
"type": "string",
"default": "#FFA500",
"group": "Point and Click"
},
"lilypond-pdf-preview.pointAndClick.highlightDuration": {
"markdownDescription": "The duration (in ms) in which the point-and-click selection remains highlighted.",
"type": "integer",
"default": 3000,
"group": "Point and Click"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run docs:gen && npm run compile",
"compile": "npm run pdfjs:patch && tsc --project tsconfig.json && tsc --project src/pdfjs-custom/tsconfig.json && npm run copy-css",
"copy-css": "copyfiles -u 1 src/**/*.css out/",
"watch": "npm run compile && npm-run-all --parallel watch:extension watch:pdfjs-custom",
"watch:extension": "tsc -watch --project tsconfig.json",
"watch:pdfjs-custom": "tsc -watch --project src/pdfjs-custom/tsconfig.json",
"lint": "eslint src --ext ts",
"docs:gen": "ts-node ./src/scripts/docs-gen/main.ts",
"pdfjs:patch": "ts-node ./src/scripts/pdfjs-patch/main.ts",
"postinstall": "npm run pdfjs:patch"
},
"devDependencies": {
"@types/node": "^15.14.9",
"@types/vscode": "1.46.0",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"copyfiles": "^2.4.1",
"eslint": "^7.32.0",
"eslint-plugin-prettier": "^3.4.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.2",
"replace-in-file": "^6.2.0",
"ts-node": "^9.1.1",
"typescript": "^4.4.2"
},
"dependencies": {
"pdfjs-dist-viewer-min": "^2.4.456"
}
}