-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
104 lines (104 loc) · 3.32 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
{
"name": "crushee-desktop",
"version": "2.4.6",
"description": "Crushee",
"main": "src/electron.js",
"repository": "github:xanderfrangos/crushee",
"dependencies": {
"@xanderfrangos/imagemin-gifsicle": "^7.0.0",
"appdata-path": "^1.0.0",
"css-loader": "^5.0.1",
"del": "^6.1.1",
"electron-is-dev": "^1.2.0",
"ga4-mp": "^1.0.3",
"heic-decode": "^1.1.2",
"imagemin": "^7.0.1",
"imagemin-advpng": "^6.0.0",
"imagemin-jpeg-recompress": "^7.0.0",
"imagemin-jpegtran": "^7.0.0",
"imagemin-mozjpeg": "^9.0.0",
"imagemin-pngquant": "^9.0.1",
"imagemin-svgo": "^8.0.0",
"react": "^17.0.1",
"react-color": "^2.19.3",
"react-dom": "^17.0.1",
"react-window": "^1.8.6",
"sharp": "^0.30.7",
"slash": "^3.0.0",
"uuid": "^8.3.2"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/preset-react": "^7.12.10",
"concurrently": "5.3.0",
"cross-env": "7.0.3",
"electron": "19.0.7",
"electron-builder": "23.1.0",
"parcel-bundler": "^1.12.5",
"sass": "^1.32.5",
"wait-on": "5.2.1"
},
"scripts": {
"parcel": "parcel src/html/*.html --port 3001 --out-dir build",
"parcel-build": "parcel build src/html/*.html --out-dir build --public-url ./ --no-minify",
"dev": "wait-on http://localhost:3001/index.html && electron . ",
"electron-build": "electron-builder --x64",
"postinstall": "electron-builder install-app-deps",
"appx": "npm run parcel-build && electron-builder -w appx -c.extraMetadata.name=crushee-appx ",
"appx-unsigned": "npm run parcel-build && electron-builder -w appx -c.appx.publisher=\"CN=AppModelSamples, OID.2.25.311729368913984317654407730594956997722=1\" -c.extraMetadata.name=crushee-appx -c.win.artifactName=\"${productName} v${version}-unsigned.${ext}\"",
"mac": "npm run parcel-build && electron-builder --x64 ",
"mac-unsigned": "npm run parcel-build && electron-builder --x64 -c.mac.identity=null",
"build": "npm run parcel-build && npm run electron-build",
"start": "concurrently \"npm run parcel\" \"npm run dev\""
},
"author": "Xander Frangos",
"license": "MIT",
"build": {
"productName": "Crushee",
"appId": "com.xanderfrangos.crushee",
"asar": false,
"directories": {
"buildResources": "resources"
},
"mac": {
"icon": "src/assets/icon-shadow.icns",
"category": "",
"darkModeSupport": true,
"artifactName": "${productName}-v${version}-${os}.${ext}",
"hardenedRuntime": false
},
"win": {
"icon": "src/assets/icon-shadow.ico",
"artifactName": "${productName}-v${version}-${os}-setup.${ext}"
},
"appx": {
"publisherDisplayName": "Xander Frangos",
"applicationId": "Crushee",
"displayName": "Crushee",
"identityName": "38002AlexanderFrangos.Crushee",
"publisher": "CN=B8E9A58B-32A7-4C6C-A474-D4BE2A3CEAD8",
"showNameOnTiles": true
},
"nsis": {
"deleteAppDataOnUninstall": true,
"warningsAsErrors": false
},
"files": [
"src/electron.js",
"src/app.preload.js",
"src/assets/*",
"src/optimizer/server.js",
"src/optimizer/file-thread.js",
"src/**/*",
"build/**/*"
]
},
"engines": {
"node": ">=12.0.0"
},
"os": [
"win32",
"darwin"
]
}