-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
183 lines (183 loc) · 7.52 KB
/
package.json
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
{
"name": "clamav-desktop",
"description": "A cross-platform desktop GUI for ClamAV antivirus.",
"license": "AGPL-3.0",
"version": "0.3.24",
"type": "module",
"engines": {
"node": "22"
},
"scripts": {
"prebuild": "yarn clean && yarn build:webview && node ./scripts/build/prepare_core_build.js",
"build": "cd ./src-tauri && cargo build",
"build:daemon": "cd ./daemon && cargo build",
"build:webview": "vite build",
"bundle:bin": "tauri build --no-bundle",
"bundle:deb": "tauri build -b deb",
"bundle:deb:x32": "TARGET=i686-unknown-linux-gnu yarn bundle:deb --target i686-unknown-linux-gnu",
"bundle:deb:x64": "TARGET=x86_64-unknown-linux-gnu yarn bundle:deb --target x86_64-unknown-linux-gnu",
"bundle:deb:install": "yarn bundle:deb && sudo dpkg -i ./src-tauri/target/release/bundle/deb/clamav-desktop_0.3.24_amd64.deb",
"bundle:dmg": "tauri build -b dmg",
"bundle:dmg:arm64": "TARGET=aarch64-apple-darwin yarn bundle:dmg --target aarch64-apple-darwin",
"bundle:dmg:x64": "TARGET=x86_64-apple-darwin yarn bundle:dmg --target x86_64-apple-darwin",
"bundle:msi": "tauri build -b msi",
"bundle:msi:arm64": "TARGET=arm64ec-pc-windows-msvc yarn bundle:msi --target arm64ec-pc-windows-msvc",
"bundle:msi:x32": "TARGET=i686-pc-windows-msvc yarn bundle:msi --target i686-pc-windows-msvc",
"bundle:msi:x64": "TARGET=x86_64-pc-windows-msvc yarn bundle:msi --target x86_64-pc-windows-msvc",
"bundle:msi:install": "yarn bundle:msi:uninstall && powershell -ExecutionPolicy Bypass -File ./scripts/dev/install_msi_bundle.ps1",
"bundle:msi:uninstall": "powershell -ExecutionPolicy Bypass -File ./scripts/dev/uninstall_msi_bundle.ps1",
"clean": "node ./scripts/build/clean.js",
"predev": "node ./scripts/build/prepare_core_build.js && yarn dev:webview",
"dev": "cross-env RUST_BACKTRACE=full TAURI_DEV=true tauri dev",
"dev:daemon:linux": "./scripts/dev/uninstall_linux_service.sh && yarn build:daemon && ./scripts/dev/install_linux_service.sh",
"dev:daemon:macos": "./scripts/dev/uninstall_macos_service.sh && yarn build:daemon && ./scripts/dev/install_macos_service.sh",
"dev:daemon:windows": "powershell -ExecutionPolicy Bypass -File ./scripts/dev/uninstall_windows_service.ps1 && yarn build:daemon && powershell -ExecutionPolicy Bypass -File ./scripts/dev/install_windows_service.ps1",
"dev:webview": "vite",
"postinstall": "node ./scripts/dev/post_install.js",
"log:daemon:linux": "./scripts/dev/log_linux_service.sh",
"log:daemon:macos": "./scripts/dev/log_macos_service.sh",
"log:daemon:windows": "powershell -ExecutionPolicy Bypass -File ./scripts/dev/log_windows_service.ps1",
"prune": "node ./scripts/dev/prune.js",
"start": "./src-tauri/target/release/clamav-desktop",
"storybook": "storybook dev --no-open -p 6006",
"test": "yarn test:lint && yarn test:type && yarn test:unit:core && test:unit:webview",
"test:e2e": "xvfb-run wdio run ./configs/wdio.config.ts",
"test:lint": "biome check --no-errors-on-unmatched --write .",
"test:perms": "node ./scripts/dev/lint_permissions.js",
"test:sec": "ggshield iac scan all",
"test:type": "tsc --noEmit -p ./tsconfig.ci.json",
"test:unit:core": "make test",
"test:unit:webview": "jest --config=./configs/jest.config.js",
"test:unit:webview:debug": "yarn test:unit:webview --detectOpenHandles",
"test:unit:webview:watch": "yarn test:unit:webview --watch",
"uninstall:daemon:linux": "./scripts/dev/uninstall_linux_service.sh",
"uninstall:daemon:macos": "./scripts/dev/uninstall_macos_service.sh",
"uninstall:daemon:windows": "powershell -ExecutionPolicy Bypass -File ./scripts/dev/uninstall_windows_service.ps1",
"postversion": "git push origin HEAD --tags",
"build-storybook": "storybook build"
},
"dependencies": {
"@fontsource/poppins": "5.1.0",
"@fontsource/reddit-mono": "5.1.0",
"@lezer/highlight": "1.2.1",
"@tauri-apps/api": "2.0.3",
"@tauri-apps/plugin-clipboard-manager": "2.0.0",
"@tauri-apps/plugin-dialog": "2.0.1",
"@tauri-apps/plugin-fs": "2.0.1",
"@tauri-apps/plugin-global-shortcut": "2.0.0",
"@tauri-apps/plugin-http": "2.0.1",
"@tauri-apps/plugin-notification": "2.0.0",
"@tauri-apps/plugin-os": "2.0.0",
"@tauri-apps/plugin-process": "2.0.0",
"@tauri-apps/plugin-shell": "2.0.1",
"@uiw/codemirror-extensions-langs": "4.23.6",
"@uiw/codemirror-themes": "4.23.6",
"@uiw/react-codemirror": "4.23.6",
"dayjs": "1.11.13",
"ky-universal": "0.12.0",
"lodash.debounce": "4.0.8",
"lodash.throttle": "4.1.1",
"numeral": "2.0.6",
"ramda": "0.30.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-hot-toast": "2.4.1",
"react-icons": "5.3.0",
"react-virtualized": "9.22.5",
"styled-components": "6.1.13",
"typescript": "5.6.3"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@commitlint/cli": "19.5.0",
"@commitlint/config-conventional": "19.5.0",
"@faker-js/faker": "9.1.0",
"@ivangabriele/biome-config": "1.5.0",
"@ivangabriele/commitlint-config": "2.0.3",
"@ivangabriele/tsconfig-react": "2.0.0",
"@storybook/addon-essentials": "8.4.1",
"@storybook/addon-interactions": "8.4.1",
"@storybook/addon-links": "8.4.1",
"@storybook/addon-themes": "8.4.1",
"@storybook/blocks": "8.4.1",
"@storybook/react": "8.4.1",
"@storybook/react-vite": "8.4.1",
"@storybook/test": "8.4.1",
"@swc/core": "1.7.42",
"@swc/jest": "0.2.37",
"@tauri-apps/cli": "^2.0.0-rc.15",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.0.1",
"@testing-library/react-hooks": "8.0.1",
"@testing-library/user-event": "14.5.2",
"@types/decompress": "4",
"@types/download": "8.0.5",
"@types/fs-extra": "11",
"@types/jest": "29.5.14",
"@types/lodash.debounce": "4.0.9",
"@types/node": "22.8.7",
"@types/numeral": "2.0.5",
"@types/ramda": "0.30.2",
"@types/react": "18.3.12",
"@types/react-dom": "18.3.1",
"@types/react-test-renderer": "^18",
"@types/shelljs": "0.8.15",
"@types/styled-components": "5.1.34",
"@vitejs/plugin-react": "4.3.3",
"@wdio/cli": "8.38.2",
"@wdio/local-runner": "8.38.2",
"@wdio/mocha-framework": "8.38.2",
"@wdio/spec-reporter": "8.38.2",
"bhala": "3.0.4",
"cross-env": "7.0.3",
"decompress": "4.2.1",
"del": "8.0.0",
"download": "8.0.0",
"esm-path": "1.0.1",
"execa": "9.5.1",
"fs-extra": "11.2.0",
"husky": "9.1.6",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"lint-staged": "15.2.10",
"make-dir-cli": "4.0.0",
"openpgp": "5.11.2",
"ora": "8.1.1",
"react-test-renderer": "18.3.1",
"shelljs": "0.8.5",
"storybook": "8.4.1",
"ts-node": "10.9.2",
"type-fest": "4.26.1",
"use-debounce": "10.0.4",
"vite": "5.4.10",
"vite-tsconfig-paths": "5.0.1",
"which": "5.0.0"
},
"resolutions": {
"ws": ">=8.17.1"
},
"lint-staged": {
"*.{cjs,cts,d.cts,d.mts,d.ts,js,json,jsonc,jsx,mjs,mts,ts,tson,tsx}": [
"biome check --files-ignore-unknown=true --no-errors-on-unmatched --write"
],
"*.{ts,tsx}": [
"bash -c 'npm run test:type'"
]
},
"pretter": "@ivangabriele/prettier-config",
"author": {
"name": "Ivan Gabriele",
"email": "[email protected]",
"url": "https://www.ivangabriele.com"
},
"browserslist": {
"production": [
"last 1 chrome version"
],
"development": [
"last 1 chrome version"
]
},
"packageManager": "[email protected]"
}