-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
103 lines (103 loc) · 2.41 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
{
"name": "image-compressor",
"version": "1.0.0",
"description": "Cross-platform image compression app",
"main": "main.js",
"scripts": {
"start": "electron .",
"pack": "electron-builder --dir",
"dist": "electron-builder -mwl",
"dist:mac": "electron-builder --mac",
"dist:win": "electron-builder --win",
"dist:linux": "electron-builder --linux",
"release": "electron-builder -mwl -p always",
"postinstall": "electron-builder install-app-deps"
},
"build": {
"appId": "com.imagecompressor.app",
"productName": "Image Compressor",
"directories": {
"output": "dist",
"buildResources": "build"
},
"files": [
"**/*",
"!dist/*",
"!.git/*"
],
"extraResources": [
{
"from": "build",
"to": "build",
"filter": ["*.png", "*.ico", "*.icns"]
}
],
"asar": true,
"asarUnpack": [
"node_modules/sharp/**/*"
],
"artifactName": "${productName}-${version}-${arch}.${ext}",
"mac": {
"category": "public.app-category.graphics-design",
"target": [
{
"target": "dmg",
"arch": ["x64", "arm64"]
},
{
"target": "zip",
"arch": ["x64", "arm64"]
}
],
"icon": "build/icon.icns",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"electronLanguages": ["en"]
},
"win": {
"target": [
{
"target": "nsis",
"arch": ["x64"]
},
{
"target": "portable",
"arch": ["x64"]
}
],
"icon": "build/icon.ico",
"publisherName": "Image Compressor"
},
"linux": {
"target": ["AppImage", "deb"],
"icon": "build/icon.png",
"category": "Graphics",
"maintainer": "Serhat Aksakal",
"vendor": "Image Compressor"
},
"publish": {
"provider": "github",
"releaseType": "release"
},
"npmRebuild": true,
"buildDependenciesFromSource": true
},
"repository": {
"type": "git",
"url": "https://github.com/onwp/image-compressor.git"
},
"dependencies": {
"@electron/osx-sign": "1.0.5",
"sharp": "0.32.6"
},
"devDependencies": {
"electron": "19.1.9",
"electron-builder": "23.0.3",
"electron-updater": "5.3.0"
},
"author": {
"name": "Serhat Aksakal",
"email": "[email protected]"
},
"license": "MIT"
}