build: add a yarn clean script to desktop-electron

This commit is contained in:
Tom French 2022-05-31 23:41:36 +01:00 committed by James Long
parent c2e9227ea1
commit 908def3957
2 changed files with 2 additions and 1 deletions

View file

@ -131,7 +131,7 @@ fi
(
cd packages/desktop-electron;
rm -rf dist;
yarn clean;
export npm_config_better_sqlite3_binary_host="https://static.actualbudget.com/prebuild/better-sqlite3"

View file

@ -5,6 +5,7 @@
"description": "A simple and powerful personal finance system",
"version": "4.0.2",
"scripts": {
"clean": "rm -rf dist",
"build": "electron-builder",
"watch": "cross-env ACTUAL_DOCUMENT_DIR=\"../../data\" ACTUAL_DATA_DIR=\"../../data\" electron ."
},