2019-12-06 19:20:31 +01:00
{
2023-05-12 10:52:48 +02:00
"name" : "element-desktop" ,
"productName" : "Element" ,
"main" : "lib/electron-main.js" ,
2024-10-15 13:58:59 +02:00
"version" : "1.11.81" ,
2023-05-12 10:52:48 +02:00
"description" : "A feature-rich client for Matrix.org" ,
"author" : "Element" ,
2023-05-15 10:40:39 +02:00
"homepage" : "https://element.io" ,
2023-05-12 10:52:48 +02:00
"repository" : {
"type" : "git" ,
"url" : "https://github.com/vector-im/element-desktop"
2019-12-06 19:20:31 +01:00
} ,
2024-09-06 18:58:04 +02:00
"license" : "AGPL-3.0-only OR GPL-3.0-only" ,
2023-05-12 10:52:48 +02:00
"files" : [ ] ,
"engines" : {
2024-01-18 11:10:51 +01:00
"node" : ">=18.0.0"
2019-12-06 19:20:31 +01:00
} ,
2023-05-12 10:52:48 +02:00
"scripts" : {
2023-09-05 18:09:47 +02:00
"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" ,
2024-01-02 19:12:16 +01:00
"i18n:lint" : "prettier --log-level=silent --write src/i18n/strings/ --ignore-path /dev/null" ,
2023-09-05 18:09:47 +02:00
"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" ,
2023-05-12 10:52:48 +02:00
"mkdirs" : "mkdirp packages deploys" ,
"fetch" : "yarn run mkdirs && ts-node scripts/fetch-package.ts" ,
"asar-webapp" : "asar p webapp webapp.asar" ,
"start" : "yarn run build:ts && yarn run build:res && electron ." ,
2023-11-22 16:13:47 +01:00
"lint" : "yarn lint:types && yarn lint:js && yarn lint:workflows" ,
2024-01-02 19:12:16 +01:00
"lint:js" : "yarn lint:js:src && yarn lint:js:test && yarn lint:js:scripts && yarn lint:js:hak && prettier --check ." ,
2023-05-12 10:52:48 +02:00
"lint:js:src" : "eslint --max-warnings 0 src" ,
2024-01-11 19:49:20 +01:00
"lint:js:test" : "eslint --max-warnings 0 --config .eslintrc-test.js playwright" ,
2023-05-12 10:52:48 +02:00
"lint:js:scripts" : "eslint --max-warnings 0 --config .eslintrc-scripts.js scripts" ,
"lint:js:hak" : "eslint --max-warnings 0 --config .eslintrc-hak.js hak" ,
2024-01-02 19:12:16 +01:00
"lint:js-fix" : "yarn lint:js-fix:src &&yarn lint:js-fix:test && yarn lint:js-fix:scripts && yarn lint:js-fix:hak && prettier --log-level=warn --write ." ,
2023-05-12 10:52:48 +02:00
"lint:js-fix:src" : "eslint --fix --max-warnings 0 src" ,
2024-01-11 19:49:20 +01:00
"lint:js-fix:test" : "eslint --fix --max-warnings 0 --config .eslintrc-test.js playwright" ,
2023-05-12 10:52:48 +02:00
"lint:js-fix:scripts" : "eslint --fix --max-warnings 0 --config .eslintrc-scripts.js scripts" ,
"lint:js-fix:hak" : "eslint --fix --max-warnings 0 --config .eslintrc-hak.js hak" ,
"lint:types" : "yarn lint:types:src && yarn lint:types:test && yarn lint:types:scripts && yarn lint:types:hak" ,
"lint:types:src" : "tsc --noEmit" ,
2024-01-11 19:49:20 +01:00
"lint:types:test" : "tsc --noEmit -p playwright/tsconfig.json" ,
2023-05-12 10:52:48 +02:00
"lint:types:scripts" : "tsc --noEmit -p scripts/tsconfig.json" ,
"lint:types:hak" : "tsc --noEmit -p hak/tsconfig.json" ,
2023-11-22 16:13:47 +01:00
"lint:workflows" : "find .github/workflows -type f \\( -iname '*.yaml' -o -iname '*.yml' \\) | xargs -I {} sh -c 'echo \"Linting {}\"; action-validator \"{}\"'" ,
2024-01-18 11:10:51 +01:00
"lint:knip" : "knip" ,
2023-05-12 10:52:48 +02:00
"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" : "ts-node scripts/copy-res.ts" ,
2024-01-02 18:39:20 +01:00
"docker:setup" : "docker build --platform linux/amd64 -t element-desktop-dockerbuild dockerbuild" ,
2023-05-12 10:52:48 +02:00
"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" : "ts-node scripts/hak/index.ts" ,
2024-01-11 19:49:20 +01:00
"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"
2019-12-06 19:20:31 +01:00
} ,
2023-05-12 10:52:48 +02:00
"dependencies" : {
2024-06-11 16:21:09 +02:00
"@sentry/electron" : "^5.0.0" ,
2023-05-12 10:52:48 +02:00
"auto-launch" : "^5.0.5" ,
"counterpart" : "^0.18.6" ,
"electron-clear-data" : "^1.0.5" ,
"electron-store" : "^8.0.2" ,
"electron-window-state" : "^5.0.3" ,
"minimist" : "^1.2.6" ,
"node-fetch" : "^2" ,
2023-07-11 18:00:24 +02:00
"png-to-ico" : "^2.1.1" ,
2024-06-11 15:08:20 +02:00
"uuid" : "^10.0.0"
2019-12-10 17:04:16 +01:00
} ,
2023-05-12 10:52:48 +02:00
"devDependencies" : {
2024-03-05 16:53:32 +01:00
"@action-validator/cli" : "^0.6.0" ,
"@action-validator/core" : "^0.6.0" ,
2023-05-12 10:52:48 +02:00
"@babel/core" : "^7.18.10" ,
"@babel/preset-env" : "^7.18.10" ,
"@babel/preset-typescript" : "^7.18.6" ,
"@electron/asar" : "^3.2.3" ,
2024-01-09 19:14:48 +01:00
"@electron/fuses" : "^1.7.0" ,
2024-04-25 11:41:35 +02:00
"@mapbox/node-pre-gyp" : "^1.0.11" ,
2024-09-20 14:15:49 +02:00
"@playwright/test" : "1.47.1" ,
2023-05-12 10:52:48 +02:00
"@types/auto-launch" : "^5.0.1" ,
"@types/counterpart" : "^0.18.1" ,
"@types/minimist" : "^1.2.1" ,
2024-10-02 12:00:04 +02:00
"@types/node" : "18.19.54" ,
2023-05-12 10:52:48 +02:00
"@types/pacote" : "^11.1.1" ,
"@types/tar" : "^6.1.3" ,
2024-06-25 18:08:03 +02:00
"@types/uuid" : "^10.0.0" ,
2024-04-08 12:38:54 +02:00
"@types/yargs" : "^17.0.32" ,
2024-02-22 10:14:11 +01:00
"@typescript-eslint/eslint-plugin" : "^7.0.0" ,
"@typescript-eslint/parser" : "^7.0.0" ,
2024-03-07 12:52:50 +01:00
"app-builder-lib" : "24.13.3" ,
2024-10-02 12:00:38 +02:00
"chokidar" : "^4.0.0" ,
2024-01-02 19:15:58 +01:00
"detect-libc" : "^2.0.0" ,
2024-09-04 13:52:02 +02:00
"electron" : "^32.0.0" ,
2024-03-07 12:52:50 +01:00
"electron-builder" : "24.13.3" ,
"electron-builder-squirrel-windows" : "24.13.3" ,
2023-05-12 10:52:48 +02:00
"electron-devtools-installer" : "^3.2.0" ,
"eslint" : "^8.26.0" ,
"eslint-config-google" : "^0.14.0" ,
2023-08-08 18:13:56 +02:00
"eslint-config-prettier" : "^9.0.0" ,
2023-05-12 10:52:48 +02:00
"eslint-plugin-import" : "^2.25.4" ,
"eslint-plugin-matrix-org" : "^1.0.0" ,
2024-08-23 12:09:18 +02:00
"eslint-plugin-unicorn" : "^55.0.0" ,
2024-07-10 18:29:53 +02:00
"glob" : "^11.0.0" ,
2024-02-22 10:13:57 +01:00
"knip" : "^5.0.0" ,
2024-02-29 14:02:44 +01:00
"matrix-web-i18n" : "^3.2.1" ,
2023-05-12 10:52:48 +02:00
"mkdirp" : "^3.0.0" ,
2024-10-03 14:28:53 +02:00
"pacote" : "^19.0.0" ,
2024-01-02 19:12:16 +01:00
"prettier" : "^3.0.0" ,
2024-07-10 18:11:59 +02:00
"rimraf" : "^6.0.0" ,
2024-04-25 11:41:35 +02:00
"tar" : "^6.2.1" ,
2023-05-12 10:52:48 +02:00
"ts-node" : "^10.9.1" ,
2024-07-24 14:22:54 +02:00
"typescript" : "5.5.4"
2023-05-12 10:52:48 +02:00
} ,
"hakDependencies" : {
2024-06-11 14:04:56 +02:00
"matrix-seshat" : "^4.0.0" ,
2023-05-12 10:52:48 +02:00
"keytar" : "^7.9.0"
} ,
"resolutions" : {
2024-10-02 12:00:04 +02:00
"@types/node" : "18.19.54" ,
2024-10-03 15:23:00 +02:00
"config-file-ts" : "0.2.8-rc1"
2023-05-12 10:52:48 +02:00
}
2019-12-06 19:20:31 +01:00
}