forked from domferr/tilingshell
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
55 lines (55 loc) · 3.37 KB
/
package.json
File metadata and controls
55 lines (55 loc) · 3.37 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
45
46
47
48
49
50
51
52
53
54
55
{
"name": "tilingshell",
"version": "17.2",
"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",
"clean": "rm -rf dist; rm -rf dist_legacy",
"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/ && cp ./dist/schemas/ ./dist_legacy/ -r",
"clean:schema": "rm -rf ./dist/schemas/*.compiled; rm -rf ./dist_legacy/schemas/*.compiled",
"build:package": "npm run clean:package; npm run build && cd ./dist && zip -qr ../tilingshell@ferrarodomenico.com.zip * && cd ../dist_legacy && zip -qr ../GNOME.42-44.tilingshell@ferrarodomenico.com.zip *",
"clean:package": "rm -rf './dist/tilingshell@ferrarodomenico.com.zip'; rm -rf './dist_legacy/tilingshell@ferrarodomenico.com.zip'",
"install:extension": "mkdir -p ~/.local/share/gnome-shell/extensions/tilingshell@ferrarodomenico.com && cp ./dist$([ $(gnome-shell --version | grep -o -E '[0-9]+' | head -n 1) -le 44 ] && echo '_legacy')/* ~/.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 --nested --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 dist/prefs.js dist/extension.js",
"merge:translations": "for file in $(ls translations/*.po); do msgmerge -U $file translations/tilingshell@ferrarodomenico.com.pot --backup=none; done",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"lint:build": "eslint dist dist_legacy --fix",
"prettier:check": "prettier --check \"**/*.{ts,scss}\"",
"prettier:fix": "prettier --write \"**/*.{ts,scss}\"",
"vm:sync": "vagrant rsync",
"dev:vm:gnome46": "npm run vm:sync gnome46; vagrant up gnome46",
"vm:destroy:gnome46": "vagrant destroy gnome46",
"vm:halt:gnome46": "vagrant halt gnome46",
"dev:vm:gnome47": "npm run vm:sync gnome47; vagrant up gnome47",
"vm:destroy:gnome47": "vagrant destroy gnome47",
"vm:halt:gnome47": "vagrant halt gnome47",
"dev:vm:gnome49": "npm run vm:sync gnome49; vagrant up gnome49",
"vm:destroy:gnome49": "vagrant destroy gnome49",
"vm:halt:gnome49": "vagrant halt gnome49"
},
"devDependencies": {
"@babel/generator": "^7.28.3",
"@babel/parser": "^7.28.4",
"@babel/traverse": "^7.28.4",
"esbuild": "^0.25.10",
"esbuild-sass-plugin": "^3.3.1",
"eslint": "^9.39.1",
"eslint-config-prettier": "^10.1.8",
"@typescript-eslint/eslint-plugin": "^8.48.0",
"@typescript-eslint/parser": "^8.48.0",
"glob": "^11.0.3",
"globals": "^16.4.0",
"prettier": "^3.7.3",
"typescript": "^5.9.2"
},
"dependencies": {
"@girs/gnome-shell": "^49.1.0"
}
}