-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 2.35 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
{
"name": "micmac_gui",
"version": "1.1.1",
"private": true,
"author": "Clinton Reese <reese@clintons3d.com>",
"description": "MicMac simple graphical user interface",
"dependencies": {
"image-size": "~1.1.1",
"jpeg-exif": "~1.1.4",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router-dom": "~4.3.1",
"react-scripts": "^2.1.8",
"rimraf": "~2.6.3",
"sharp": "^0.33.5",
"three": "^0.119.1",
"to-regex-range": "~5.0.1",
"tree-kill": "^1.2.2",
"xml2js": "~0.4.19"
},
"homepage": "./",
"main": "public/electron.js",
"scripts": {
"start": "react-scripts --openssl-legacy-provider start",
"build": "react-scripts --openssl-legacy-provider build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject",
"electron": "electron .",
"//": "below is for windows, for linux mac remove 'set' and '&&' ",
"electron-dev-win": "set NODE_ENV=development && set ELECTRON_START_URL=http://localhost:3000 && electron .",
"electron-dev-linux": "NODE_ENV=development ELECTRON_START_URL=http://localhost:3000 electron .",
"electron:package:mac": "yarn build && electron-builder -m -c.extraMetadata.main=build/electron.js",
"electron:package:win": "yarn build && electron-builder -w -c.extraMetadata.main=build/electron.js",
"electron:package:linux": "yarn build && electron-builder -l -c.extraMetadata.main=build/electron.js"
},
"devDependencies": {
"electron": "^15.3.2",
"electron-builder": "^22.14.13"
},
"//": "ubuntu libconf errors, fixed by running - sudo apt-get install libgconf2-4",
"browserslist": [
"last 1 electron version",
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"build": {
"appId": "com.clintons3d.micmacgui",
"productName": "MicMac GUI",
"files": ["build/**/*", "node_modules/**/*"],
"directories": {
"buildResources": "public"
},
"extraResources": ["./fonts/**"],
"mac": {
"target": "dmg",
"icon": "build/icon512x512.icns",
"category": "public.app-category.graphics-design"
},
"win": {
"target": ["portable", "nsis"],
"icon": "build/icon512x512.png"
},
"linux": {
"target": "deb",
"asarUnpack": [
"**/node_modules/sharp/**"
],
"icon": "build/icon512x512.icns",
"category": "Graphics"
}
}
}