From 257f0c833c4dd8c3e293d91c1b66d86efda0c4f2 Mon Sep 17 00:00:00 2001 From: adb Date: Sat, 27 Mar 2021 02:12:58 +0100 Subject: [PATCH] init capacitor --- capacitor.config.json | 13 +++++++++++++ package.json | 3 +++ 2 files changed, 16 insertions(+) create mode 100644 capacitor.config.json diff --git a/capacitor.config.json b/capacitor.config.json new file mode 100644 index 0000000..f9be0a9 --- /dev/null +++ b/capacitor.config.json @@ -0,0 +1,13 @@ +{ + "appId": "sh.adb.matrixChat", + "appName": "matrix-chat", + "bundledWebRuntime": false, + "npmClient": "npm", + "webDir": "./dist", + "plugins": { + "SplashScreen": { + "launchShowDuration": 0 + } + }, + "cordova": {} +} diff --git a/package.json b/package.json index c57fd22..56a6050 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,9 @@ "lint": "vue-cli-service lint" }, "dependencies": { + "@capacitor/android": "^2.4.7", + "@capacitor/cli": "^2.4.7", + "@capacitor/core": "^2.4.7", "@modular-matrix/parse-mxc": "^1.0.1", "@vue-polkadot/vue-identicon": "^0.0.8", "core-js": "^3.6.5",