2019-12-06 18:20:31 +00:00
{
2020-07-01 15:30:53 +01:00
"name" : "element-desktop" ,
2020-07-21 17:57:54 +01:00
"productName" : "Element" ,
2021-06-25 14:35:58 +01:00
"main" : "lib/electron-main.js" ,
2023-03-15 13:14:27 +00:00
"version" : "1.11.25" ,
2019-12-06 18:20:31 +00:00
"description" : "A feature-rich client for Matrix.org" ,
2020-07-14 19:05:28 +01:00
"author" : "Element" ,
2019-12-06 18:20:31 +00:00
"repository" : {
"type" : "git" ,
2020-11-24 12:48:37 +00:00
"url" : "https://github.com/vector-im/element-desktop"
2019-12-06 18:20:31 +00:00
} ,
"license" : "Apache-2.0" ,
"files" : [ ] ,
2023-03-20 08:22:00 +00:00
"engines" : {
"node" : ">=16.0.0"
} ,
2019-12-06 18:20:31 +00:00
"scripts" : {
2021-04-27 15:10:20 +01:00
"i18n" : "matrix-gen-i18n" ,
"prunei18n" : "matrix-prune-i18n" ,
"diff-i18n" : "cp src/i18n/strings/en_EN.json src/i18n/strings/en_EN_orig.json && matrix-gen-i18n && matrix-compare-i18n-files src/i18n/strings/en_EN_orig.json src/i18n/strings/en_EN.json" ,
2019-12-10 14:38:09 +00:00
"mkdirs" : "mkdirp packages deploys" ,
2022-12-05 11:50:49 +00:00
"fetch" : "yarn run mkdirs && ts-node scripts/fetch-package.ts" ,
2020-04-01 12:33:06 +01:00
"asar-webapp" : "asar p webapp webapp.asar" ,
2021-07-01 11:32:09 +01:00
"start" : "yarn run build:ts && yarn run build:res && electron ." ,
2021-06-29 11:41:08 +01:00
"lint" : "yarn lint:types && yarn lint:js" ,
2023-02-24 09:39:14 +00:00
"lint:js" : "yarn lint:js:src && yarn lint:js:test && yarn lint:js:scripts && yarn lint:js:hak" ,
2023-02-23 17:10:06 +00:00
"lint:js:src" : "eslint --max-warnings 0 src" ,
2023-02-24 09:39:14 +00:00
"lint:js:test" : "eslint --max-warnings 0 --config .eslintrc-test.js test" ,
2023-02-17 12:17:42 +00: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" ,
2023-02-24 09:39:14 +00:00
"lint:js-fix" : "yarn lint:js-fix:src &&yarn lint:js-fix:test && yarn lint:js-fix:scripts && yarn lint:js-fix:hak" ,
2023-02-23 17:10:06 +00:00
"lint:js-fix:src" : "eslint --fix --max-warnings 0 src" ,
2023-02-24 09:39:14 +00:00
"lint:js-fix:test" : "eslint --fix --max-warnings 0 --config .eslintrc-test.js test" ,
2023-02-17 12:17:42 +00: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" ,
2023-02-24 09:39:14 +00:00
"lint:types" : "yarn lint:types:src && yarn lint:types:test && yarn lint:types:scripts && yarn lint:types:hak" ,
2023-02-17 12:17:42 +00:00
"lint:types:src" : "tsc --noEmit" ,
2023-02-24 09:39:14 +00:00
"lint:types:test" : "tsc --noEmit -p test/tsconfig.json" ,
2023-02-17 12:17:42 +00:00
"lint:types:scripts" : "tsc --noEmit -p scripts/tsconfig.json" ,
"lint:types:hak" : "tsc --noEmit -p hak/tsconfig.json" ,
2020-02-20 17:40:19 +00:00
"build:native" : "yarn run hak" ,
2021-07-06 23:52:19 +01:00
"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" ,
2021-07-07 11:17:31 +01:00
"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" ,
2021-07-01 11:32:09 +01:00
"build" : "yarn run build:ts && yarn run build:res && electron-builder" ,
2021-06-29 11:41:08 +01:00
"build:ts" : "tsc" ,
2022-12-05 11:50:49 +00:00
"build:res" : "ts-node scripts/copy-res.ts" ,
2020-11-24 12:48:37 +00:00
"docker:setup" : "docker build -t element-desktop-dockerbuild dockerbuild" ,
2020-02-20 17:40:19 +00:00
"docker:build:native" : "scripts/in-docker.sh yarn run hak" ,
2020-02-17 20:12:02 +00:00
"docker:build" : "scripts/in-docker.sh yarn run build" ,
"docker:install" : "scripts/in-docker.sh yarn install" ,
2021-07-01 17:18:26 +01:00
"clean" : "rimraf webapp.asar dist packages deploys lib" ,
2022-08-25 19:04:14 +01:00
"hak" : "ts-node scripts/hak/index.ts" ,
"test" : "jest"
2019-12-06 18:20:31 +00:00
} ,
"dependencies" : {
2023-03-16 10:31:06 +00:00
"@sentry/electron" : "^4.3.0" ,
2021-01-18 15:50:23 +00:00
"auto-launch" : "^5.0.5" ,
2021-04-26 13:58:29 +01:00
"counterpart" : "^0.18.6" ,
2023-03-17 15:33:19 +00:00
"electron-clear-data" : "^1.0.5" ,
2022-07-01 20:17:40 +01:00
"electron-store" : "^8.0.2" ,
2021-01-18 15:43:08 +00:00
"electron-window-state" : "^5.0.3" ,
2022-03-25 17:26:22 -06:00
"minimist" : "^1.2.6" ,
2022-11-30 13:51:54 +00:00
"node-fetch" : "^2" ,
"png-to-ico" : "^2.1.1"
2019-12-06 18:20:31 +00:00
} ,
"devDependencies" : {
2022-11-29 09:59:02 +00:00
"@aws-sdk/client-s3" : "^3.213.0" ,
2022-08-25 19:04:14 +01:00
"@babel/core" : "^7.18.10" ,
"@babel/preset-env" : "^7.18.10" ,
"@babel/preset-typescript" : "^7.18.6" ,
2022-12-05 11:50:49 +00:00
"@electron/asar" : "^3.2.0" ,
2022-11-07 17:56:47 +00:00
"@electron/notarize" : "^1.2.3" ,
2021-06-25 14:35:58 +01:00
"@types/auto-launch" : "^5.0.1" ,
"@types/counterpart" : "^0.18.1" ,
2022-09-23 12:14:09 +01:00
"@types/detect-libc" : "^1.0.0" ,
2022-11-30 16:49:11 +00:00
"@types/jest" : "^29.0.0" ,
2021-07-01 09:22:57 +01:00
"@types/minimist" : "^1.2.1" ,
2021-12-14 14:32:27 +00:00
"@types/mkdirp" : "^1.0.2" ,
2023-02-16 15:14:42 +01:00
"@types/node" : "16.18.12" ,
2021-12-14 14:32:27 +00:00
"@types/pacote" : "^11.1.1" ,
"@types/rimraf" : "^3.0.2" ,
2022-12-05 11:50:49 +00:00
"@types/tar" : "^6.1.3" ,
2022-11-04 15:58:19 +00:00
"@typescript-eslint/eslint-plugin" : "^5.42.0" ,
"@typescript-eslint/parser" : "^5.42.0" ,
2021-11-30 17:56:12 +00:00
"allchange" : "^1.0.6" ,
2023-03-22 09:40:39 +00:00
"app-builder-lib" : "24.0.0" ,
"asar" : "^3.2.0" ,
2022-11-30 16:49:11 +00:00
"babel-jest" : "^29.0.0" ,
2021-07-01 11:32:09 +01:00
"chokidar" : "^3.5.2" ,
2022-06-10 22:51:34 +02:00
"detect-libc" : "^1.0.3" ,
2023-02-16 19:43:29 +00:00
"electron" : "^23.0.0" ,
2023-03-22 09:40:39 +00:00
"electron-builder" : "24.0.0" ,
"electron-builder-squirrel-windows" : "24.0.0" ,
"electron-devtools-installer" : "^3.2.0" ,
2022-11-04 15:58:19 +00:00
"eslint" : "^8.26.0" ,
2021-05-27 17:35:05 +01:00
"eslint-config-google" : "^0.14.0" ,
2022-12-15 11:00:58 +00:00
"eslint-config-prettier" : "^8.5.0" ,
2022-01-10 12:57:33 +00:00
"eslint-plugin-import" : "^2.25.4" ,
2023-02-24 14:27:25 +01:00
"eslint-plugin-matrix-org" : "^1.0.0" ,
2023-03-13 08:43:06 +13:00
"eslint-plugin-unicorn" : "^46.0.0" ,
2022-08-25 19:04:14 +01:00
"expect-playwright" : "^0.8.0" ,
2020-02-13 23:52:16 +00:00
"find-npm-prefix" : "^1.0.2" ,
2022-12-02 10:57:37 +00:00
"fs-extra" : "^11.0.0" ,
2022-12-01 08:23:42 +00:00
"glob" : "^8.0.0" ,
2022-11-30 16:49:11 +00:00
"jest" : "^29.0.0" ,
2022-06-27 21:31:59 +01:00
"matrix-web-i18n" : "^1.3.0" ,
2023-02-16 15:16:56 +01:00
"mkdirp" : "^2.0.0" ,
2022-12-01 07:20:55 +00:00
"node-pre-gyp" : "^0.17.0" ,
2022-12-01 11:38:43 +00:00
"pacote" : "^15.0.0" ,
2022-08-25 19:04:14 +01:00
"playwright" : "^1.25.0" ,
2022-12-15 18:14:43 +00:00
"prettier" : "^2.8.1" ,
2020-02-13 23:52:16 +00:00
"rimraf" : "^3.0.2" ,
2021-08-03 21:49:20 +00:00
"tar" : "^6.1.2" ,
2022-11-30 16:49:11 +00:00
"ts-jest" : "^29.0.0" ,
2022-11-29 09:59:02 +00:00
"ts-node" : "^10.9.1" ,
2023-02-24 11:11:19 +00:00
"typescript" : "4.9.5"
2020-02-13 23:52:16 +00:00
} ,
"hakDependencies" : {
2022-04-25 18:58:34 +01:00
"matrix-seshat" : "^2.3.3" ,
"keytar" : "^7.9.0"
2019-12-06 18:20:31 +00:00
} ,
2022-07-01 20:17:40 +01:00
"resolutions" : {
2023-02-16 15:14:42 +01:00
"@types/node" : "16.18.12"
2022-07-01 20:17:40 +01:00
} ,
2019-12-06 18:20:31 +00:00
"build" : {
"appId" : "im.riot.app" ,
2022-04-19 12:04:30 +03:00
"asarUnpack" : "**/*.node" ,
2019-12-06 18:20:31 +00:00
"files" : [
2020-02-21 10:57:52 +00:00
"package.json" ,
{
"from" : ".hak/hakModules" ,
"to" : "node_modules"
} ,
2021-06-30 18:56:48 +01:00
"lib/**"
2019-12-06 18:20:31 +00:00
] ,
"extraResources" : [
{
"from" : "res/img" ,
"to" : "img"
} ,
2019-12-10 15:54:17 +00:00
"webapp.asar"
2019-12-06 18:20:31 +00:00
] ,
"linux" : {
2022-11-14 18:02:34 +00:00
"target" : [
"tar.gz" ,
"deb"
] ,
2019-12-06 18:20:31 +00:00
"category" : "Network;InstantMessaging;Chat" ,
2023-02-27 18:04:55 +00:00
"maintainer" : "support@element.io"
2019-12-06 18:20:31 +00:00
} ,
"mac" : {
"category" : "public.app-category.social-networking" ,
"darkModeSupport" : true
} ,
"win" : {
2022-07-12 14:37:18 +01:00
"target" : [
2022-11-08 15:09:41 +00:00
"squirrel"
2022-07-12 14:37:18 +01:00
] ,
2020-03-04 16:55:12 +00:00
"sign" : "scripts/electron_winSign"
2019-12-06 18:20:31 +00:00
} ,
"directories" : {
"output" : "dist"
2019-12-10 16:04:16 +00:00
} ,
2020-07-14 19:05:28 +01:00
"afterPack" : "scripts/electron_afterPack" ,
2020-03-06 16:31:25 +00:00
"afterSign" : "scripts/electron_afterSign" ,
2020-04-15 19:30:03 +01:00
"protocols" : [
{
2020-07-01 15:30:53 +01:00
"name" : "element" ,
2020-04-15 19:30:03 +01:00
"schemes" : [
2020-07-01 15:30:53 +01:00
"element"
2020-04-15 19:30:03 +01:00
]
}
]
2022-08-25 19:04:14 +01:00
} ,
"jest" : {
"testEnvironment" : "node" ,
"testMatch" : [
"<rootDir>/test/**/*-test.[jt]s?(x)"
] ,
2022-09-06 13:52:41 +01:00
"setupFilesAfterEnv" : [
"expect-playwright"
]
2019-12-06 18:20:31 +00:00
}
}