{
  "name": "timetracker-desktop",
  "version": "4.20.9",
  "description": "TimeTracker desktop app for Windows, Linux, and macOS",
  "main": "src/main/main.js",
  "scripts": {
    "prestart": "npm run build:renderer",
    "prebuild": "npm run build:renderer",
    "test": "node --test \"test/**/*.test.js\"",
    "start": "npm run build:renderer && electron .",
    "dev": "npm run build:renderer && electron . --dev",
    "dev:renderer": "vite --host 127.0.0.1",
    "build:renderer": "vite build",
    "build": "npm run build:renderer && electron-builder",
    "build:win": "npm run build:renderer && electron-builder --win",
    "build:mac": "npm run build:renderer && electron-builder --mac",
    "build:linux": "npm run build:renderer && electron-builder --linux",
    "build:all": "node scripts/build-all-platforms.js",
    "build:win+linux": "npm run build:renderer && electron-builder --win --linux",
    "build:all-force": "npm run build:renderer && electron-builder --win --mac --linux",
    "clean:cache": "node scripts/clean-cache.js",
    "dist": "npm run build:renderer && electron-builder --publish=never"
  },
  "keywords": [
    "timetracker",
    "time-tracking",
    "electron"
  ],
  "author": {
    "name": "TimeTracker",
    "email": "support@timetracker.app"
  },
  "homepage": "https://github.com/DRYTRIX/TimeTracker",
  "license": "MIT",
  "devDependencies": {
    "@vitejs/plugin-react": "^5.1.2",
    "electron": "^41.2.1",
    "electron-builder": "^26.8.1",
    "esbuild": "^0.28.0",
    "vite": "^7.3.0"
  },
  "dependencies": {
    "axios": "^1.6.2",
    "dexie": "^3.2.4",
    "electron-store": "^8.1.0",
    "react": "^19.2.5",
    "react-dom": "^19.2.5"
  },
  "build": {
    "appId": "com.timetracker.desktop",
    "productName": "TimeTracker",
    "directories": {
      "output": "dist"
    },
    "files": [
      "src/**/*",
      "assets/**/*",
      "dist-renderer/**/*",
      "package.json"
    ],
    "asar": true,
    "asarUnpack": [],
    "win": {
      "target": [
        {
          "target": "nsis",
          "arch": [
            "x64"
          ]
        }
      ],
      "icon": "assets/icon.ico",
      "artifactName": "${productName}-${version}-${arch}.${ext}"
    },
    "mac": {
      "target": [
        {
          "target": "dmg",
          "arch": [
            "x64",
            "arm64"
          ]
        }
      ],
      "icon": "assets/icon.icns",
      "category": "public.app-category.productivity",
      "artifactName": "${productName}-${version}-${arch}.${ext}"
    },
    "linux": {
      "target": [
        {
          "target": "AppImage",
          "arch": [
            "x64"
          ]
        },
        {
          "target": "deb",
          "arch": [
            "x64"
          ]
        }
      ],
      "icon": "assets/icon.png",
      "category": "Utility",
      "maintainer": "TimeTracker <support@timetracker.app>",
      "artifactName": "${productName}-${version}-${arch}.${ext}"
    },
    "nsis": {
      "oneClick": false,
      "allowToChangeInstallationDirectory": true
    }
  }
}
