{
  "name": "renamer",
  "version": "1.8.0",
  "description": "",
  "main": "main.js",
  "scripts": {
    "start": "electron .",
    "test": "echo \"Error: no test specified\" && exit 1",
    "build": "electron-builder --win --x64"
  },
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "electron": "^28.0.0",
    "electron-builder": "^24.9.1"
  },
  "build": {
    "productName": "openRenamer",
    "appId": "openRenamer.app",
    "directories": {
      "output": "build"
    },
    "files": [
      "main.js",
      "preload.js",
      "index.html"
    ],
    "extraFiles": [
      {
        "from": "../openRenamerBackend",
        "to": "openRenamerBackend"
      }
    ],
    "copyright": "open-renamer",
    "nsis": {
      "oneClick": false,
      "allowElevation": true,
      "allowToChangeInstallationDirectory": true,
      "installerIcon": "./renamer.ico",
      "uninstallerIcon": "./renamer.ico",
      "installerHeaderIcon": "./renamer.ico",
      "createDesktopShortcut": true,
      "createStartMenuShortcut": true,
      "shortcutName": "openRenamer"
    },
    "win": {
      "icon": "./renamer.ico",
      "target": [
        "nsis",
        "zip"
      ],
      "extraFiles": [
        {
          "from": "windows/node.exe",
          "to": "node.exe"
        }
      ]
    },
    "mac": {
      "target": [
        "dmg",
        "zip"
      ]
    },
    "linux": {
      "icon": "build/icons"
    }
  },
  "dependencies": {
    "electron-log": "^5.0.1"
  }
}
