Skip to content

Commit

Permalink
package.json:
Browse files Browse the repository at this point in the history
renamed publish script to build
added prebuild as a script (automatically run before build)

changed tracking site to 2
  • Loading branch information
Mattk70 committed Mar 22, 2024
1 parent 0a93c10 commit 21a97f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion js/tracking.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const DEBUG = false;
const ID_SITE = 3;
const ID_SITE = 2;


function trackEvent(uuid, event, action, name, value){
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 21a97f2

Please sign in to comment.