-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
116 lines (116 loc) · 2.75 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
{
"name": "url2pdf",
"version": "2.1.4",
"description": "url / html convert pdf file",
"main": "main.js",
"devDependencies": {
"electron": "^33.0.2",
"electron-builder": "^25.1.8"
},
"dependencies": {
"body-parser": "^1.19.0",
"electron-is-dev": "^2.0.0",
"express": "^4.17.1",
"express-async-handler": "^1.2.0",
"morgan": "^1.10.0",
"winston": "^3.3.3"
},
"scripts": {
"start": "electron .",
"startDebug": "electron . --inspect-brk",
"pack-mac": "electron-builder --mac --publish always",
"pack-win": "electron-builder --win --publish always",
"postinstall": "electron-builder install-app-deps",
"pack-linux": "electron-builder --linux --publish always",
"windows-latest": "npm run pack-win",
"macos-latest": "npm run pack-mac",
"ubuntu-latest": "npm run pack-linux"
},
"build": {
"appId": "cn.heisir.url2pdf",
"artifactName": "URL2PDF-${os}_${arch}-v${version}.${ext}",
"electronVersion": "33.0.2",
"copyright": "Copyright © 2023 ${author}",
"compression": "normal",
"directories": {
"output": "dist"
},
"files": [
"**/*",
"!dist/*",
"!.github/*",
"!README.md",
"!.gitignore"
],
"asar": true,
"win": {
"target": [
{
"target": "nsis"
},
{
"target": "zip",
"arch": [
"x64",
"ia32"
]
}
],
"icon": "static/icon/logo-512.png",
"requestedExecutionLevel": "requireAdministrator"
},
"dmg": {
"window": {
"width": 540,
"height": 380
},
"contents": [
{
"x": 410,
"y": 230,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 230,
"type": "file"
}
]
},
"mac": {
"hardenedRuntime": true,
"appId": "cn.heisir.url2pdf-mac",
"category": "public.app-category.productivity",
"target": [
"dmg"
],
"icon": "static/icon/logo.icns"
},
"nsis": {
"perMachine": true,
"oneClick": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"installerIcon": "static/icon/logo.ico",
"uninstallerIcon": "static/icon/logo.ico",
"installerHeaderIcon": "static/icon/logo.ico",
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "URL2PDF"
},
"appImage": {
"category": "public.app-category.productivity"
},
"linux": {
"target": [
"AppImage",
"deb"
],
"maintainer": "heisir <[email protected]>",
"category": "Utility"
}
},
"author": "heisir",
"license": "MIT"
}