{
  "name": "Rosetta",
  "version": "1.5.5",
  "description": "Rosetta Messenger",
  "main": "./out/main/main.js",
  "license": "MIT",
  "build": {
    "electronUpdaterCompatibility": false,
    "extraResources": [
      {
        "from": "resources/",
        "to": "resources/"
      }
    ],
    "files": [
      "node_modules/sqlite3/**/*",
      "out/main/**/*",
      "out/preload/**/*",
      "resources/**/*",
      "out/renderer/**"
    ],
    "mac": {
      "appId": "im.rosetta",
      "icon": "icons/mac/icon.icns",
      "target": [
        "pkg"
      ],
      "artifactName": "builds/darwin/${arch}/Rosetta-${version}.${ext}",
      "publish": null
    },
    "pkg": {
      "scripts": "scripts",
      "installLocation": "/Applications",
      "isVersionChecked": true,
      "isRelocatable": false,
      "overwriteAction": "upgrade"
    },
    "linux": {
      "icon": "icons/png/256x256.png",
      "target": [
        "AppImage"
      ],
      "artifactName": "builds/linux/${arch}/Rosetta-${version}.${ext}"
    },
    "win": {
      "icon": "icons/win/icon.ico",
      "target": [
        "nsis"
      ],
      "artifactName": "builds/win/${arch}/Rosetta-${version}.${ext}"
    },
    "nsis": {
      "oneClick": false,
      "allowToChangeInstallationDirectory": true,
      "perMachine": true,
      "createDesktopShortcut": true,
      "createStartMenuShortcut": true,
      "shortcutName": "Rosetta"
    }
  },
  "scripts": {
    "dev": "electron-vite dev -w",
    "format": "prettier --write .",
    "lint": "eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts,.vue --fix",
    "start": "electron-vite preview",
    "postinstall": "electron-builder install-app-deps",
    "build:unpack": "electron-vite build && electron-builder --dir",
    "kernel:win": "mkdir \"dist/builds/win/x64\" && electron-vite build && electron-builder --win --x64",
    "kernel:darwin-arm64": "electron-vite build && electron-builder --mac --arm64",
    "kernel:darwin-x64": "electron-vite build && electron-builder --mac --x64",
    "kernel:mac": "mkdir -p dist/builds/darwin/arm64 dist/builds/darwin/x64 && npm run kernel:darwin-x64 && npm run kernel:darwin-arm64",
    "kernel:linux": "mkdir -p dist/builds/linux/x64 dist/builds/linux/arm64 dist/builds/linux/x86_64 && electron-vite build && electron-builder --linux --x64 --arm64 && if [ -d dist/builds/linux/x86_64 ]; then mkdir -p dist/builds/linux/x64 && mv dist/builds/linux/x86_64/* dist/builds/linux/x64/ 2>/dev/null || true; rmdir dist/builds/linux/x86_64 2>/dev/null || true; fi"
  },
  "dependencies": {
    "@electron-toolkit/preload": "^3.0.1",
    "@electron-toolkit/utils": "^4.0.0",
    "@emoji-mart/data": "^1.2.1",
    "@emoji-mart/react": "^1.1.1",
    "@mantine/charts": "^8.3.12",
    "@mantine/code-highlight": "^8.3.12",
    "@mantine/core": "^8.3.12",
    "@mantine/dates": "^8.3.12",
    "@mantine/dropzone": "^8.3.12",
    "@mantine/form": "^8.3.12",
    "@mantine/hooks": "^8.3.12",
    "@mantine/modals": "^8.3.12",
    "@noble/ciphers": "^1.3.0",
    "@noble/secp256k1": "^3.0.0",
    "@tabler/icons-react": "^3.31.0",
    "@types/crypto-js": "^4.2.2",
    "@types/diffie-hellman": "^5.0.3",
    "@types/elliptic": "^6.4.18",
    "@types/node-forge": "^1.3.11",
    "@types/npm": "^7.19.3",
    "@types/react-syntax-highlighter": "^15.5.13",
    "@types/react-transition-group": "^4.4.12",
    "absurd-sql": "^0.0.54",
    "bip39": "^3.1.0",
    "blurhash": "^2.0.5",
    "buffer": "^6.0.3",
    "crypto-js": "^4.2.0",
    "dayjs": "^1.11.13",
    "elliptic": "^6.6.1",
    "embla-carousel": "^8.6.0",
    "embla-carousel-react": "^8.6.0",
    "emoji-mart": "^5.6.0",
    "emoji-picker-react": "^4.16.1",
    "eventemitter3": "^5.0.1",
    "events": "^3.3.0",
    "i": "^0.3.7",
    "jsencrypt": "^3.3.2",
    "jszip": "^3.10.1",
    "libsodium": "^0.8.2",
    "libsodium-wrappers": "^0.8.2",
    "libsodium-wrappers-sumo": "^0.8.2",
    "lottie-react": "^2.4.1",
    "node-forge": "^1.3.1",
    "node-machine-id": "^1.1.12",
    "npm": "^11.11.0",
    "pako": "^2.1.0",
    "react-router-dom": "^7.4.0",
    "react-syntax-highlighter": "^16.1.0",
    "react-transition-group": "^4.4.5",
    "react-virtualized-auto-sizer": "^2.0.2",
    "react-window": "^2.2.4",
    "recharts": "^2.15.1",
    "sql.js": "^1.13.0",
    "sqlite3": "^5.1.7",
    "tweetnacl": "^1.0.3",
    "tweetnacl-util": "^0.15.1",
    "wa-sqlite": "^1.0.0",
    "web-bip39": "^0.0.3"
  },
  "devDependencies": {
    "@electron-toolkit/eslint-config": "^2.0.0",
    "@electron-toolkit/eslint-config-ts": "^3.0.0",
    "@electron-toolkit/tsconfig": "^1.0.1",
    "@electron/rebuild": "^4.0.3",
    "@rushstack/eslint-patch": "^1.10.5",
    "@tailwindcss/vite": "^4.0.9",
    "@types/libsodium-wrappers": "^0.7.14",
    "@types/node": "^22.13.5",
    "@types/react": "^19.0.10",
    "@types/react-dom": "^19.0.4",
    "@types/react-virtualized-auto-sizer": "^1.0.4",
    "@types/react-window": "^1.8.8",
    "@vitejs/plugin-react": "^4.3.4",
    "electron": "^38.3.0",
    "electron-builder": "^25.1.8",
    "electron-vite": "^3.0.0",
    "eslint": "^9.21.0",
    "eslint-plugin-react": "^7.37.4",
    "framer-motion": "^12.4.7",
    "postcss": "^8.5.3",
    "postcss-preset-mantine": "^1.17.0",
    "postcss-simple-vars": "^7.0.1",
    "prettier": "^3.5.2",
    "react": "^19.0.0",
    "react-dom": "^19.0.0",
    "tailwindcss": "^4.0.9",
    "typescript": "^5.7.3",
    "vite": "^6.2.0"
  },
  "overrides": {
    "@emoji-mart/react": {
      "react": "^19.0.0",
      "react-dom": "^19.0.0"
    }
  }
}
