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",
|
2019-12-06 18:20:31 +00:00
|
|
|
"main": "src/electron-main.js",
|
2020-10-20 11:31:22 +01:00
|
|
|
"version": "1.7.10",
|
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",
|
|
|
|
"url": "https://github.com/vector-im/riot-desktop"
|
|
|
|
},
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"files": [],
|
|
|
|
"scripts": {
|
2019-12-10 14:38:09 +00:00
|
|
|
"mkdirs": "mkdirp packages deploys",
|
2019-12-10 14:33:41 +00:00
|
|
|
"fetch": "yarn run mkdirs && node scripts/fetch-package.js",
|
2020-04-01 12:33:06 +01:00
|
|
|
"asar-webapp": "asar p webapp webapp.asar",
|
2019-12-10 17:40:17 +00:00
|
|
|
"start": "electron .",
|
2020-02-17 14:52:24 +00:00
|
|
|
"lint": "eslint src/ scripts/ hak/",
|
2020-02-20 17:40:19 +00:00
|
|
|
"build:native": "yarn run hak",
|
2020-02-26 11:56:59 +00:00
|
|
|
"build32": "electron-builder --ia32",
|
|
|
|
"build64": "electron-builder --x64",
|
|
|
|
"build": "electron-builder",
|
2020-02-17 20:10:58 +00:00
|
|
|
"docker:setup": "docker build -t riot-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",
|
2019-12-13 16:14:33 +00:00
|
|
|
"debrepo": "scripts/mkrepo.sh",
|
2020-02-13 23:52:16 +00:00
|
|
|
"clean": "rimraf webapp.asar dist packages deploys",
|
|
|
|
"hak": "node scripts/hak/index.js"
|
2019-12-06 18:20:31 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"auto-launch": "^5.0.1",
|
|
|
|
"electron-store": "^2.0.0",
|
|
|
|
"electron-window-state": "^4.1.0",
|
2020-04-03 22:39:01 +00:00
|
|
|
"minimist": "^1.2.3",
|
2020-09-29 12:53:08 +01:00
|
|
|
"png-to-ico": "^2.1.0",
|
|
|
|
"request": "^2.88.2"
|
2019-12-06 18:20:31 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-12-10 15:54:17 +00:00
|
|
|
"asar": "^2.0.1",
|
2020-06-17 16:58:36 +01:00
|
|
|
"electron-builder": "^22.7.0",
|
|
|
|
"electron-builder-squirrel-windows": "^22.7.0",
|
2019-12-06 18:20:31 +00:00
|
|
|
"electron-devtools-installer": "^2.2.4",
|
|
|
|
"electron-notarize": "^0.2.0",
|
2020-07-21 15:06:38 +01:00
|
|
|
"eslint": "7.3.1",
|
|
|
|
"eslint-config-matrix-org": "^0.1.2",
|
2020-02-13 23:52:16 +00:00
|
|
|
"find-npm-prefix": "^1.0.2",
|
2020-02-15 16:52:41 +00:00
|
|
|
"fs-extra": "^8.1.0",
|
2020-02-13 23:52:16 +00:00
|
|
|
"glob": "^7.1.6",
|
|
|
|
"mkdirp": "^1.0.3",
|
2020-06-16 12:41:58 +01:00
|
|
|
"needle": "^2.5.0",
|
|
|
|
"node-pre-gyp": "^0.15.0",
|
2020-07-07 14:48:36 -06:00
|
|
|
"npm": "^6.14.6",
|
2020-02-13 23:52:16 +00:00
|
|
|
"rimraf": "^3.0.2",
|
|
|
|
"semver": "^7.1.3",
|
|
|
|
"tar": "^6.0.1"
|
|
|
|
},
|
|
|
|
"hakDependencies": {
|
2020-10-05 18:23:32 +02:00
|
|
|
"matrix-seshat": "^2.2.1",
|
2020-05-28 15:07:39 -04:00
|
|
|
"keytar": "^5.6.0"
|
2019-12-06 18:20:31 +00:00
|
|
|
},
|
|
|
|
"build": {
|
|
|
|
"appId": "im.riot.app",
|
2020-10-07 15:02:51 +01:00
|
|
|
"electronVersion": "10.1.3",
|
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"
|
|
|
|
},
|
2019-12-06 18:20:31 +00:00
|
|
|
"src/**"
|
|
|
|
],
|
|
|
|
"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": {
|
|
|
|
"target": "deb",
|
|
|
|
"category": "Network;InstantMessaging;Chat",
|
2020-07-01 15:30:53 +01:00
|
|
|
"maintainer": "support@element.io",
|
2019-12-06 18:20:31 +00:00
|
|
|
"desktop": {
|
2020-07-01 15:30:53 +01:00
|
|
|
"StartupWMClass": "element"
|
2019-12-06 18:20:31 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"mac": {
|
|
|
|
"category": "public.app-category.social-networking",
|
|
|
|
"darkModeSupport": true
|
|
|
|
},
|
|
|
|
"win": {
|
|
|
|
"target": {
|
2020-02-19 14:21:33 +00:00
|
|
|
"target": "squirrel"
|
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
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2019-12-06 18:20:31 +00:00
|
|
|
}
|
|
|
|
}
|