Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
110 lines (110 loc) 路 3.21 KB
/
Copy pathpackage.json
File metadata and controls
110 lines (110 loc) 路 3.21 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
{
"name": "postscript-preview",
"displayName": "PostScript Preview",
"description": "PostScript Preview is an extension that helps to preview EPS and PS files in Visual Studio Code.",
"version": "0.6.2",
"icon": "images/logo.png",
"publisher": "ahnafnafee",
"engines": {
"vscode": "^1.46.0"
},
"categories": [
"Other"
],
"author": {
"name": "Ahnaf An Nafee",
"email": "ahnafnafee@gmail.com"
},
"galleryBanner": {
"color": "#4B7D78",
"theme": "dark"
},
"keywords": [
"postscript",
"ghostscript",
"ps",
"preview"
],
"activationEvents": [
"onLanguage:postscript"
],
"extensionDependencies": [
"mxschmitt.postscript"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "postscript-preview.sidePreview",
"title": "Preview PostScript",
"icon": "$(open-preview)"
}
],
"menus": {
"editor/title": [
{
"when": "resourceLangId == postscript",
"command": "postscript-preview.sidePreview",
"group": "navigation"
}
]
},
"configuration": {
"title": "PostScript Preview",
"properties": {
"postscript-preview.path.ps2pdf": {
"type": "string",
"default": "ps2pdf",
"description": "Path to the ps2pdf executable from Ghostscript. On Windows, the default uses gswin64c.exe from PATH so conversion does not require a command shell."
},
"postscript-preview.path.pdftocairo": {
"type": "string",
"default": "pdftocairo",
"description": "Path to pdftocairo executable (from Poppler). Use this if pdftocairo is not in your system PATH."
},
"postscript-preview.path.pdfinfo": {
"type": "string",
"default": "pdfinfo",
"description": "Path to pdfinfo executable (from Poppler). Used for detecting page count in multi-page documents."
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn compile",
"clean": "node -e \"require('node:fs').rmSync('out', { recursive: true, force: true })\"",
"compile": "yarn clean && tsc -p ./",
"lint": "eslint src",
"watch": "tsc -watch -p ./",
"test": "yarn compile && yarn test:tools && mocha --ui tdd --color --timeout 10000 \"out/test/unit/**/*.test.js\" && node ./out/test/runTest.js",
"test:tools": "node --test scripts/prepare-open-vsx-manifest.test.mjs",
"test:unit": "yarn compile && yarn test:tools && mocha --ui tdd --color --timeout 10000 \"out/test/unit/**/*.test.js\"",
"test:integration": "yarn compile && node ./out/test/runTest.js"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/mocha": "^10.0.10",
"@types/node": "^26.5.1",
"@types/vscode": "1.137.0",
"@typescript-eslint/eslint-plugin": "^8.70.0",
"@typescript-eslint/parser": "^8.70.0",
"@vscode/test-electron": "^3.1.0",
"eslint": "^10.10.0",
"glob": "^13.0.6",
"mocha": "^12.0.0",
"typescript": "^7.0.2"
},
"resolutions": {
"diff": "^9.0.0",
"glob": "^13.0.6",
"serialize-javascript": "^7.1.1"
},
"repository": {
"type": "git",
"url": "https://github.com/ahnafnafee/PostScript-Preview.git"
},
"sponsor": {
"url": "https://github.com/sponsors/ahnafnafee"
},
"packageManager": "yarn@4.18.0+sha512.fcb8716fe7cd0eece141ffc18b92193a9df9204c1ba83189c288835223fc0bbe64af473bab0d5e9927a7daeb5caf2bb07eb2787cc9338ca040ea125f2a1f2f7e"
}