forked from alexduf/gnome-github-notifications
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 3.05 KB
/
package.json
File metadata and controls
66 lines (66 loc) · 3.05 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
56
57
58
59
60
61
62
63
64
65
66
{
"$schema": "https://www.schemastore.org/package.json",
"name": "gnome-github-manager",
"version": "1.0.0",
"main": "extension.js",
"repository": "git@github.com:mackdk/gnome-github-notifications.git",
"author": "Thomas Florio <mackdk@hotmail.com>",
"license": "GPL-2.0-or-later",
"scripts": {
"clean": "rm -rf build",
"compile": "rollup --config rollup.config.ts --configPlugin 'typescript={cacheDir:\"build/compile\"}'",
"lint": "yarn run eslint src --max-warnings=0",
"build": "yarn compile && yarn updateTranslations",
"sync": "test -d build/dist && rsync -a ./build/dist/* ~/.local/share/gnome-shell/extensions/$(jq -r .uuid src/main/resources/metadata.json) || echo 'Compile the extension first!'",
"deploy": "yarn build && yarn sync",
"test": "TS_NODE_PROJECT='src/test/tsconfig.json' yarn run nyc mocha",
"followLogs": "journalctl -f | grep \"\\[$(jq -r .name src/main/resources/metadata.json)\\]\"",
"updateTranslations": "test -d build/dist && (cd build/dist && xgettext --no-location --from-code UTF-8 -L JavaScript -o ../../src/main/po/gnome-github-manager.pot *.js && xgettext --no-location --from-code UTF-8 -L Glade -j -o ../../src/main/po/gnome-github-manager.pot ui/*.ui; sed -i 's/\"POT-Creation-Date[^\"]*\"/\"POT-Creation-Date: \\\\n\"/' ../../src/main/po/gnome-github-manager.pot) || echo 'Compile the extension first!'",
"createZip": "test -d build/dist && (cd build/dist && zip -r ../gnome-github-manager-v$(jq -r .version ../../package.json).zip ./*) || echo 'Compile the extension first!'",
"package": "yarn build && yarn createZip"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-typescript": "^11.0.0",
"@types/chai": "^4.3.5",
"@types/mocha": "^10.0.1",
"@types/node": "^18.15.5",
"@types/sinon": "^10.0.14",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.54.0",
"chai": "^4.3.7",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.6.0",
"eslint-import-resolver-typescript": "^3.5.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"prettier": "^2.8.4",
"rollup": "3.18.0",
"sinon": "^15.0.4",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"tslib": "^2.4.1",
"typescript": "^4.8.4"
},
"dependencies": {
"@girs/gjs": "4.0.0-beta.37",
"@girs/gnome-shell": "49.0.1",
"@girs/gnomedesktop-4.0": "^4.0.0-4.0.0-beta.37",
"@girs/soup-3.0": "3.6.5-4.0.0-beta.37"
},
"resolutions": {
"@girs/adw-1": "1.8.0-4.0.0-beta.37",
"@girs/clutter-17": "17.0.0-4.0.0-beta.37",
"@girs/gdk-4.0": "4.0.0-4.0.0-beta.37",
"@girs/gdkpixbuf-2.0": "2.0.0-4.0.0-beta.37",
"@girs/gio-2.0": "2.86.0-4.0.0-beta.37",
"@girs/glib-2.0": "2.86.0-4.0.0-beta.37",
"@girs/gobject-2.0": "2.86.0-4.0.0-beta.37",
"@girs/gtk-4.0": "4.20.1-4.0.0-beta.37",
"@girs/st-17": "17.0.0-4.0.0-beta.37"
}
}