package.json 627 B

1234567891011121314151617
  1. {
  2. "name": "service",
  3. "module": "main.ts",
  4. "devDependencies": {
  5. "@types/bun": "latest"
  6. },
  7. "peerDependencies": {
  8. "typescript": "^5.0.0"
  9. },
  10. "scripts": {
  11. "build-linux-x64": "bun build --compile --target=bun-linux-x64-baseline ./main.ts --outfile dist/service",
  12. "build-linux-arm64": "bun build --compile --target=bun-linux-arm64 ./main.ts --outfile dist/service-arm64",
  13. "build-windows-x64": "bun build --compile --target=bun-windows-x64 ./main.ts --outfile dist/service.exe",
  14. "build": "npm run build-linux-x64 && npm run build-linux-arm64 && npm run build-windows-x64"
  15. },
  16. "type": "module"
  17. }