Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
138 lines (138 loc) · 4.13 KB
/
Copy pathpackage.json
File metadata and controls
138 lines (138 loc) · 4.13 KB
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
130
131
132
133
134
135
136
137
138
{
"name": "mwcode-desktop",
"version": "1.0.5",
"description": "mwcode desktop app",
"homepage": "https://github.com/mindweave-cli/mwcode",
"repository": {
"type": "git",
"url": "https://github.com/mindweave-cli/mwcode.git"
},
"bugs": {
"url": "https://github.com/mindweave-cli/mwcode/issues"
},
"license": "Apache-2.0",
"desktopName": "mwcode.desktop",
"private": true,
"main": "main.js",
"scripts": {
"start": "electron .",
"postinstall": "node build/brand-electron.js",
"stage": "node build/stage.js",
"dist": "node build/stage.js && node build/assemble.js && electron-builder --win nsis --x64 --prepackaged dist/win-unpacked",
"dist:linux": "node build/stage.js && node build/assemble-linux.js && electron-builder --linux deb AppImage --x64 --prepackaged dist/linux-unpacked",
"dist:mac": "node build/stage.js darwin arm64 && node build/assemble-mac.js arm64",
"check:styles": "node scripts/check-styles.mjs",
"test": "node --test ui-store.test.mjs news/feed.test.mjs updater/update.test.mjs updater/macSwap.test.mjs updater/cliUpdate.test.mjs scroll-ease.test.mjs"
},
"dependencies": {
"koffi": "^3.3.2",
"marked": "^15.0.12",
"mindweave": "file:../Mindweave"
},
"devDependencies": {
"@fontsource-variable/fraunces": "^5.3.0",
"@fontsource-variable/instrument-sans": "^5.3.0",
"@fontsource/ibm-plex-mono": "^5.3.0",
"electron": "^44.4.5",
"electron-builder": "^26.15.3",
"rcedit": "^4.0.1"
},
"allowScripts": {
"electron@44.4.5": true
},
"build": {
"appId": "com.mindweave.mwcode",
"productName": "mwcode",
"copyright": "Copyright © Mindweave contributors. Apache License 2.0.",
"directories": {
"app": ".stage/app",
"output": "dist"
},
"electronVersion": "44.4.5",
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"icon": "assets/icon.ico",
"executableName": "mwcode",
"signAndEditExecutable": true
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"selectPerMachineByDefault": false,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "mwcode",
"uninstallDisplayName": "mwcode",
"installerIcon": "build/installer-icon.ico",
"uninstallerIcon": "build/installer-icon.ico",
"installerHeaderIcon": "build/installer-icon.ico",
"installerSidebar": "build/installer-sidebar.bmp",
"uninstallerSidebar": "build/installer-sidebar.bmp",
"license": "../Mindweave/LICENSE",
"include": "build/installer.nsh",
"runAfterFinish": true,
"deleteAppDataOnUninstall": false,
"artifactName": "mwcode-Setup-${version}.exe"
},
"linux": {
"target": [
{
"target": "deb",
"arch": [
"x64"
]
},
{
"target": "AppImage",
"arch": [
"x64"
]
}
],
"icon": "assets/icon.png",
"executableName": "mwcode",
"category": "Development",
"synopsis": "Coding agent",
"description": "mwcode: the Mindweave coding agent, as a desktop app. Includes the mw command line.",
"maintainer": "Mindweave contributors",
"vendor": "Mindweave",
"desktop": {
"entry": {
"StartupWMClass": "mwcode"
}
}
},
"deb": {
"packageName": "mwcode",
"afterInstall": "build/linux/after-install.sh",
"afterRemove": "build/linux/after-remove.sh",
"depends": [
"libgtk-3-0 | libgtk-3-0t64",
"libnotify4",
"libnss3",
"libxss1",
"libxtst6",
"xdg-utils",
"libatspi2.0-0 | libatspi2.0-0t64",
"libuuid1",
"libsecret-1-0",
"libasound2 | libasound2t64",
"libgbm1"
],
"artifactName": "mwcode_${version}_amd64.deb",
"appArmorProfile": "build/linux/apparmor-profile"
},
"appImage": {
"artifactName": "mwcode-${version}-x86_64.AppImage"
}
}
}