Files
ThreadNet-Web/apps/desktop/package.json
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

109 lines
4.5 KiB
JSON
Raw Normal View History

2019-12-06 18:20:31 +00:00
{
2023-05-12 09:52:48 +01:00
"name": "element-desktop",
"productName": "Element",
"main": "lib/electron-main.js",
2024-10-30 18:06:03 +00:00
"exports": "./lib/electron-main.js",
2026-07-14 14:21:36 +00:00
"version": "1.12.24-rc.0",
2025-02-04 10:41:34 +00:00
"description": "Element: the future of secure communication",
"author": {
"name": "Element",
"email": "support@element.io"
},
2023-05-15 09:40:39 +01:00
"homepage": "https://element.io",
2023-05-12 09:52:48 +01:00
"repository": {
"type": "git",
2026-03-24 12:40:40 +00:00
"url": "https://github.com/vector-im/element-web"
2019-12-06 18:20:31 +00:00
},
"license": "SEE LICENSE IN README.md",
2024-10-30 18:06:03 +00:00
"type": "module",
2023-05-12 09:52:48 +01:00
"files": [],
"engines": {
2026-03-30 17:17:36 +02:00
"node": ">=22.18"
2019-12-06 18:20:31 +00:00
},
2023-05-12 09:52:48 +01:00
"scripts": {
"i18n": "matrix-gen-i18n && pnpm i18n:sort && pnpm i18n:lint",
"i18n:sort": "matrix-sort-i18n src/i18n/strings/en_EN.json",
2026-06-16 13:17:18 +01:00
"i18n:lint": "oxfmt src/i18n/strings/",
"i18n:diff": "cp src/i18n/strings/en_EN.json src/i18n/strings/en_EN_orig.json && pnpm i18n && matrix-compare-i18n-files src/i18n/strings/en_EN_orig.json src/i18n/strings/en_EN.json",
2023-05-12 09:52:48 +01:00
"mkdirs": "mkdirp packages deploys",
2026-03-30 17:17:36 +02:00
"fetch": "pnpm run mkdirs && node scripts/fetch-package.ts",
2023-05-12 09:52:48 +01:00
"asar-webapp": "asar p webapp webapp.asar",
2026-04-21 10:58:16 +01:00
"start": "nx start",
2026-07-10 10:47:41 +01:00
"lint": "pnpm lint:types",
"lint:types": "pnpm lint:types:src && pnpm lint:types:node && pnpm lint:types:test && pnpm lint:types:scripts && pnpm lint:types:hak",
2023-05-12 09:52:48 +01:00
"lint:types:src": "tsc --noEmit",
"lint:types:node": "tsc --noEmit -p tsconfig.node.json",
"lint:types:test": "tsc --noEmit -p playwright/tsconfig.json",
2023-05-12 09:52:48 +01:00
"lint:types:scripts": "tsc --noEmit -p scripts/tsconfig.json",
"lint:types:hak": "tsc --noEmit -p hak/tsconfig.json",
"build:native": "pnpm run hak",
"build:native:universal": "pnpm run hak --target x86_64-apple-darwin fetchandbuild && pnpm run hak --target aarch64-apple-darwin fetchandbuild && pnpm run hak --target x86_64-apple-darwin --target aarch64-apple-darwin copyandlink",
2026-04-21 10:58:16 +01:00
"build:32": "nx build --ia32",
"build:64": "nx build --x64",
"build:universal": "nx build --universal",
"build": "nx build --",
"docker:setup": "docker build --platform linux/amd64 -t element-desktop-dockerbuild -f dockerbuild/Dockerfile .",
"docker:build:native": "scripts/in-docker.sh pnpm run hak",
"docker:build": "scripts/in-docker.sh pnpm run build",
"docker:install": "scripts/in-docker.sh pnpm install --filter=element-desktop --frozen-lockfile",
2023-05-12 09:52:48 +01:00
"clean": "rimraf webapp.asar dist packages deploys lib",
2026-03-30 17:17:36 +02:00
"hak": "node scripts/hak/index.ts",
"test:unit": "vitest",
2026-04-21 10:58:16 +01:00
"test:playwright": "nx test:playwright --",
"test:playwright:open": "nx test:playwright -- --ui",
"test:playwright:screenshots": "nx test:playwright:screenshots --",
"coverage": "pnpm test:unit --coverage",
"coverage:diff": "diff-cover --config-file ../../diff-cover.toml coverage/lcov.info",
2026-03-24 12:40:40 +00:00
"sane-postinstall": "electron-builder install-app-deps"
2019-12-06 18:20:31 +00:00
},
2023-05-12 09:52:48 +01:00
"dependencies": {
"@sentry/electron": "^7.0.0",
2023-05-12 09:52:48 +01:00
"auto-launch": "^5.0.5",
"counterpart": "^0.18.6",
"electron-store": "^11.0.0",
2023-05-12 09:52:48 +01:00
"electron-window-state": "^5.0.3",
"minimist": "^1.2.6",
2025-09-02 14:57:46 +01:00
"png-to-ico": "^3.0.0",
2026-04-21 19:49:00 +00:00
"uuid": "^14.0.0"
2019-12-10 16:04:16 +00:00
},
2023-05-12 09:52:48 +01:00
"devDependencies": {
"@babel/core": "^7.18.10",
"@babel/preset-env": "^7.18.10",
"@babel/preset-typescript": "^7.18.6",
2026-04-21 13:48:56 +01:00
"@electron/asar": "4.2.0",
2026-04-21 10:58:16 +01:00
"@electron/fuses": "^2.1.1",
2026-03-24 12:40:40 +00:00
"@playwright/test": "catalog:",
2023-05-12 09:52:48 +01:00
"@types/auto-launch": "^5.0.1",
"@types/counterpart": "^0.18.1",
"@types/minimist": "^1.2.1",
"@types/node": "catalog:",
2023-05-12 09:52:48 +01:00
"@types/pacote": "^11.1.1",
2026-07-14 09:09:03 +01:00
"@typescript/native": "catalog:",
"app-builder-lib": "26.15.3",
2025-12-04 09:13:08 +00:00
"chokidar": "^5.0.0",
2024-01-02 18:15:58 +00:00
"detect-libc": "^2.0.0",
"electron": "43.1.0",
"electron-builder": "26.15.3",
"electron-builder-squirrel-windows": "26.15.3",
"electron-devtools-installer": "^4.0.0",
2025-11-25 16:10:21 +00:00
"glob": "^13.0.0",
2026-03-24 12:40:40 +00:00
"matrix-web-i18n": "catalog:",
"memfs": "^4.57.2",
2023-05-12 09:52:48 +01:00
"mkdirp": "^3.0.0",
2026-06-17 09:36:19 +01:00
"pacote": "^22.0.0",
2024-07-10 17:11:59 +01:00
"rimraf": "^6.0.0",
"shared-types": "workspace:*",
2026-02-18 12:32:36 +00:00
"tar": "^7.5.8",
2026-07-14 09:09:03 +01:00
"typescript": "catalog:ts6",
"vitest": "catalog:"
2023-05-12 09:52:48 +01:00
},
"hakDependencies": {
"matrix-seshat": "4.3.0"
2023-05-12 09:52:48 +01:00
},
2026-04-21 10:58:16 +01:00
"nx": {
"includedScripts": [
2026-07-10 10:47:41 +01:00
"lint:types"
]
2026-04-21 10:58:16 +01:00
}
2019-12-06 18:20:31 +00:00
}