{
    "name": "element-desktop",
    "productName": "Element",
    "main": "lib/electron-main.js",
    "exports": "./lib/electron-main.js",
    "version": "1.11.110",
    "description": "Element: the future of secure communication",
    "author": {
        "name": "Element",
        "email": "support@element.io"
    },
    "homepage": "https://element.io",
    "repository": {
        "type": "git",
        "url": "https://github.com/vector-im/element-desktop"
    },
    "license": "SEE LICENSE IN README.md",
    "type": "module",
    "files": [],
    "engines": {
        "node": ">=18.0.0"
    },
    "scripts": {
        "i18n": "matrix-gen-i18n && yarn i18n:sort && yarn i18n:lint",
        "i18n:sort": "jq --sort-keys '.' src/i18n/strings/en_EN.json > src/i18n/strings/en_EN.json.tmp && mv src/i18n/strings/en_EN.json.tmp src/i18n/strings/en_EN.json",
        "i18n:lint": "prettier --log-level=silent  --write src/i18n/strings/ --ignore-path /dev/null",
        "i18n:diff": "cp src/i18n/strings/en_EN.json src/i18n/strings/en_EN_orig.json && yarn i18n && matrix-compare-i18n-files src/i18n/strings/en_EN_orig.json src/i18n/strings/en_EN.json",
        "mkdirs": "mkdirp packages deploys",
        "fetch": "yarn run mkdirs && tsx scripts/fetch-package.ts",
        "asar-webapp": "asar p webapp webapp.asar",
        "start": "yarn run build:ts && yarn run build:res && electron .",
        "lint": "yarn lint:types && yarn lint:js && yarn lint:workflows",
        "lint:js": "eslint --max-warnings 0 src hak playwright scripts && prettier --check .",
        "lint:js-fix": "eslint --fix --max-warnings 0 src hak playwright scripts && prettier --log-level=warn --write .",
        "lint:types": "yarn lint:types:src && yarn lint:types:test && yarn lint:types:scripts && yarn lint:types:hak",
        "lint:types:src": "tsc --noEmit",
        "lint:types:test": "tsc --noEmit -p playwright/tsconfig.json",
        "lint:types:scripts": "tsc --noEmit -p scripts/tsconfig.json",
        "lint:types:hak": "tsc --noEmit -p hak/tsconfig.json",
        "lint:workflows": "find .github/workflows -type f \\( -iname '*.yaml' -o -iname '*.yml' \\) | xargs -I {} sh -c 'echo \"Linting {}\"; action-validator \"{}\"'",
        "lint:knip": "knip",
        "build:native": "yarn run hak",
        "build:native:universal": "yarn run hak --target x86_64-apple-darwin fetchandbuild && yarn run hak --target aarch64-apple-darwin fetchandbuild && yarn run hak --target x86_64-apple-darwin --target aarch64-apple-darwin copyandlink",
        "build:32": "yarn run build:ts && yarn run build:res && electron-builder --ia32",
        "build:64": "yarn run build:ts && yarn run build:res && electron-builder --x64",
        "build:universal": "yarn run build:ts && yarn run build:res && electron-builder --universal",
        "build": "yarn run build:ts && yarn run build:res && electron-builder",
        "build:ts": "tsc",
        "build:res": "tsx scripts/copy-res.ts",
        "docker:setup": "docker build --platform linux/amd64 -t element-desktop-dockerbuild -f dockerbuild/Dockerfile .",
        "docker:build:native": "scripts/in-docker.sh yarn run hak",
        "docker:build": "scripts/in-docker.sh yarn run build",
        "docker:install": "scripts/in-docker.sh yarn install",
        "clean": "rimraf webapp.asar dist packages deploys lib",
        "hak": "tsx scripts/hak/index.ts",
        "test": "playwright test",
        "test:open": "yarn test --ui",
        "test:screenshots:build": "docker build playwright -t element-desktop-playwright --platform linux/amd64",
        "test:screenshots:run": "docker run --rm --network host -v $(pwd):/work/element-desktop -v /var/run/docker.sock:/var/run/docker.sock --platform linux/amd64 -it element-desktop-playwright",
        "postinstall": "electron-builder install-app-deps"
    },
    "dependencies": {
        "@sentry/electron": "^6.0.0",
        "auto-launch": "^5.0.5",
        "counterpart": "^0.18.6",
        "electron-store": "^10.0.0",
        "electron-window-state": "^5.0.3",
        "keytar-forked": "7.10.0",
        "minimist": "^1.2.6",
        "png-to-ico": "^2.1.8",
        "uuid": "^11.0.0"
    },
    "devDependencies": {
        "@action-validator/cli": "^0.6.0",
        "@action-validator/core": "^0.6.0",
        "@babel/core": "^7.18.10",
        "@babel/preset-env": "^7.18.10",
        "@babel/preset-typescript": "^7.18.6",
        "@electron/asar": "4.0.1",
        "@playwright/test": "1.54.2",
        "@stylistic/eslint-plugin": "^5.0.0",
        "@types/auto-launch": "^5.0.1",
        "@types/counterpart": "^0.18.1",
        "@types/minimist": "^1.2.1",
        "@types/node": "18.19.123",
        "@types/pacote": "^11.1.1",
        "@typescript-eslint/eslint-plugin": "^8.0.0",
        "@typescript-eslint/parser": "^8.0.0",
        "app-builder-lib": "26.0.19",
        "chokidar": "^4.0.0",
        "detect-libc": "^2.0.0",
        "electron": "37.3.0",
        "electron-builder": "26.0.19",
        "electron-builder-squirrel-windows": "26.0.19",
        "electron-devtools-installer": "^4.0.0",
        "eslint": "^8.26.0",
        "eslint-config-google": "^0.14.0",
        "eslint-config-prettier": "^10.0.0",
        "eslint-plugin-import": "^2.25.4",
        "eslint-plugin-matrix-org": "^2.0.1",
        "eslint-plugin-n": "^17.12.0",
        "eslint-plugin-unicorn": "^56.0.0",
        "glob": "^11.0.0",
        "husky": "^9.1.6",
        "knip": "^5.0.0",
        "lint-staged": "^16.0.0",
        "matrix-web-i18n": "^3.2.1",
        "mkdirp": "^3.0.0",
        "pacote": "^21.0.0",
        "prettier": "^3.0.0",
        "rimraf": "^6.0.0",
        "tar": "^7.0.0",
        "tsx": "^4.19.2",
        "typescript": "5.9.2"
    },
    "hakDependencies": {
        "matrix-seshat": "^4.0.1"
    },
    "resolutions": {
        "@types/node": "18.19.123",
        "config-file-ts": "0.2.8-rc1",
        "node-abi": "4.12.0"
    }
}
