-
Notifications
You must be signed in to change notification settings - Fork 0
/
vue.config.js
89 lines (88 loc) · 2.94 KB
/
vue.config.js
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
const ThreadsPlugin = require('threads-plugin');
module.exports = {
publicPath: '',
assetsDir: '',
configureWebpack: {
devtool: 'source-map',
plugins: [
new ThreadsPlugin({
target: 'electron-node-worker',
globalObject: 'self',
})
],
},
pluginOptions: {
electronBuilder: {
nodeIntegration: true,
externals: ['plotly.js-dist', 'hclusterjs', 'about-window'],
chainWebpackRendererProcess(config) {
config.plugins.delete('workbox')
config.plugins.delete('pwa')
},
builderOptions: {
productName: "moseq-reports",
appId: "edu.rutgers.tischfieldlab.moseq-reports",
fileAssociations: [
{
ext: "msq",
name: "Moseq Data File",
role: "Editor"
}
],
dmg: {
contents: [
{
x: 120,
y: 220
},
{
x: 420,
y: 220,
type: "link",
path: "/Applications"
}
],
publish: ["github"],
sign: false
},
mac: {
hardenedRuntime: true,
entitlements: "buildfiles/entitlements.mac.plist",
entitlementsInherit: "buildfiles/entitlements.mac.plist",
gatekeeperAssess: false,
},
linux: {
target: [
"deb",
"AppImage",
],
category: "Development",
fileAssociations: [
{
ext: 'msq',
},
],
},
win: {
// For some reason, this fails on the nsi version... so we are leaving it
// out for the moment...
target: [
// "msi",
"nsis"
],
icon: "public/img/icons/winapp256x256.ico",
certificateSubjectName: "Rutgers, The State University of New Jersey",
// certificateFile: "test.pfx",
publish: ["github"],
},
publish: {
provider: "github",
owner: "tischfieldlab",
repo: "moseq-reports",
private: true,
},
afterSign: "buildfiles/notarize.js"
}
}
}
}