Files
ThreadNet-Web/package.json
T

143 lines
6.4 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-02-24 16:55:44 +00:00
"version": "1.12.11",
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",
"url": "https://github.com/vector-im/element-desktop"
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": {
"node": ">=18.0.0"
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",
2024-01-02 18:12:16 +00:00
"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 && 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",
"fetch": "pnpm run mkdirs && tsx scripts/fetch-package.ts",
2023-05-12 09:52:48 +01:00
"asar-webapp": "asar p webapp webapp.asar",
"start": "pnpm run build:ts && pnpm run build:res && electron .",
"lint": "pnpm lint:types && pnpm lint:js && pnpm lint:workflows",
2024-10-30 18:06:03 +00:00
"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": "pnpm lint:types:src && 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: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",
"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": "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",
"build:32": "pnpm run build:ts && pnpm run build:res && electron-builder --ia32",
"build:64": "pnpm run build:ts && pnpm run build:res && electron-builder --x64",
"build:universal": "pnpm run build:ts && pnpm run build:res && electron-builder --universal",
"build": "pnpm run build:ts && pnpm run build:res && electron-builder",
2023-05-12 09:52:48 +01:00
"build:ts": "tsc",
2024-10-30 18:06:03 +00:00
"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 pnpm run hak",
"docker:build": "scripts/in-docker.sh pnpm run build",
"docker:install": "scripts/in-docker.sh pnpm install",
2023-05-12 09:52:48 +01:00
"clean": "rimraf webapp.asar dist packages deploys lib",
2024-10-30 18:06:03 +00:00
"hak": "tsx scripts/hak/index.ts",
"test": "playwright test",
"test:open": "pnpm test --ui",
"test:screenshots:build": "docker build playwright -t element-desktop-playwright --platform linux/amd64",
2025-11-26 20:08:07 +00:00
"test:screenshots:run": "docker run --rm --network host -v $(pwd):/work/element-desktop -v element-desktop-playwright:/work/element-desktop/node_modules -v /var/run/docker.sock:/var/run/docker.sock --platform linux/amd64 -it element-desktop-playwright",
"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",
2025-09-16 16:23:30 +01:00
"uuid": "^13.0.0"
2019-12-10 16:04:16 +00:00
},
2023-05-12 09:52:48 +01:00
"devDependencies": {
2024-03-05 15:53:32 +00:00
"@action-validator/cli": "^0.6.0",
"@action-validator/core": "^0.6.0",
2023-05-12 09:52:48 +01:00
"@babel/core": "^7.18.10",
"@babel/preset-env": "^7.18.10",
"@babel/preset-typescript": "^7.18.6",
2025-08-05 15:09:07 +01:00
"@electron/asar": "4.0.1",
2026-02-03 15:17:49 +00:00
"@playwright/test": "1.58.1",
"@stylistic/eslint-plugin": "^5.0.0",
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": "18.19.130",
2023-05-12 09:52:48 +01:00
"@types/pacote": "^11.1.1",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
2026-01-28 16:05:40 +00:00
"app-builder-lib": "26.6.0",
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",
2026-02-03 15:17:37 +00:00
"electron": "40.1.0",
2026-01-28 16:05:40 +00:00
"electron-builder": "26.6.0",
"electron-builder-squirrel-windows": "26.6.0",
"electron-devtools-installer": "^4.0.0",
2023-05-12 09:52:48 +01:00
"eslint": "^8.26.0",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^10.0.0",
2023-05-12 09:52:48 +01:00
"eslint-plugin-import": "^2.25.4",
2025-10-15 10:07:23 +00:00
"eslint-plugin-matrix-org": "^3.0.0",
2024-10-30 18:06:03 +00:00
"eslint-plugin-n": "^17.12.0",
"eslint-plugin-unicorn": "^56.0.0",
2025-11-25 16:10:21 +00:00
"glob": "^13.0.0",
"husky": "^9.1.6",
2024-02-22 09:13:57 +00:00
"knip": "^5.0.0",
"lint-staged": "^16.0.0",
2026-02-03 15:17:20 +00:00
"matrix-web-i18n": "3.6.0",
2023-05-12 09:52:48 +01:00
"mkdirp": "^3.0.0",
2024-11-26 17:08:11 +00:00
"pacote": "^21.0.0",
2024-01-02 18:12:16 +00:00
"prettier": "^3.0.0",
2024-07-10 17:11:59 +01:00
"rimraf": "^6.0.0",
2024-10-30 10:12:30 +00:00
"tar": "^7.0.0",
2024-10-30 18:06:03 +00:00
"tsx": "^4.19.2",
"typescript": "5.9.3"
2023-05-12 09:52:48 +01:00
},
"hakDependencies": {
"matrix-seshat": "^4.0.1"
2023-05-12 09:52:48 +01:00
},
"resolutions": {
2026-01-20 15:40:19 +00:00
"atomically": "2.1.0",
"@types/node": "18.19.130",
"config-file-ts": "0.2.8-rc1",
"node-abi": "4.26.0",
2026-01-06 15:46:49 +00:00
"@types/pg-pool": "2.0.7"
},
"pnpm": {
"onlyBuiltDependencies": [
"electron"
],
"patchedDependencies": {
"@types/auto-launch": "patches/@types__auto-launch.patch"
},
"peerDependencyRules": {
"allowedVersions": {
"eslint": "8"
}
},
"allowedDeprecatedVersions": {
"eslint": "8"
}
},
"packageManager": "pnpm@10.28.2+sha512.41872f037ad22f7348e3b1debbaf7e867cfd448f2726d9cf74c08f19507c31d2c8e7a11525b983febc2df640b5438dee6023ebb1f84ed43cc2d654d2bc326264"
2019-12-06 18:20:31 +00:00
}