diff --git a/package.json b/package.json index 3f3856ad..30d92b57 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,9 @@ "prebuild": "cross-env NODE_ENV=production node scripts/preBuild.js", "build": "cross-env NODE_ENV=production npm-run-all -s build:frontend:prod build:electron:prod", "postbuild": "cross-env NODE_ENV=production node scripts/postBuild.js", + "prebuild:mac": "cross-env NODE_ENV=production node scripts/preBuild.js", + "build:mac": "npm run build:frontend:prod", + "postbuild:mac": "npm run build:electron:prod", "build:frontend:dev": "cross-env NODE_ENV=development rollup -c -w", "build:frontend:prod": "cross-env NODE_ENV=production rollup -c", "build:electron:dev": "tsc --p ./tsconfig.electron.json", @@ -31,6 +34,8 @@ "prerelease": "npm run build", "release": "electron-builder", "postrelease": "node scripts/cleanBuilds.js", + "prerelease:mac": "npm run build:mac", + "release:mac": "electron-builder", "prerelease:arm64": "npm run build", "release:arm64": "electron-builder --arm64 --publish onTagOrDraft", "postrelease:arm64": "node scripts/cleanBuilds.js",