Add custom electron publish script

This commit is contained in:
Alex Gleason committed 2025-10-29 22:48:21 -05:00
1 parent 8b4d86692a
commit ccd26cbb71
7 files changed
+676 -1037

No files matched your search

+4 -1
View File
@@ -17,7 +17,9 @@
"dev": "npm i --silent && vite",
"build": "npm i --silent && vite build -l error && cp dist/index.html dist/404.html && echo 'Project built successfully!'",
"typecheck": "npm i --silent && tsc --noEmit",
"test": "npm i --silent && eslint && vitest run --reporter=dot --silent && echo 'All tests passed!'"
"test": "npm i --silent && eslint && vitest run --reporter=dot --silent && echo 'All tests passed!'",
"electron": "electron electron",
"electron:publish": "npm run build && rm -rf electron/dist && cp -r dist electron/dist && node scripts/prepare-electron-publish.js && cd electron && npm publish"
},
"dependencies": {
"@dnd-kit/core": "^6.3.1",
@@ -122,6 +124,7 @@
"@types/uri-templates": "^0.1.34",
"@vitejs/plugin-react-swc": "^3.5.0",
"autoprefixer": "^10.4.20",
"electron": "^39.0.0",
"eslint": "^9.9.0",
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
"eslint-plugin-react-refresh": "^0.4.9",