-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
117 lines (117 loc) · 2.95 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
{
"name": "codetopdf",
"displayName": "Code to Pdf",
"description": "Generate a Pdf from Code",
"version": "1.0.0",
"publisher": "herzogmatthias",
"repository": {
"url": "https://github.com/herzogmatthias/code-to-pdf"
},
"keywords": [
"pdf",
"code to pdf",
"convert",
"convert code",
"code"
],
"icon": "images/icon.png",
"engines": {
"vscode": "^1.50.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:codetopdf.convert"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "CodeToPdf",
"properties": {
"codeToPdf.openHTMLPageInBrowser": {
"type": "boolean",
"description": "If true it opens a browser window with the HTML page which will be converted",
"default": false
},
"codeToPdf.pathForBrowserExec": {
"type": "string",
"description": "Usable for MacOS Users when the Browser is not installed in the default location",
"default": ""
},
"codeToPdf.ignoredFileExtensions": {
"type": "array",
"description": "Stores file extensions which will be ignored when converting to pdf e.g. ['.html']",
"default": [
".txt",
".pdf",
".jpg",
".jpeg",
".png",
".xlsx",
".docx",
".pptx",
".ico",
"map"
]
}
}
},
"commands": [
{
"command": "codetopdf.convert",
"title": "Convert Code To PDF"
}
],
"menus": {
"explorer/context": [
{
"command": "codetopdf.convert",
"group": "z_commands"
}
]
}
},
"scripts": {
"vscode:prepublish": "webpack --mode production",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"test-compile": "tsc -p ./",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run test-compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/chai": "^4.3.3",
"@types/glob": "^8.0.0",
"@types/mocha": "^9.1.1",
"@types/node": "^15.8.0",
"@types/node-fetch": "^2.6.2",
"@types/vscode": "^1.50.0",
"@types/which": "^2.0.1",
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"chai": "^4.3.6",
"encoding": "^0.1.13",
"eslint": "^8.23.1",
"glob": "^8.0.3",
"html-loader": "^4.1.0",
"mocha": "^10.0.0",
"node-fetch": "^2.6.7",
"ts-loader": "^9.3.1",
"typescript": "^4.8.3",
"vscode-test": "^1.6.1",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
},
"dependencies": {
"puppeteer-core": "^17.1.3",
"utf-8-validate": "^5.0.9"
},
"announcement": {
"onVersion": "0.01",
"message": "[NEW] Initial Release"
}
}