{
  "private": true,
  "type": "module",
  "name": "@deltachat-desktop/target-electron",
  "version": "2.62.0",
  "description": "Desktop Application for delta.chat",
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com/deltachat/deltachat-desktop.git"
  },
  "keywords": [
    "deltachat",
    "email",
    "messaging",
    "desktop"
  ],
  "author": {
    "name": "DeltaChat Developers",
    "email": "delta-systems@codespeak.net"
  },
  "main": "index.js",
  "license": "GPL-3.0-or-later",
  "bugs": {
    "url": "https://github.com/deltachat/deltachat-desktop/issues"
  },
  "engines": {
    "node": ">=20.0.0"
  },
  "productName": "DeltaChat",
  "homepage": "https://delta.chat",
  "scripts": {
    "check:types": "tsc --noEmit --noUncheckedIndexedAccess false && tsc --noEmit --noUncheckedIndexedAccess false -p runtime-electron || node ./bin/printCheckWarning.js",
    "build4production": "NODE_ENV=production pnpm build && pnpm -w check:types",
    "build": "pnpm run \"/^build:.*/\"",
    "build:locales": "pnpm -w translations:convert",
    "build:backend": "node ./bin/build.js",
    "build:calls-webapp": "node ../../bin/tools/copy.js ./node_modules/@deltachat/calls-webapp/dist ./html-dist/calls-webapp",
    "build:runtime-impl": "pnpm esbuild --format=esm --bundle --minify --keep-names --sourcemap --outdir=./html-dist runtime-electron/runtime.ts",
    "build:preload": "pnpm esbuild --platform=node --format=cjs --bundle --minify --keep-names --sourcemap --external:electron --outdir=./html-dist runtime-electron/preload.ts",
    "build:frontend": "pnpm --filter=@deltachat-desktop/frontend build && node ../../bin/tools/copy.js ../frontend/html-dist ./html-dist",
    "build:static": "node ../../bin/tools/copy.js ./static ./html-dist",
    "watch:compose-frontend": "node ../../bin/tools/copy.js ../frontend/html-dist ./html-dist -w & node ../../bin/tools/copy.js ./static ./html-dist -w & pnpm build:runtime-impl --watch & pnpm build:preload --watch",
    "watch": "pnpm -w --filter=@deltachat-desktop/frontend watch & pnpm watch:compose-frontend",
    "dev": "pnpm build && pnpm start",
    "dev-inspect": "pnpm build && pnpm start --inspect",
    "start": "NODE_OPTIONS=--enable-source-maps electron . --devmode --disable-http-cache --translation-watch",
    "clean": "rm -rf ./bundle_out ./html-dist ./dist",
    "pack:generate_config": "node ./build/gen-electron-builder-config.js && prettier --write ./electron-builder.json5 --log-level silent",
    "pack:patch-node-modules": "node ../../bin/build/writeFlatDependencies.js packages/target-electron node_modules",
    "pack": "pnpm pack:generate_config && pnpm run pack:patch-node-modules && pnpm pack:all && pnpm -w run reset:node_modules",
    "pack:win": "electron-builder --config ./electron-builder.json5 --win nsis portable",
    "pack:mac": "electron-builder --config ./electron-builder.json5 --mac dmg mas",
    "pack:linux:dir": "electron-builder --config ./electron-builder.json5 --linux --dir",
    "pack:asar": "pnpm pack:generate_config && pnpm build4production && pnpm pack:patch-node-modules && pnpm pack:linux:dir && node ./bin/copy-asar.js",
    "pack:linux": "electron-builder --config ./electron-builder.json5 --linux AppImage deb",
    "pack:all": "electron-builder --config ./electron-builder.json5 --mac dmg --win nsis portable --linux AppImage deb"
  },
  "dependencies": {
    "@deltachat/jsonrpc-client": "catalog:",
    "@deltachat/stdio-rpc-server": "catalog:",
    "@deltachat/calls-webapp": "catalog:",
    "escape-html": "^1.0.3",
    "mime-types": "catalog:",
    "ws": "catalog:"
  },
  "devDependencies": {
    "@deltachat-desktop/runtime-interface": "link:../runtime",
    "@deltachat-desktop/shared": "link:../shared",
    "@electron/notarize": "^2.4",
    "@types/chai": "^4.3.17",
    "@types/debounce": "^1.2.4",
    "@types/escape-html": "^1.0.4",
    "@types/mime-types": "catalog:",
    "@types/mocha": "^10.0.7",
    "@types/node": "catalog:",
    "@types/rc": "^1.2.4",
    "@webxdc/types": "catalog:",
    "@electron/fuses": "^2.0.0",
    "application-config": "^3.0.0",
    "chai": "^5.1.1",
    "debounce": "^1.2.0",
    "electron": "^43.6.0",
    "electron-builder": "^26.15.7",
    "esbuild": "^0.28.1",
    "mocha": "^10.7.0",
    "rc": "^1.2.8",
    "typescript": "catalog:"
  }
}
