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-12 20:33:29 +01:00
|
|
|
"setversion": "node scripts/set-version.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-17 21:25:10 +01:00
|
|
|
"buildnative": "yarn run hak",
|
2020-02-19 15:21:33 +01:00
|
|
|
"build32": "yarn run setversion && electron-builder --ia32",
|
|
|
|
"build64": "yarn run setversion && electron-builder --x64",
|
|
|
|
"build": "yarn run setversion && electron-builder",
|
2020-02-17 21:10:58 +01:00
|
|
|
"docker:setup": "docker build -t riot-desktop-dockerbuild dockerbuild",
|
2020-02-17 21:12:02 +01:00
|
|
|
"docker:buildnative": "scripts/in-docker.sh yarn run hak",
|
|
|
|
"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",
|
|
|
|
"minimist": "^1.2.0",
|
|
|
|
"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",
|
2019-12-06 19:20:31 +01:00
|
|
|
"follow-redirects": "^1.9.0",
|
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": {
|
|
|
|
"matrix-seshat": "^1.0.0"
|
2019-12-06 19:20:31 +01:00
|
|
|
},
|
|
|
|
"build": {
|
|
|
|
"appId": "im.riot.app",
|
|
|
|
"electronVersion": "7.1.3",
|
|
|
|
"files": [
|
|
|
|
"node_modules/**",
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"deb": {
|
2019-12-13 11:45:27 +01:00
|
|
|
"fpm": [
|
|
|
|
"--deb-custom-control=pkg/control"
|
|
|
|
]
|
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"
|
2019-12-06 19:20:31 +01:00
|
|
|
},
|
2019-12-11 18:34:19 +01:00
|
|
|
"certificateSubjectName": "New Vector Ltd"
|
2019-12-06 19:20:31 +01:00
|
|
|
},
|
|
|
|
"directories": {
|
|
|
|
"output": "dist"
|
2019-12-10 17:04:16 +01:00
|
|
|
},
|
|
|
|
"afterSign": "scripts/electron_afterSign.js"
|
2019-12-06 19:20:31 +01:00
|
|
|
}
|
|
|
|
}
|