Some checks reported errors
farmcontrol/farmcontrol-server/pipeline/head Something is wrong with the build of this commit
- Updated electrobun.config.ts to conditionally enable code signing and notarization based on developer ID presence. - Refactored Jenkinsfile to support separate macOS builds for x64 and arm64 architectures. - Added new scripts for ensuring core dependencies and patching Electrobun source for cross-architecture compatibility. - Enhanced build-macos.mjs to improve architecture detection and build order, ensuring robust handling of macOS builds. - Updated package.json to include a post-install script for patching Electrobun source files.
56 lines
1.7 KiB
JSON
56 lines
1.7 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",
|
|
"postinstall": "bun scripts/patch-electrobun-src.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"
|
|
}
|
|
}
|