aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorRémy Raes <contact@remyraes.com>2021-12-31 17:20:46 +0100
committerGitHub <noreply@github.com>2021-12-31 17:20:46 +0100
commitcd0a935a85dde412dad0f0f201c8384feaf4ff7b (patch)
treee5d04acee0db42ab8f14a26d8f082c3930e25357 /package.json
parentba82a7e8e5bc90705649c859674caeb334996b81 (diff)
downloadViper-cd0a935a85dde412dad0f0f201c8384feaf4ff7b.tar.gz
Viper-cd0a935a85dde412dad0f0f201c8384feaf4ff7b.zip
chore: Build formats (#15)v0.9.0
Adds more build formats and info in the README * [feat] adding build:windows command * [fix] typo * [feat] adding build:linux command * [docs] adding enduser documentation to explain how to install Viper * [feat] building several Linux packages on build:linux * [fix] typo on build command * minor corrections Co-authored-by: 0neGal <mail@0negal.com>
Diffstat (limited to 'package.json')
-rw-r--r--package.json17
1 files changed, 15 insertions, 2 deletions
diff --git a/package.json b/package.json
index ca02932..3dec425 100644
--- a/package.json
+++ b/package.json
@@ -13,19 +13,32 @@
"installerIcon": "icon.ico",
"uninstallerIcon": "icon.ico",
"installerHeaderIcon": "icon.ico"
+ },
+ "linux": {
+ "icon": "512x512.png",
+ "category": "Game",
+ "target": [
+ "AppImage",
+ "snap",
+ "deb",
+ "rpm",
+ "tar.gz"
+ ]
}
},
"scripts": {
"start": "npx electron src/index.js",
"debug": "npx electron src/index.js --debug",
"man": "npx marked-man docs/viper.1.md > docs/viper.1",
- "build": "npx electron-builder --win nsis --linux appimage"
+ "build": "npx electron-builder --win nsis --win portable --linux",
+ "build:windows": "npx electron-builder --win nsis --win portable",
+ "build:linux": "npx electron-builder --linux"
},
"repository": {
"type": "git",
"url": "git+https://github.com/0neGal/viper.git"
},
- "author": "0neGal",
+ "author": "0neGal <mail@0negal.com>",
"license": "GPL-3.0-or-later",
"bugs": {
"url": "https://github.com/0neGal/viper/issues"