-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
129 lines (129 loc) · 3.3 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
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "electron-react",
"version": "1.0.0",
"private": true,
"homepage": "./",
"main": "public/electron.js",
"description": "Simple Electron React Sample",
"author": {
"name": "Greif Matthias",
"email": "greif.matthias@outlook.com"
},
"scripts": {
"start": "react-scripts start",
"dev": "nf start -p 3000",
"react:build": "react-scripts build",
"electron": "electron .",
"postinstall": "electron-builder install-app-deps",
"electron-build": "npm run react:build && electron .",
"pack": "electron-builder --dir",
"build:mac": "electron-builder --mac",
"build:windows": "electron-builder --windows",
"build:linux": "electron-builder --linux",
"dist:mac": "npm run react:build && npm run build:mac",
"dist:windows": "npm run react:build && npm run build:windows",
"dist:linux": "npm run react:build && npm run build:linux",
"dist": "npm run react:build && npm run build:windows && npm run build:linux && npm run build:mac",
"update": "npx npm-check-updates -u && npm i"
},
"build": {
"appId": "be.greifmatthias.electronreact",
"copyright": "Copyright © 2020 Greif Matthias",
"productName": "Electron-React",
"asar": true,
"directories": {
"output": "releases/${version}/${os}"
},
"mac": {
"icon": "dist/icon.icns",
"category": "Productivity",
"artifactName": "${productName}-${version}-${arch}.${ext}"
},
"dmg": {
"background": "dist/background.jpg",
"icon": "dist/icon.icns",
"iconSize": 100,
"contents": [
{
"x": 175,
"y": 200,
"type": "file"
},
{
"x": 475,
"y": 200,
"type": "link",
"path": "/Applications"
}
],
"window": {
"width": 650,
"height": 450
}
},
"linux": {
"category": "Util;GNOME;GTK",
"packageCategory": "GNOME;GTK",
"description": "Electron-React Sample",
"target": [
"deb",
"zip",
"AppImage"
],
"maintainer": "Greif Matthias <greif.matthias@outlook.com>",
"artifactName": "${productName}-${version}-${arch}.${ext}"
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"icon": "dist/icon.ico",
"publisherName": "Greif Matthias",
"artifactName": "${productName}-${version}-${arch}.${ext}",
"verifyUpdateCodeSignature": true
},
"nsis": {
"perMachine": true,
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": true
}
},
"dependencies": {
"react": "17.0.2",
"react-dom": "17.0.2"
},
"devDependencies": {
"electron": "12.0.5",
"electron-builder": "22.10.5",
"foreman": "3.0.1",
"react-scripts": "4.0.3",
"@types/jest": "26.0.23",
"@types/node": "12.20.11",
"@types/react": "17.0.4",
"@types/react-dom": "17.0.3",
"typescript": "4.2.4"
},
"eslintConfig": {
"extends": [
"react-app"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}