Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions dev-scripts/flatpak-deps.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh
# Installs flatpak dependencies used by ′electron-installer-flatpak′
flatpak install flathub org.freedesktop.Sdk/x86_64/1.6 -y
flatpak install flathub org.freedesktop.Platform/x86_64/1.6 -y
flatpak install flathub org.electronjs.Electron2.BaseApp/x86_64/stable -y
12 changes: 10 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
"description": "Boostnote",
"license": "GPL-3.0",
"scripts": {
"package": "npm-run-all 'package:linux' 'package:macos' 'package:windows'",
"package:linux": "npx electron-packager . boostnote --platform linux --arch x64 --out packaged --prune",
"package:macos": "npx electron-packager . boostnote --platform darwin --arch x64 --out packaged --prune",
"package:windows": "npx electron-packager . boostnote --platform win32 --arch x64 --out packaged --prune",
"flatpak": "electron-installer-flatpak --src packaged/boostnote-linux-x64 --dest packaged/installers --arch x64 --bin boostnote",
"start": "electron ./index.js",
"compile": "grunt compile",
"test": "cross-env NODE_ENV=test ava --serial",
Expand Down Expand Up @@ -42,7 +47,8 @@
"Mike Resoli (https://github.com/mikeres0)",
"tjado (https://github.com/tejado)",
"Sota Sugiura (https://github.com/sota1235)",
"Milo Todt (https://github.com/MiloTodt)"
"Milo Todt (https://github.com/MiloTodt)",
"Sven Lechner (https://github.com/SirWindfield)"
],
"bugs": {
"url": "https://github.com/BoostIO/Boostnote/issues"
Expand Down Expand Up @@ -124,6 +130,7 @@
"uuid": "^3.2.1"
},
"devDependencies": {
"@malept/electron-installer-flatpak": "^0.10.0",
"ava": "^0.25.0",
"babel-core": "^6.14.0",
"babel-jest": "^22.4.3",
Expand All @@ -147,7 +154,7 @@
"electron": "3.0.8",
"electron-debug": "^2.2.0",
"electron-devtools-installer": "^2.2.4",
"electron-packager": "^12.2.0",
"electron-packager": "^14.0.4",
"eslint": "^3.13.1",
"eslint-config-standard": "^6.2.1",
"eslint-config-standard-jsx": "^3.2.0",
Expand All @@ -167,6 +174,7 @@
"merge-stream": "^1.0.0",
"mock-require": "^3.0.1",
"nib": "^1.1.0",
"npm-run-all": "^4.1.5",
"react-css-modules": "^4.7.9",
"react-input-autosize": "^1.1.0",
"react-test-renderer": "^16.8.6",
Expand Down
Loading