This repository has been archived by the owner on Jul 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
electron-builder.yml
61 lines (52 loc) · 2.11 KB
/
electron-builder.yml
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
appId: com.mainframeos.desktop
productName: MainframeOS
artifactName: '${productName}.${ext}'
electronVersion: '6.0.10'
directories:
buildResources: build
linux:
category: Network
icon: 'build/icon/'
target:
- AppImage
- dir
dmg:
icon: 'build/dmg/icon.png'
background: 'build/dmg/background.png'
mac:
icon: 'build/icon.icns'
target:
- dmg
- zip
win:
certificateSubjectName: 'Mainframe Group, Inc'
icon: 'build/icon.ico'
target:
- target: nsis
arch:
- 'x64'
- 'ia32'
files:
# Files to include
- 'build/icon/*'
- 'dist/latest.yml'
- 'dist/latest-linux.yml'
- 'dist/latest-mac.yml'
# Individual files to exclude - mostly from https://github.com/LedgerHQ/ledger-live-desktop/blob/develop/electron-builder.yml
- '!report-*.html'
- '!node_modules/**/{CONTRIBUTORS,LICENSE,License,license,CNAME,AUTHOR,TODO,CONTRIBUTING,COPYING,INSTALL,NEWS,PORTING,Makefile,htdocs,CHANGELOG,ChangeLog,changelog,README,Readme,readme,test,example,demo,composer.json,tsconfig.json,jsdoc.json,tslint.json,typings.json,gulpfile,bower.json,package-lock,Gruntfile,CMakeLists,karma.conf,yarn.lock}*'
- '!node_modules/**/{coverage,man,flow-typed,benchmark,spec,cmake,browser,vagrant,doxy*,bin,obj,obj.target,example,examples,test,tests,__tests__,mocks,__mocks__,doc,docs,msvc,Xcode,CVS,RCS,SCCS,.storybook}{,/**/*}'
- '!node_modules/**/*.{conf,png,pc,coffee,txt,spec.js,ts,js.flow,html,def,jst,xml,ico,in,ac,sln,dsp,dsw,cmd,vcproj,vcxproj,vcxproj.filters,pdb,exp,obj,lib,map,md,sh,gypi,gyp,h,cpp,yml,log,tlog,Makefile,mk,c,cc,rc,xcodeproj,xcconfig,d.ts,yaml,hpp,py}'
# Unnecessary modules to exclude
- '!node_modules/@erebos/{dist,esm}{,/**/*}'
- '!node_modules/@mainframe/{dist,esm}{,/**/*}'
- '!node_modules/ajv/dist{,/**/*}'
- '!node_modules/electron{,/**/*}'
- '!node_modules/lodash-{es,fp}{,/**/*}'
- '!node_modules/lodash/fp{,/**/*}'
- '!node_modules/react-dom/umd{,/**/*}'
- '!node_modules/react/umd{,/**/*}'
- '!node_modules/source-map/dist{,/**/*}'
- '!node_modules/winston/dist{,/**/*}'
- '!node_modules/winston-transport/dist{,/**/*}'
- '!node_modules/ws{,/**/*}'