From 21a97f23087e637b20a191e814fe3f477bbe4a5b Mon Sep 17 00:00:00 2001 From: Mattk70 Date: Fri, 22 Mar 2024 16:01:01 +0000 Subject: [PATCH] package.json: renamed publish script to build added prebuild as a script (automatically run before build) changed tracking site to 2 --- js/tracking.js | 2 +- package.json | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/js/tracking.js b/js/tracking.js index c67ea88f..01b2dd08 100644 --- a/js/tracking.js +++ b/js/tracking.js @@ -1,5 +1,5 @@ const DEBUG = false; -const ID_SITE = 3; +const ID_SITE = 2; function trackEvent(uuid, event, action, name, value){ diff --git a/package.json b/package.json index cd8156c8..c8953bc3 100644 --- a/package.json +++ b/package.json @@ -5,16 +5,16 @@ "main": "main.js", "scripts": { "start": "electron .", + "prebuild": "node prebuild.js", "minify": "node minify.js", "export": "electron-builder build --win --x64", - "publish": "electron-builder --win --x64 -p always" + "build": "electron-builder --win --x64 -p always" }, "repository": { "type": "git", "url": "git+https://github.com/mattk70/Chirpity-Electron.git" }, "build": { - "beforeBuild": "prebuild.js", "appId": "com.electron.chirpity", "publish": [ { @@ -182,8 +182,8 @@ "homepage": "https://chirpity.mattkirkland.co.uk", "devDependencies": { "@playwright/test": "^1.39.0", - "electron": "^27.1.3", - "electron-builder": "24.6.4", + "electron": "^29.1.5", + "electron-builder": "^24.6.4", "electron-playwright-helpers": "^1.6.0", "jimp": "^0.22.10", "playwright": "^1.39.0",