{
  "name": "esurat-fkip-ubn",
  "version": "1.0.0",
  "description": "Sistem Informasi Administrasi Persuratan Terpadu FKIP Universitas Banda Naira",
  "author": "FKIP Universitas Banda Naira",
  "private": true,
  "main": "electron/main.js",
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "lint": "next lint",
    "electron": "electron .",
    "dist:win": "electron-builder --win nsis:x64",
    "build:exe": "npm run build && powershell -ExecutionPolicy Bypass -File build_cpanel_zip.ps1 && electron-builder --win nsis:x64"
  },
  "dependencies": {
    "clsx": "^2.1.1",
    "lucide-react": "^1.57.0",
    "mysql2": "^3.24.6",
    "next": "14.2.35",
    "qrcode.react": "^4.2.0",
    "react": "^18",
    "react-dom": "^18",
    "tailwind-merge": "^3.7.0"
  },
  "devDependencies": {
    "@types/node": "^20",
    "@types/react": "^18",
    "@types/react-dom": "^18",
    "electron": "^44.7.2",
    "electron-builder": "^26.15.3",
    "eslint": "^8",
    "eslint-config-next": "14.2.35",
    "postcss": "^8",
    "tailwindcss": "^3.4.1",
    "typescript": "^5"
  },
  "build": {
    "appId": "com.palabyw.esurat",
    "productName": "E-Surat FKIP UBN",
    "copyright": "Copyright © 2026 FKIP Universitas Banda Naira",
    "directories": {
      "output": "dist_installer"
    },
    "win": {
      "target": [
        {
          "target": "nsis",
          "arch": [
            "x64"
          ]
        }
      ],
      "icon": "public/icon.ico"
    },
    "nsis": {
      "oneClick": false,
      "perMachine": false,
      "allowToChangeInstallationDirectory": true,
      "createDesktopShortcut": true,
      "createStartMenuShortcut": true,
      "shortcutName": "E-Surat FKIP UBN"
    },
    "files": [
      "electron/**/*",
      "public/**/*"
    ],
    "extraResources": [
      {
        "from": "dist_cpanel",
        "to": "app/standalone",
        "filter": [
          "**/*",
          "!**/*.md",
          "!**/*.sql",
          "!**/.htaccess"
        ]
      },
      {
        "from": "dist_cpanel/node_modules",
        "to": "app/standalone/node_modules",
        "filter": [
          "**/*"
        ]
      }
    ]
  }
}
