From eb68b5c16667123cfdfd9eebc74b8ce9e13381da Mon Sep 17 00:00:00 2001 From: Mikhail Zolotukhin Date: Fri, 3 Sep 2021 22:02:14 +0300 Subject: [PATCH] build: :sparkles: add quick relaunch npm task --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index fbff2751..d6e32d83 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,9 @@ "prescript-install": "npm run package", "script-install": "bin/install.sh", "script-uninstall": "bin/uninstall.sh", + "preinstall-and-restart-kwin-x11": "npm run script-install", + "install-and-restart-kwin-x11": "kwin_x11 --replace", + "postinstall-and-restart-kwin-x11": "bash -ic \"kwin_x11 --replace & disown\"", "docs": "npx typedoc --out $npm_package_config_build_dir/docs", "test": "mocha 'test/*.spec.js'" }, @@ -89,4 +92,4 @@ "no-cond-assign": "error" } } -} +} \ No newline at end of file