2019-12-06 19:20:31 +01:00
{
2020-07-01 16:30:53 +02:00
"name" : "element-desktop" ,
2020-07-21 18:57:54 +02:00
"productName" : "Element" ,
2021-06-25 15:35:58 +02:00
"main" : "lib/electron-main.js" ,
2021-07-05 17:55:20 +02:00
"version" : "1.7.32" ,
2019-12-06 19:20:31 +01:00
"description" : "A feature-rich client for Matrix.org" ,
2020-07-14 20:05:28 +02:00
"author" : "Element" ,
2019-12-06 19:20:31 +01:00
"repository" : {
"type" : "git" ,
2020-11-24 13:48:37 +01:00
"url" : "https://github.com/vector-im/element-desktop"
2019-12-06 19:20:31 +01:00
} ,
"license" : "Apache-2.0" ,
"files" : [ ] ,
"scripts" : {
2021-04-27 16:10:20 +02: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 15:38:09 +01:00
"mkdirs" : "mkdirp packages deploys" ,
2019-12-10 15:33:41 +01:00
"fetch" : "yarn run mkdirs && node scripts/fetch-package.js" ,
2020-04-01 13:33:06 +02:00
"asar-webapp" : "asar p webapp webapp.asar" ,
2021-07-01 12:32:09 +02:00
"start" : "yarn run build:ts && yarn run build:res && electron ." ,
2021-06-29 12:41:08 +02:00
"lint" : "yarn lint:types && yarn lint:js" ,
"lint:js" : "eslint src/ scripts/ hak/" ,
"lint:types" : "tsc --noEmit" ,
2020-02-20 18:40:19 +01:00
"build:native" : "yarn run hak" ,
2021-07-07 00:52:19 +02: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-01 12:32:09 +02:00
"build32" : "yarn run build:ts && yarn run build:res && electron-builder --ia32" ,
"build64" : "yarn run build:ts && yarn run build:res && electron-builder --x64" ,
2021-07-07 00:52:19 +02:00
"builduniversal" : "yarn run build:ts && yarn run build:res && electron-builder --universal" ,
2021-07-01 12:32:09 +02:00
"build" : "yarn run build:ts && yarn run build:res && electron-builder" ,
2021-06-29 12:41:08 +02:00
"build:ts" : "tsc" ,
2021-07-01 12:32:09 +02:00
"build:res" : "node scripts/copy-res.js" ,
2020-11-24 13:48:37 +01:00
"docker:setup" : "docker build -t element-desktop-dockerbuild dockerbuild" ,
2020-02-20 18:40:19 +01:00
"docker:build:native" : "scripts/in-docker.sh yarn run hak" ,
2020-02-17 21:12:02 +01:00
"docker:build" : "scripts/in-docker.sh yarn run build" ,
"docker:install" : "scripts/in-docker.sh yarn install" ,
2019-12-13 17:14:33 +01:00
"debrepo" : "scripts/mkrepo.sh" ,
2021-07-01 18:18:26 +02:00
"clean" : "rimraf webapp.asar dist packages deploys lib" ,
2020-02-14 00:52:16 +01:00
"hak" : "node scripts/hak/index.js"
2019-12-06 19:20:31 +01:00
} ,
"dependencies" : {
2021-01-18 16:50:23 +01:00
"auto-launch" : "^5.0.5" ,
2021-04-26 14:58:29 +02:00
"counterpart" : "^0.18.6" ,
2021-01-18 16:46:07 +01:00
"electron-store" : "^6.0.1" ,
2021-01-18 16:43:08 +01:00
"electron-window-state" : "^5.0.3" ,
2020-04-04 00:39:01 +02:00
"minimist" : "^1.2.3" ,
2021-01-18 16:50:23 +01:00
"png-to-ico" : "^2.1.1" ,
2020-09-29 13:53:08 +02:00
"request" : "^2.88.2"
2019-12-06 19:20:31 +01:00
} ,
"devDependencies" : {
2021-06-25 15:35:58 +02:00
"@types/auto-launch" : "^5.0.1" ,
"@types/counterpart" : "^0.18.1" ,
2021-07-01 10:22:57 +02:00
"@types/minimist" : "^1.2.1" ,
"@typescript-eslint/eslint-plugin" : "^4.17.0" ,
"@typescript-eslint/parser" : "^4.17.0" ,
2019-12-10 16:54:17 +01:00
"asar" : "^2.0.1" ,
2021-07-01 12:32:09 +02:00
"chokidar" : "^3.5.2" ,
2021-06-25 15:35:58 +02:00
"electron" : "12.0.11" ,
2021-06-07 18:25:13 +02:00
"electron-builder" : "22.11.4" ,
2021-06-10 19:30:11 +02:00
"electron-builder-squirrel-windows" : "22.11.4" ,
2021-01-18 16:40:58 +01:00
"electron-devtools-installer" : "^3.1.1" ,
"electron-notarize" : "^1.0.0" ,
2021-05-27 15:27:20 +02:00
"eslint" : "7.18.0" ,
2021-05-27 18:35:05 +02:00
"eslint-config-google" : "^0.14.0" ,
2021-05-27 15:27:20 +02:00
"eslint-plugin-matrix-org" : "github:matrix-org/eslint-plugin-matrix-org#main" ,
2020-02-14 00:52:16 +01:00
"find-npm-prefix" : "^1.0.2" ,
2020-02-15 17:52:41 +01:00
"fs-extra" : "^8.1.0" ,
2020-02-14 00:52:16 +01:00
"glob" : "^7.1.6" ,
2021-04-26 17:00:10 +02:00
"matrix-web-i18n" : "github:matrix-org/matrix-web-i18n" ,
2020-02-14 00:52:16 +01:00
"mkdirp" : "^1.0.3" ,
2020-06-16 13:41:58 +02:00
"needle" : "^2.5.0" ,
"node-pre-gyp" : "^0.15.0" ,
2021-01-18 16:50:23 +01:00
"npm" : "^6.14.11" ,
2020-02-14 00:52:16 +01:00
"rimraf" : "^3.0.2" ,
2021-01-18 16:50:23 +01:00
"semver" : "^7.3.4" ,
2021-06-25 15:35:58 +02:00
"tar" : "^6.1.0" ,
"typescript" : "^4.1.3"
2020-02-14 00:52:16 +01:00
} ,
"hakDependencies" : {
2021-01-15 12:18:26 +01:00
"matrix-seshat" : "^2.2.3" ,
2020-05-28 21:07:39 +02:00
"keytar" : "^5.6.0"
2019-12-06 19:20:31 +01:00
} ,
"build" : {
"appId" : "im.riot.app" ,
2021-06-29 15:16:52 +02:00
"electronVersion" : "12.0.12" ,
2019-12-06 19:20:31 +01:00
"files" : [
2020-02-21 11:57:52 +01:00
"package.json" ,
{
"from" : ".hak/hakModules" ,
"to" : "node_modules"
} ,
2021-06-30 19:56:48 +02:00
"lib/**"
2019-12-06 19:20:31 +01:00
] ,
"extraResources" : [
{
"from" : "res/img" ,
"to" : "img"
} ,
2019-12-10 16:54:17 +01:00
"webapp.asar"
2019-12-06 19:20:31 +01:00
] ,
"linux" : {
"target" : "deb" ,
"category" : "Network;InstantMessaging;Chat" ,
2020-07-01 16:30:53 +02:00
"maintainer" : "support@element.io" ,
2019-12-06 19:20:31 +01:00
"desktop" : {
2020-07-01 16:30:53 +02:00
"StartupWMClass" : "element"
2019-12-06 19:20:31 +01:00
}
} ,
"mac" : {
"category" : "public.app-category.social-networking" ,
"darkModeSupport" : true
} ,
"win" : {
"target" : {
2020-02-19 15:21:33 +01:00
"target" : "squirrel"
2020-03-04 17:55:12 +01:00
} ,
"sign" : "scripts/electron_winSign"
2019-12-06 19:20:31 +01:00
} ,
"directories" : {
"output" : "dist"
2019-12-10 17:04:16 +01:00
} ,
2020-07-14 20:05:28 +02:00
"afterPack" : "scripts/electron_afterPack" ,
2020-03-06 17:31:25 +01:00
"afterSign" : "scripts/electron_afterSign" ,
2020-04-15 20:30:03 +02:00
"protocols" : [
{
2020-07-01 16:30:53 +02:00
"name" : "element" ,
2020-04-15 20:30:03 +02:00
"schemes" : [
2020-07-01 16:30:53 +02:00
"element"
2020-04-15 20:30:03 +02:00
]
}
]
2019-12-06 19:20:31 +01:00
}
}