-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
44 lines (44 loc) · 2.16 KB
/
package.json
File metadata and controls
44 lines (44 loc) · 2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"private": true,
"name": "yanjing",
"version": "7.0.0",
"description": "KWin window size and movement [Plasma 6]",
"homepage": "https://github.com/davidosomething/yanjing",
"repository": {
"type": "git",
"url": "https://github.com/davidosomething/yanjing.git"
},
"main": "code/main.js",
"directories": {},
"scripts": {
"lint:metadata": "kpackagetool6 --appstream-metainfo .",
"test": "jest",
"plasma:debugger": "plasma-interactiveconsole --kwin || qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.showInteractiveKWinConsole",
"plasma:restart": "kquitapp6 plasmashell; kstart plasmashell",
"kwin:is_enabled": "kreadconfig6 --file kwinrc --group Plugins --key yanjingEnabled",
"kwin:disable": "kwriteconfig6 --file kwinrc --group Plugins --key yanjingEnabled false && qdbus org.kde.KWin /KWin reconfigure",
"kwin:enable": "kwriteconfig6 --file kwinrc --group Plugins --key yanjingEnabled true && qdbus org.kde.KWin /KWin reconfigure",
"kwin:restart": "npm run --silent disable && npm run --silent enable",
"kwin:log": "journalctl -f QT_CATEGORY=js QT_CATEGORY=kwin_scripting",
"kwin:is_installed": "kpackagetool6 --type=KWin/Script --show yanjing",
"kwin:install": "kpackagetool6 --type=KWin/Script --install .",
"kwin:upgrade": "kpackagetool6 --type=KWin/Script --upgrade .",
"kwin:uninstall": "kpackagetool6 --type=KWin/Script --remove yanjing && qdbus org.kde.kglobalaccel /component/kwin cleanUp",
"start": "npm run --silent build && npm run --silent kwin:is_installed && { npm run --silent kwin:upgrade; echo UPGRADED; } || { npm run --silent kwin:install && echo INSTALLED; }",
"build": "node output-metadata.js > metadata.json",
"package": "npm run --silent build && zip --exclude \\*.spec.js --recurse-paths yanjing.kwinscript contents/ LICENSE metadata.json",
"version": "npm run --silent package && git add -- metadata.json yanjing.kwinscript"
},
"author": {
"name": "David O'Trakoun",
"email": "me@davidosomething.com",
"url": "https://davidosomething.com/"
},
"license": "MIT",
"devDependencies": {
"jest": "^29.7.0"
},
"prettier": {
"singleQuote": true
}
}