Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
32 lines (32 loc) · 2.17 KB
/
Copy pathpackage.json
File metadata and controls
32 lines (32 loc) · 2.17 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
{
"name": "tilingshell",
"version": "18.0",
"author": "Domenico Ferraro <ferraro.domenico125@gmail.com>",
"private": true,
"license": "GPL v2.0",
"scripts": {
"build": "npm run clean && node esbuild.mjs && npm run build:schema && npm run build:resources",
"clean": "rm -rf dist",
"logs:follow": "journalctl --follow /usr/bin/gnome-shell",
"update-translations": "npm run create:translations && npm run merge:translations && npm run build:translations",
"build:schema": "npm run clean:schema && glib-compile-schemas ./resources/schemas --targetdir=./dist/schemas/",
"build:resources": "npm run clean:resources && glib-compile-resources --sourcedir=./gresources --target=./dist/resources.gresource ./gresources/resources.gresource.xml",
"clean:schema": "rm -rf ./dist/schemas/*.compiled",
"clean:resources": "rm -rf ./dist/*.gresource",
"install:extension": "mkdir -p ~/.local/share/gnome-shell/extensions/tilingshell@ferrarodomenico.com && cp ./dist/* ~/.local/share/gnome-shell/extensions/tilingshell@ferrarodomenico.com/ -r",
"wayland-session": "dbus-run-session -- env MUTTER_DEBUG_NUM_DUMMY_MONITORS=1 MUTTER_DEBUG_DUMMY_MODE_SPECS=1920x1080 gnome-shell --devkit --wayland",
"dev:wayland": "npm run build && npm run install:extension && npm run wayland-session",
"build:translations": "for file in $(ls translations/*.po); do mkdir -p resources/locale/$(basename $file .po)/LC_MESSAGES; msgfmt -c $file -o resources/locale/$(basename $file .po)/LC_MESSAGES/tilingshell.mo; done",
"create:translations": "rm -f translations/tilingshell@ferrarodomenico.com.pot && xgettext --from-code=UTF-8 --output=translations/tilingshell@ferrarodomenico.com.pot --language=javascript --force-po $(find ./dist -name '*.js')",
"merge:translations": "for file in translations/*.po; do msgattrib --no-fuzzy --output-file=$file $file && msgmerge --update --no-fuzzy-matching --previous -N $file translations/tilingshell@ferrarodomenico.com.pot --backup=none; done"
},
"devDependencies": {
"esbuild": "^0.28.2",
"esbuild-sass-plugin": "^3.7.0",
"glob": "^13.0.6",
"typescript": "^7.0.2"
},
"dependencies": {
"@girs/gnome-shell": "^50.0.4"
}
}