File tree Expand file tree Collapse file tree 4 files changed +487
-24
lines changed Expand file tree Collapse file tree 4 files changed +487
-24
lines changed Original file line number Diff line number Diff line change 15
15
npm-debug.log
16
16
17
17
.idea
18
+
19
+ # electron
20
+ dist
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " electron-with-create-react-app" ,
3
3
"version" : " 0.1.0" ,
4
+ "description" : " Electron app powered by CRA" ,
5
+ "author" : " OSS Community" ,
4
6
"private" : true ,
5
7
"devDependencies" : {
6
8
"electron" : " ^1.4.15" ,
9
+ "electron-builder" : " ^13.6.0" ,
7
10
"foreman" : " ^2.0.0" ,
8
11
"react-scripts" : " ^0.9.0"
9
12
},
19
22
"test" : " react-scripts test --env=jsdom" ,
20
23
"eject" : " react-scripts eject" ,
21
24
"electron" : " electron ." ,
22
- "dev" : " nf start -p 3000"
25
+ "dev" : " nf start -p 3000" ,
26
+ "pack" : " build --dir" ,
27
+ "dist" : " npm run build && build" ,
28
+ "postinstall" : " install-app-deps"
29
+ },
30
+ "build" : {
31
+ "appId" : " com.electron.electron-with-create-react-app" ,
32
+ "win" : {
33
+ "iconUrl" : " https://cdn2.iconfinder.com/data/icons/designer-skills/128/react-256.png"
34
+ },
35
+ "directories" : {
36
+ "buildResources" : " public"
37
+ }
23
38
}
24
39
}
You can’t perform that action at this time.
0 commit comments