Replace backend build script in package.json with a Node.js script for improved compatibility and maintainability. Added new build-backend.js script to handle the backend build process using Python.

This commit is contained in:
2025-11-30 21:16:49 -06:00
parent dea21b8515
commit f6a1be5e80
2 changed files with 19 additions and 1 deletions

View File

@@ -7,7 +7,7 @@
"scripts": {
"watch": "npm run build-frontend -- --watch",
"build-frontend": "vite build",
"build-backend": "venv/bin/python setup.py build",
"build-backend": "node scripts/build-backend.js",
"build": "npm run build-frontend && npm run build-backend",
"electron-postinstall": "electron-builder install-app-deps",
"electron": "npm run electron-postinstall && npm run build && electron .",