build: update build script

This commit is contained in:
Fabio Di Stasio 2021-05-17 19:08:36 +02:00
parent 5efcad4d3f
commit d26f168250
1 changed files with 6 additions and 4 deletions

View File

@ -8,8 +8,9 @@
"scripts": {
"dev": "cross-env NODE_ENV=development electron-webpack dev",
"compile": "electron-webpack",
"build": "cross-env NODE_ENV=production npm run compile && electron-builder",
"build:appx": "npm run build -- --win appx",
"build": "cross-env NODE_ENV=production npm run compile",
"build:local": "npm run build && electron-builder",
"build:appx": "npm run build:local -- --win appx",
"release": "standard-version",
"release:pre": "npm run release -- --prerelease alpha",
"test": "npm run lint",
@ -46,7 +47,8 @@
"target": "AppImage",
"arch": [
"x64",
"armv7l"
"armv7l",
"arm64"
]
}
],
@ -130,4 +132,4 @@
"vue-template-compiler": "^2.6.12",
"webpack": "^4.46.0"
}
}
}