2019-12-06 19:20:31 +01:00
|
|
|
{
|
|
|
|
"name": "riot-desktop",
|
|
|
|
"productName": "Riot",
|
|
|
|
"main": "src/electron-main.js",
|
2019-12-13 18:24:12 +01:00
|
|
|
"version": "1.5.6",
|
2019-12-06 19:20:31 +01:00
|
|
|
"description": "A feature-rich client for Matrix.org",
|
|
|
|
"author": "New Vector Ltd.",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/vector-im/riot-desktop"
|
|
|
|
},
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"files": [],
|
|
|
|
"scripts": {
|
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",
|
2019-12-10 18:40:17 +01:00
|
|
|
"start": "electron .",
|
2020-02-17 15:52:24 +01:00
|
|
|
"lint": "eslint src/ scripts/ hak/",
|
2020-02-20 18:40:19 +01:00
|
|
|
"build:native": "yarn run hak",
|
2020-02-26 12:56:59 +01:00
|
|
|
"build32": "electron-builder --ia32",
|
|
|
|
"build64": "electron-builder --x64",
|
|
|
|
"build": "electron-builder",
|
2020-02-17 21:10:58 +01:00
|
|
|
"docker:setup": "docker build -t riot-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",
|
2020-02-14 00:52:16 +01:00
|
|
|
"clean": "rimraf webapp.asar dist packages deploys",
|
|
|
|
"hak": "node scripts/hak/index.js"
|
2019-12-06 19:20:31 +01:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"auto-launch": "^5.0.1",
|
|
|
|
"electron-store": "^2.0.0",
|
|
|
|
"electron-window-state": "^4.1.0",
|
2020-03-17 11:41:48 +01:00
|
|
|
"minimist": "^1.2.2",
|
2019-12-06 19:20:31 +01:00
|
|
|
"png-to-ico": "^1.0.2"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-12-10 16:54:17 +01:00
|
|
|
"asar": "^2.0.1",
|
2020-02-17 12:23:40 +01:00
|
|
|
"electron-builder": "^22.3.2",
|
2020-02-17 13:00:28 +01:00
|
|
|
"electron-builder-squirrel-windows": "^22.3.2",
|
2019-12-06 19:20:31 +01:00
|
|
|
"electron-devtools-installer": "^2.2.4",
|
|
|
|
"electron-notarize": "^0.2.0",
|
|
|
|
"eslint": "^5.8.0",
|
|
|
|
"eslint-config-google": "^0.7.1",
|
|
|
|
"eslint-plugin-babel": "^4.1.2",
|
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",
|
2019-12-06 19:20:31 +01:00
|
|
|
"matrix-js-sdk": "^2.4.6-rc.1",
|
2020-02-14 00:52:16 +01:00
|
|
|
"mkdirp": "^1.0.3",
|
|
|
|
"needle": "^2.3.2",
|
|
|
|
"node-pre-gyp": "^0.14.0",
|
|
|
|
"npm": "^6.13.7",
|
|
|
|
"rimraf": "^3.0.2",
|
|
|
|
"semver": "^7.1.3",
|
|
|
|
"tar": "^6.0.1"
|
|
|
|
},
|
|
|
|
"hakDependencies": {
|
2020-03-27 14:16:57 +01:00
|
|
|
"matrix-seshat": "^1.3.1"
|
2019-12-06 19:20:31 +01:00
|
|
|
},
|
|
|
|
"build": {
|
|
|
|
"appId": "im.riot.app",
|
2020-03-03 11:02:56 +01:00
|
|
|
"electronVersion": "8.0.3",
|
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"
|
|
|
|
},
|
2019-12-06 19:20:31 +01:00
|
|
|
"src/**"
|
|
|
|
],
|
|
|
|
"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",
|
|
|
|
"maintainer": "support@riot.im",
|
|
|
|
"desktop": {
|
|
|
|
"StartupWMClass": "riot"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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-03-06 17:31:25 +01:00
|
|
|
"afterSign": "scripts/electron_afterSign",
|
2020-03-02 16:04:51 +01:00
|
|
|
"protocols": [{
|
|
|
|
"name": "riot",
|
|
|
|
"schemes": ["riot"]
|
|
|
|
}]
|
2019-12-06 19:20:31 +01:00
|
|
|
}
|
|
|
|
}
|