{
  "name": "dashcaddy-installer",
  "version": "1.0.0",
  "description": "Cross-platform installer for DashCaddy platform",
  "main": "src/main/index.js",
  "scripts": {
    "start": "electron .",
    "dev": "electron . --dev",
    "test": "jest",
    "test:watch": "jest --watch",
    "build": "electron-builder",
    "build:win": "electron-builder --win",
    "build:mac": "electron-builder --mac",
    "build:linux": "electron-builder --linux"
  },
  "keywords": [
    "dashcaddy",
    "installer",
    "docker",
    "caddy"
  ],
  "author": {
    "name": "DashCaddy Team",
    "email": "dashcaddy@sami.cloud"
  },
  "homepage": "https://github.com/dashcaddy/dashcaddy",
  "license": "MIT",
  "devDependencies": {
    "electron": "^28.3.3",
    "electron-builder": "^24.9.1",
    "fast-check": "^3.15.0",
    "jest": "^29.7.0"
  },
  "build": {
    "appId": "com.dashcaddy.installer",
    "productName": "DashCaddy Installer",
    "asar": true,
    "directories": {
      "output": "build-output"
    },
    "files": [
      "src/**/*",
      "assets/**/*",
      "templates/**/*"
    ],
    "extraResources": [
      {
        "from": "../status",
        "to": "status",
        "filter": ["**/*", "!node_modules/**", "!.git/**", "!**/*.test.js", "!**/*.spec.js"]
      },
      {
        "from": "../dashcaddy-api",
        "to": "dashcaddy-api",
        "filter": ["**/*", "!node_modules/**", "!.git/**", "!**/*.test.js", "!**/*.spec.js"]
      }
    ],
    "icon": "assets/favicon.ico",
    "win": {
      "target": [
        "nsis",
        "portable"
      ],
      "icon": "assets/favicon.ico",
      "signAndEditExecutable": false
    },
    "mac": {
      "target": "dmg",
      "icon": "assets/dashcaddy-logo.png"
    },
    "linux": {
      "target": [
        "AppImage",
        "deb"
      ],
      "icon": "assets/dashcaddy-logo.png",
      "category": "Utility"
    },
    "nsis": {
      "oneClick": false,
      "allowToChangeInstallationDirectory": true,
      "installerIcon": "assets/icon.ico",
      "uninstallerIcon": "assets/icon.ico",
      "installerHeaderIcon": "assets/icon.ico"
    }
  }
}
