mirror of
https://github.com/Fabio286/antares.git
synced 2024-12-24 16:00:54 +01:00
chore: update package.json
This commit is contained in:
parent
8dfaa3b7be
commit
9cd51c8d8b
15
package.json
15
package.json
@ -11,6 +11,7 @@
|
|||||||
"build": "cross-env NODE_ENV=production npm run compile && electron-builder",
|
"build": "cross-env NODE_ENV=production npm run compile && electron-builder",
|
||||||
"release": "standard-version",
|
"release": "standard-version",
|
||||||
"release:pre": "npm run release -- --prerelease alpha",
|
"release:pre": "npm run release -- --prerelease alpha",
|
||||||
|
"release:snap": "npm run build -- --linux snap && snapcraft upload --release=edge ./dist/Antares-${npm_package_version}-linux_amd64.snap",
|
||||||
"test": "npm run lint",
|
"test": "npm run lint",
|
||||||
"lint": "eslint . --ext .js,.vue && stylelint \"./src/**/*.{css,scss,sass,vue}\"",
|
"lint": "eslint . --ext .js,.vue && stylelint \"./src/**/*.{css,scss,sass,vue}\"",
|
||||||
"lint:fix": "eslint . --ext .js,.vue --fix && stylelint \"./src/**/*.{css,scss,sass,vue}\" --fix"
|
"lint:fix": "eslint . --ext .js,.vue --fix && stylelint \"./src/**/*.{css,scss,sass,vue}\" --fix"
|
||||||
@ -36,6 +37,7 @@
|
|||||||
"linux": {
|
"linux": {
|
||||||
"target": [
|
"target": [
|
||||||
"deb",
|
"deb",
|
||||||
|
"snap",
|
||||||
"AppImage"
|
"AppImage"
|
||||||
],
|
],
|
||||||
"category": "Development"
|
"category": "Development"
|
||||||
@ -43,6 +45,19 @@
|
|||||||
"appImage": {
|
"appImage": {
|
||||||
"license": "./LICENSE",
|
"license": "./LICENSE",
|
||||||
"category": "Development"
|
"category": "Development"
|
||||||
|
},
|
||||||
|
"snap": {
|
||||||
|
"publish": [
|
||||||
|
"github",
|
||||||
|
"snapStore"
|
||||||
|
],
|
||||||
|
"environment": {
|
||||||
|
"ELECTRON_SNAP": "true"
|
||||||
|
},
|
||||||
|
"stagePackages": ["fcitx-frontend-gtk3", "libsecret-1-0", "libasound2", "libgconf2-4", "libnotify4", "libnspr4", "libnss3", "libpcre3", "libpulse0", "libxss1", "libxtst6"]
|
||||||
|
},
|
||||||
|
"portable": {
|
||||||
|
"artifactName": "${productName}-${version}-portable.exe"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"electronWebpack": {
|
"electronWebpack": {
|
||||||
|
Loading…
Reference in New Issue
Block a user