2019-03-18 01:59:57 +00:00
|
|
|
{
|
2020-07-15 21:39:34 +01:00
|
|
|
"name": "element-desktop",
|
2020-07-28 10:57:28 +01:00
|
|
|
"productName": "Element",
|
2019-03-18 01:59:57 +00:00
|
|
|
"main": "src/electron-main.js",
|
2021-02-16 11:52:48 +00:00
|
|
|
"version": "1.7.21",
|
2019-03-18 01:59:57 +00:00
|
|
|
"description": "A feature-rich client for Matrix.org",
|
2020-07-15 21:39:34 +01:00
|
|
|
"author": "Element",
|
2020-05-19 15:03:12 +01:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2020-12-09 11:26:31 +00:00
|
|
|
"url": "https://github.com/vector-im/element-desktop"
|
2020-05-19 15:03:12 +01:00
|
|
|
},
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"files": [],
|
|
|
|
"scripts": {
|
|
|
|
"mkdirs": "mkdirp packages deploys",
|
|
|
|
"fetch": "yarn run mkdirs && node scripts/fetch-package.js",
|
2020-06-04 17:03:50 +01:00
|
|
|
"asar-webapp": "asar p webapp webapp.asar",
|
2020-05-19 15:03:12 +01:00
|
|
|
"start": "electron .",
|
|
|
|
"lint": "eslint src/ scripts/ hak/",
|
|
|
|
"build:native": "yarn run hak",
|
|
|
|
"build32": "electron-builder --ia32",
|
|
|
|
"build64": "electron-builder --x64",
|
|
|
|
"build": "electron-builder",
|
2020-12-09 11:26:31 +00:00
|
|
|
"docker:setup": "docker build -t element-desktop-dockerbuild dockerbuild",
|
2020-05-19 15:03:12 +01: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",
|
|
|
|
"debrepo": "scripts/mkrepo.sh",
|
|
|
|
"clean": "rimraf webapp.asar dist packages deploys",
|
|
|
|
"hak": "node scripts/hak/index.js"
|
|
|
|
},
|
2019-03-18 01:59:57 +00:00
|
|
|
"dependencies": {
|
2021-02-03 13:08:35 +00:00
|
|
|
"auto-launch": "^5.0.5",
|
|
|
|
"electron-store": "^6.0.1",
|
|
|
|
"electron-window-state": "^5.0.3",
|
2020-05-19 15:03:12 +01:00
|
|
|
"minimist": "^1.2.3",
|
2021-02-03 13:08:35 +00:00
|
|
|
"png-to-ico": "^2.1.1",
|
2020-10-12 15:41:11 +01:00
|
|
|
"request": "^2.88.2"
|
2020-05-19 15:03:12 +01:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"asar": "^2.0.1",
|
2021-02-03 13:08:35 +00:00
|
|
|
"electron-builder": "22.9.1",
|
|
|
|
"electron-builder-squirrel-windows": "22.9.1",
|
|
|
|
"electron-devtools-installer": "^3.1.1",
|
|
|
|
"electron-notarize": "^1.0.0",
|
2020-07-28 10:57:28 +01:00
|
|
|
"eslint": "7.3.1",
|
|
|
|
"eslint-config-matrix-org": "^0.1.2",
|
2020-05-19 15:03:12 +01:00
|
|
|
"find-npm-prefix": "^1.0.2",
|
|
|
|
"fs-extra": "^8.1.0",
|
|
|
|
"glob": "^7.1.6",
|
|
|
|
"mkdirp": "^1.0.3",
|
2020-06-23 16:09:52 +01:00
|
|
|
"needle": "^2.5.0",
|
|
|
|
"node-pre-gyp": "^0.15.0",
|
2021-02-03 13:08:35 +00:00
|
|
|
"npm": "^6.14.11",
|
2020-05-19 15:03:12 +01:00
|
|
|
"rimraf": "^3.0.2",
|
2021-02-03 13:08:35 +00:00
|
|
|
"semver": "^7.3.4",
|
|
|
|
"tar": "^6.1.0"
|
2020-05-19 15:03:12 +01:00
|
|
|
},
|
|
|
|
"hakDependencies": {
|
2021-01-18 15:58:23 +00:00
|
|
|
"matrix-seshat": "^2.2.3",
|
2020-06-23 16:09:52 +01:00
|
|
|
"keytar": "^5.6.0"
|
2020-05-19 15:03:12 +01:00
|
|
|
},
|
|
|
|
"build": {
|
|
|
|
"appId": "im.riot.app",
|
2021-01-18 15:58:23 +00:00
|
|
|
"electronVersion": "10.2.0",
|
2020-05-19 15:03:12 +01:00
|
|
|
"files": [
|
|
|
|
"package.json",
|
|
|
|
{
|
|
|
|
"from": ".hak/hakModules",
|
|
|
|
"to": "node_modules"
|
|
|
|
},
|
|
|
|
"src/**"
|
|
|
|
],
|
|
|
|
"extraResources": [
|
|
|
|
{
|
|
|
|
"from": "res/img",
|
|
|
|
"to": "img"
|
|
|
|
},
|
|
|
|
"webapp.asar"
|
|
|
|
],
|
|
|
|
"linux": {
|
|
|
|
"target": "deb",
|
|
|
|
"category": "Network;InstantMessaging;Chat",
|
2020-07-15 21:39:34 +01:00
|
|
|
"maintainer": "support@element.io",
|
2020-05-19 15:03:12 +01:00
|
|
|
"desktop": {
|
2020-07-15 21:39:34 +01:00
|
|
|
"StartupWMClass": "element"
|
2020-05-19 15:03:12 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"mac": {
|
|
|
|
"category": "public.app-category.social-networking",
|
|
|
|
"darkModeSupport": true
|
|
|
|
},
|
|
|
|
"win": {
|
|
|
|
"target": {
|
|
|
|
"target": "squirrel"
|
|
|
|
},
|
|
|
|
"sign": "scripts/electron_winSign"
|
|
|
|
},
|
|
|
|
"directories": {
|
|
|
|
"output": "dist"
|
|
|
|
},
|
2020-07-15 21:39:34 +01:00
|
|
|
"afterPack": "scripts/electron_afterPack",
|
2020-05-19 15:03:12 +01:00
|
|
|
"afterSign": "scripts/electron_afterSign",
|
|
|
|
"protocols": [
|
|
|
|
{
|
2020-07-15 21:39:34 +01:00
|
|
|
"name": "element",
|
2020-05-19 15:03:12 +01:00
|
|
|
"schemes": [
|
2020-07-15 21:39:34 +01:00
|
|
|
"element"
|
2020-05-19 15:03:12 +01:00
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2019-03-18 01:59:57 +00:00
|
|
|
}
|
|
|
|
}
|