-
Notifications
You must be signed in to change notification settings - Fork 40
/
package.json
107 lines (107 loc) · 3.22 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
{
"name": "electron-hiprint",
"version": "1.0.11",
"description": "vue-plugin-hiprint client",
"main": "main.js",
"author": "CcSimple<[email protected]>",
"license": "MIT",
"homepage": "https://gitee.com/CcSimple",
"scripts": {
"start": "chcp 65001 & electron .",
"startmac": "electron .",
"build-w": "electron-builder -w nsis:ia32 && node ./tools/rename --tag win_x32",
"build-w-64": "electron-builder -w nsis:x64 && node ./tools/rename --tag win_x64",
"build-m": "electron-builder -m --x64 && node ./tools/rename --tag mac_x64",
"build-m-arm64": "electron-builder -m --arm64 && node ./tools/rename --tag mac_arm64",
"build-m-universal": "electron-builder -m --universal && node ./tools/rename --tag mac_universal",
"build-l": "electron-builder -l tar.xz && node ./tools/rename --tag linux_64",
"build-l-arm64": "electron-builder -l --arm64 && node ./tools/rename --tag linux_arm64",
"compress": "node ./tools/code_compress --compress",
"restore": "node ./tools/code_compress --restore",
"build-all": "npm run build-w && npm run build-w-64 && npm run build-m && npm run build-m-arm64 && npm run build-m-universal && npm run build-l && npm run build-l-arm64",
"releases": "npm run compress && npm run build-all && npm run restore"
},
"build": {
"productName": "hiprint",
"appId": "com.simple.cc.hiprint",
"copyright": "CcSimple<[email protected]>",
"directories": {
"output": "out"
},
"asar": true,
"files": [
"**/*"
],
"electronDownload": {
"mirror": "https://npmmirror.com/mirrors/electron/"
},
"nsis": {
"oneClick": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"installerIcon": "./build/icons/icon.ico",
"uninstallerIcon": "./build/icons/icon.ico",
"installerHeaderIcon": "./build/icons/icon.ico",
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "Hiprint",
"include": "installer.nsh"
},
"mac": {
"icon": "./build/icons/icon.icns",
"artifactName": "${productName}-${version}.${ext}",
"target": [
"dmg"
],
"identity": null
},
"dmg": {
"sign": false
},
"win": {
"icon": "./build/icons/256x256.png",
"artifactName": "${productName}-${version}.${ext}",
"target": [
{
"target": "nsis"
}
]
},
"linux": {
"icon": "./build/icons/256x256.png",
"artifactName": "${productName}-${version}.${ext}",
"target": [
"tar.xz"
]
},
"protocols": [
{
"name": "hiprint",
"schemes": [
"hiprint"
]
}
]
},
"dependencies": {
"address": "^1.2.0",
"concurrent-tasks": "^1.0.7",
"dayjs": "^1.11.10",
"electron-store": "^8.1.0",
"ipp": "^2.0.1",
"jquery": "^3.6.0",
"node-machine-id": "^1.1.12",
"pdf-to-printer": "^5.6.0",
"socket.io": "^3.1.0",
"socket.io-client": "^3.1.0",
"unix-print": "^1.2.0",
"win32-pdf-printer": "^4.0.1"
},
"devDependencies": {
"electron": "^15.0.0",
"electron-builder": "23.0.6",
"fs-extra": "^9.1.0",
"prettier": "^1.16.4",
"uglify-js": "^3.14.3"
}
}