farmcontrol-server/package.json
Tom Butcher 8741a2c6fd
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
Enhance build configuration and scripts
- Updated electrobun.config.ts to include environment-based settings for stability and external dependencies.
- Refactored package.json scripts for improved build processes and streamlined commands.
- Added new build scripts for Linux and renderer, while removing the obsolete build-server script.
- Enhanced pre-build validation to ensure required files are present and added logging for better visibility.
- Updated clean-build script to remove additional artifact directories for thorough cleanup.
2026-08-01 21:13:51 +01:00

55 lines
1.6 KiB
JSON

{
"name": "farmcontrol-server",
"version": "1.0.0",
"description": "Connects to moonraker and also manages the socket connection to the printer.",
"type": "module",
"scripts": {
"start": "bun src/headless.js",
"dev": "cross-env NODE_ENV=development bun --watch src/index.js",
"dev:app": "concurrently \"cross-env NODE_ENV=development bun run dev:renderer\" \"cross-env NODE_ENV=development electrobun dev\"",
"dev:renderer": "vite src/app --port 5287 --no-open",
"build:app": "electrobun build --env=stable",
"build:app:mac": "bun scripts/build-macos.mjs",
"build:linux": "bun scripts/build-linux.mjs",
"clean": "bun scripts/clean-build.mjs"
},
"author": "Tom Butcher",
"license": "ISC",
"dependencies": {
"axios": "^1.16.1",
"canvas": "^3.2.3",
"chalk": "5.4.1",
"cli-spinners": "^3.4.0",
"etcd3": "^1.1.2",
"express": "^5.2.1",
"form-data": "^4.0.5",
"ipp": "^2.0.1",
"jsonwebtoken": "^9.0.3",
"keycloak-connect": "^26.1.1",
"lodash": "^4.18.1",
"log4js": "^6.9.1",
"mongoose": "^9.6.2",
"node-cache": "^5.1.2",
"node-thermal-printer": "^4.6.0",
"socket.io": "^4.8.3",
"socket.io-client": "^4.8.3",
"ws": "^8.20.1"
},
"devDependencies": {
"@ant-design/icons": "^6.2.3",
"@vitejs/plugin-react": "^6.0.2",
"antd": "^5.29.2",
"concurrently": "^9.2.1",
"cross-env": "^10.1.0",
"electrobun": "^1.18.1",
"jest": "^30.4.2",
"prop-types": "^15.8.1",
"react": "^19.2.6",
"react-dom": "^19.2.6",
"supertest": "^7.2.2",
"vite": "^8.0.13",
"vite-plugin-svgo": "^2.0.0",
"vite-plugin-svgr": "^5.2.0"
}
}