2021-12-04 14:31:26 +08:00
|
|
|
{
|
|
|
|
|
"name": "clash-verge",
|
2025-09-07 12:06:01 +08:00
|
|
|
"version": "2.4.3",
|
2024-02-02 16:56:39 +08:00
|
|
|
"license": "GPL-3.0-only",
|
2021-12-04 14:31:26 +08:00
|
|
|
"scripts": {
|
2025-10-09 05:10:03 +08:00
|
|
|
"prepare": "husky || true",
|
2025-09-20 00:04:46 +08:00
|
|
|
"dev": "cross-env RUST_BACKTRACE=full tauri dev -f verge-dev",
|
|
|
|
|
"dev:diff": "cross-env RUST_BACKTRACE=full tauri dev -f verge-dev",
|
|
|
|
|
"dev:trace": "cross-env RUST_BACKTRACE=full RUSTFLAGS=\"--cfg tokio_unstable\" tauri dev -f verge-dev tokio-trace",
|
|
|
|
|
"dev:tauri": "cross-env RUST_BACKTRACE=full tauri dev -f tauri-dev",
|
2024-10-18 22:30:29 +08:00
|
|
|
"build": "cross-env NODE_OPTIONS='--max-old-space-size=4096' tauri build",
|
2025-03-02 14:58:59 +08:00
|
|
|
"build:fast": "cross-env NODE_OPTIONS='--max-old-space-size=4096' tauri build -- --profile fast-release",
|
2022-01-08 02:12:12 +08:00
|
|
|
"tauri": "tauri",
|
2021-12-08 23:34:23 +08:00
|
|
|
"web:dev": "vite",
|
2024-11-19 04:42:37 +08:00
|
|
|
"web:build": "tsc --noEmit && vite build",
|
2021-12-24 01:58:15 +08:00
|
|
|
"web:serve": "vite preview",
|
2025-06-18 01:11:33 +08:00
|
|
|
"prebuild": "node scripts/prebuild.mjs",
|
2022-04-05 23:24:52 +08:00
|
|
|
"updater": "node scripts/updater.mjs",
|
2024-05-06 13:49:12 +08:00
|
|
|
"updater-fixed-webview2": "node scripts/updater-fixed-webview2.mjs",
|
2022-04-13 01:17:40 +08:00
|
|
|
"portable": "node scripts/portable.mjs",
|
2024-05-06 19:13:08 +08:00
|
|
|
"portable-fixed-webview2": "node scripts/portable-fixed-webview2.mjs",
|
2025-03-22 05:11:32 +08:00
|
|
|
"fix-alpha-version": "node scripts/fix-alpha_version.mjs",
|
2025-06-02 13:57:18 +08:00
|
|
|
"release-version": "node scripts/release-version.mjs",
|
2025-07-25 18:25:40 +08:00
|
|
|
"release:autobuild": "pnpm release-version autobuild",
|
|
|
|
|
"release:deploytest": "pnpm release-version deploytest",
|
2025-06-02 22:23:04 +08:00
|
|
|
"publish-version": "node scripts/publish-version.mjs",
|
2025-05-20 22:58:05 +08:00
|
|
|
"fmt": "cargo fmt --manifest-path ./src-tauri/Cargo.toml",
|
2025-10-10 13:05:59 +08:00
|
|
|
"clippy": "cargo clippy --all-features --all-targets --manifest-path ./src-tauri/Cargo.toml",
|
2025-11-01 09:49:52 +08:00
|
|
|
"lint": "eslint -c eslint.config.ts --max-warnings=0 --cache --cache-location .eslintcache src",
|
|
|
|
|
"lint:fix": "eslint -c eslint.config.ts --max-warnings=0 --cache --cache-location .eslintcache --fix src",
|
2025-06-06 21:11:14 +08:00
|
|
|
"format": "prettier --write .",
|
2025-10-07 17:32:49 +08:00
|
|
|
"format:check": "prettier --check .",
|
2025-10-18 15:51:34 +08:00
|
|
|
"typecheck": "tsc --noEmit",
|
|
|
|
|
"test": "vitest run"
|
2021-12-04 14:31:26 +08:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2025-01-02 15:02:07 +08:00
|
|
|
"@dnd-kit/core": "^6.3.1",
|
2025-02-04 09:07:23 +08:00
|
|
|
"@dnd-kit/sortable": "^10.0.0",
|
2023-11-29 08:54:02 +08:00
|
|
|
"@dnd-kit/utilities": "^3.2.2",
|
2025-01-02 15:02:07 +08:00
|
|
|
"@emotion/react": "^11.14.0",
|
2025-06-26 22:33:58 +08:00
|
|
|
"@emotion/styled": "^11.14.1",
|
2022-12-08 10:47:42 +08:00
|
|
|
"@juggle/resize-observer": "^3.4.0",
|
2025-11-04 22:59:44 +08:00
|
|
|
"@mui/icons-material": "^7.3.5",
|
2025-09-06 14:11:30 +08:00
|
|
|
"@mui/lab": "7.0.0-beta.17",
|
2025-11-04 22:59:44 +08:00
|
|
|
"@mui/material": "^7.3.5",
|
2025-10-30 10:24:35 +08:00
|
|
|
"@mui/x-data-grid": "^8.16.0",
|
2025-10-20 22:19:00 +08:00
|
|
|
"@tauri-apps/api": "2.9.0",
|
2025-10-27 20:38:17 +08:00
|
|
|
"@tauri-apps/plugin-clipboard-manager": "^2.3.2",
|
|
|
|
|
"@tauri-apps/plugin-dialog": "^2.4.2",
|
|
|
|
|
"@tauri-apps/plugin-fs": "^2.4.4",
|
|
|
|
|
"@tauri-apps/plugin-http": "~2.5.4",
|
|
|
|
|
"@tauri-apps/plugin-process": "^2.3.1",
|
|
|
|
|
"@tauri-apps/plugin-shell": "2.3.3",
|
2025-06-26 22:33:58 +08:00
|
|
|
"@tauri-apps/plugin-updater": "2.9.0",
|
2024-04-19 15:55:46 +08:00
|
|
|
"@types/json-schema": "^7.0.15",
|
2025-10-27 13:06:15 +08:00
|
|
|
"ahooks": "^3.9.6",
|
2025-11-05 12:13:07 +08:00
|
|
|
"axios": "^1.13.2",
|
2025-10-31 13:36:35 +08:00
|
|
|
"dayjs": "1.11.19",
|
2025-06-12 21:55:54 +08:00
|
|
|
"foxact": "^0.2.49",
|
2025-10-11 13:14:56 +08:00
|
|
|
"i18next": "^25.6.0",
|
2024-06-30 12:46:31 +08:00
|
|
|
"js-yaml": "^4.1.0",
|
2025-06-28 18:37:53 +08:00
|
|
|
"json-schema": "^0.4.0",
|
2023-03-16 20:32:41 +08:00
|
|
|
"lodash-es": "^4.17.21",
|
2025-10-07 07:53:24 +08:00
|
|
|
"monaco-editor": "^0.54.0",
|
2025-06-05 14:56:25 +08:00
|
|
|
"monaco-yaml": "^5.4.0",
|
2025-09-23 14:02:37 +08:00
|
|
|
"nanoid": "^5.1.6",
|
chore(deps): update npm dependencies (#4939)
* chore(deps): update npm dependencies
* Refactor components to use function syntax instead of forwardRef for better type handling and clarity. Updated imports and adjusted prop types accordingly across multiple viewer components including TrafficGraph, ProfileViewer, BackupViewer, ClashCoreViewer, ControllerViewer, DnsViewer, LiteModeViewer, NetworkInterfaceViewer, ThemeViewer, TunViewer, UpdateViewer, and WebUIViewer.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tunglies <77394545+Tunglies@users.noreply.github.com>
2025-10-04 20:26:10 +08:00
|
|
|
"react": "19.2.0",
|
|
|
|
|
"react-dom": "19.2.0",
|
2025-05-14 10:47:33 +08:00
|
|
|
"react-error-boundary": "6.0.0",
|
2025-11-01 19:42:34 +08:00
|
|
|
"react-hook-form": "^7.66.0",
|
2025-11-04 12:00:47 +08:00
|
|
|
"react-i18next": "16.2.4",
|
2025-05-14 10:47:33 +08:00
|
|
|
"react-markdown": "10.1.0",
|
2025-07-25 17:58:20 +08:00
|
|
|
"react-monaco-editor": "0.59.0",
|
2025-10-30 10:24:35 +08:00
|
|
|
"react-router": "^7.9.5",
|
2025-09-28 19:51:10 +08:00
|
|
|
"react-virtuoso": "^4.14.1",
|
2025-08-13 16:09:56 +08:00
|
|
|
"swr": "^2.3.6",
|
2025-10-18 15:51:34 +08:00
|
|
|
"tauri-plugin-mihomo-api": "git+https://github.com/clash-verge-rev/tauri-plugin-mihomo",
|
2025-10-31 16:55:52 +08:00
|
|
|
"types-pac": "^1.0.3"
|
2021-12-04 14:31:26 +08:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2025-06-05 14:56:25 +08:00
|
|
|
"@actions/github": "^6.0.1",
|
2025-11-02 18:27:58 +08:00
|
|
|
"@eslint-react/eslint-plugin": "^2.3.1",
|
2025-11-04 12:00:47 +08:00
|
|
|
"@eslint/js": "^9.39.1",
|
2025-11-05 12:13:07 +08:00
|
|
|
"@tauri-apps/cli": "2.9.3",
|
2024-06-30 12:46:31 +08:00
|
|
|
"@types/js-yaml": "^4.0.9",
|
2023-12-01 14:49:32 +08:00
|
|
|
"@types/lodash-es": "^4.17.12",
|
2025-11-03 12:40:35 +08:00
|
|
|
"@types/node": "^24.10.0",
|
2025-10-07 16:38:32 +08:00
|
|
|
"@types/react": "19.2.2",
|
2025-10-14 09:02:49 +08:00
|
|
|
"@types/react-dom": "19.2.2",
|
2025-08-08 23:48:55 +08:00
|
|
|
"@vitejs/plugin-legacy": "^7.2.1",
|
2025-10-30 10:19:29 +08:00
|
|
|
"@vitejs/plugin-react-swc": "^4.2.0",
|
2024-11-12 19:06:04 +08:00
|
|
|
"adm-zip": "^0.5.16",
|
2025-09-18 19:35:14 +08:00
|
|
|
"cli-color": "^2.0.4",
|
2025-10-25 21:19:05 +08:00
|
|
|
"commander": "^14.0.2",
|
chore(deps): update npm dependencies (#4939)
* chore(deps): update npm dependencies
* Refactor components to use function syntax instead of forwardRef for better type handling and clarity. Updated imports and adjusted prop types accordingly across multiple viewer components including TrafficGraph, ProfileViewer, BackupViewer, ClashCoreViewer, ControllerViewer, DnsViewer, LiteModeViewer, NetworkInterfaceViewer, ThemeViewer, TunViewer, UpdateViewer, and WebUIViewer.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tunglies <77394545+Tunglies@users.noreply.github.com>
2025-10-04 20:26:10 +08:00
|
|
|
"cross-env": "^10.1.0",
|
2025-11-04 12:00:47 +08:00
|
|
|
"eslint": "^9.39.1",
|
2025-09-18 23:34:21 +08:00
|
|
|
"eslint-config-prettier": "^10.1.8",
|
2025-09-19 00:01:04 +08:00
|
|
|
"eslint-import-resolver-typescript": "^4.4.4",
|
2025-09-24 13:25:22 +08:00
|
|
|
"eslint-plugin-import-x": "^4.16.1",
|
2025-09-18 23:34:21 +08:00
|
|
|
"eslint-plugin-prettier": "^5.5.4",
|
2025-10-25 09:59:54 +08:00
|
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
2025-10-15 18:20:00 +08:00
|
|
|
"eslint-plugin-react-refresh": "^0.4.24",
|
2025-10-20 12:54:57 +08:00
|
|
|
"eslint-plugin-unused-imports": "^4.3.0",
|
2025-09-18 19:35:14 +08:00
|
|
|
"glob": "^11.0.3",
|
2025-11-01 19:42:34 +08:00
|
|
|
"globals": "^16.5.0",
|
2025-01-02 15:02:07 +08:00
|
|
|
"https-proxy-agent": "^7.0.6",
|
2025-10-09 05:10:03 +08:00
|
|
|
"husky": "^9.1.7",
|
chore(deps): update npm dependencies (#4939)
* chore(deps): update npm dependencies
* Refactor components to use function syntax instead of forwardRef for better type handling and clarity. Updated imports and adjusted prop types accordingly across multiple viewer components including TrafficGraph, ProfileViewer, BackupViewer, ClashCoreViewer, ControllerViewer, DnsViewer, LiteModeViewer, NetworkInterfaceViewer, ThemeViewer, TunViewer, UpdateViewer, and WebUIViewer.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tunglies <77394545+Tunglies@users.noreply.github.com>
2025-10-04 20:26:10 +08:00
|
|
|
"jiti": "^2.6.1",
|
2025-10-23 13:18:51 +08:00
|
|
|
"lint-staged": "^16.2.6",
|
chore(deps): update npm dependencies (#4939)
* chore(deps): update npm dependencies
* Refactor components to use function syntax instead of forwardRef for better type handling and clarity. Updated imports and adjusted prop types accordingly across multiple viewer components including TrafficGraph, ProfileViewer, BackupViewer, ClashCoreViewer, ControllerViewer, DnsViewer, LiteModeViewer, NetworkInterfaceViewer, ThemeViewer, TunViewer, UpdateViewer, and WebUIViewer.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tunglies <77394545+Tunglies@users.noreply.github.com>
2025-10-04 20:26:10 +08:00
|
|
|
"meta-json-schema": "^1.19.14",
|
2023-12-01 14:49:32 +08:00
|
|
|
"node-fetch": "^3.3.2",
|
2025-06-27 23:48:18 +08:00
|
|
|
"prettier": "^3.6.2",
|
2025-10-31 22:54:52 +08:00
|
|
|
"sass": "^1.93.3",
|
2025-10-31 10:46:42 +08:00
|
|
|
"tar": "^7.5.2",
|
2025-09-06 14:11:30 +08:00
|
|
|
"terser": "^5.44.0",
|
chore(deps): update npm dependencies (#4939)
* chore(deps): update npm dependencies
* Refactor components to use function syntax instead of forwardRef for better type handling and clarity. Updated imports and adjusted prop types accordingly across multiple viewer components including TrafficGraph, ProfileViewer, BackupViewer, ClashCoreViewer, ControllerViewer, DnsViewer, LiteModeViewer, NetworkInterfaceViewer, ThemeViewer, TunViewer, UpdateViewer, and WebUIViewer.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tunglies <77394545+Tunglies@users.noreply.github.com>
2025-10-04 20:26:10 +08:00
|
|
|
"typescript": "^5.9.3",
|
2025-11-04 12:00:47 +08:00
|
|
|
"typescript-eslint": "^8.46.3",
|
2025-10-23 16:25:38 +08:00
|
|
|
"vite": "^7.1.12",
|
2025-10-31 16:55:52 +08:00
|
|
|
"vite-plugin-monaco-editor-esm": "^2.0.2",
|
2025-10-18 15:51:34 +08:00
|
|
|
"vite-plugin-svgr": "^4.5.0",
|
2025-11-05 12:13:07 +08:00
|
|
|
"vitest": "^4.0.7"
|
2021-12-25 17:04:55 +08:00
|
|
|
},
|
2025-10-09 10:29:20 +08:00
|
|
|
"lint-staged": {
|
|
|
|
|
"*.{ts,tsx,js,jsx}": [
|
2025-11-01 09:49:52 +08:00
|
|
|
"eslint --fix --max-warnings=0",
|
2025-10-09 10:29:20 +08:00
|
|
|
"prettier --write",
|
|
|
|
|
"git add"
|
|
|
|
|
],
|
|
|
|
|
"*.{css,scss,json,md}": [
|
|
|
|
|
"prettier --write",
|
|
|
|
|
"git add"
|
|
|
|
|
]
|
|
|
|
|
},
|
2024-11-18 01:21:00 +08:00
|
|
|
"type": "module",
|
2025-06-13 14:21:07 +08:00
|
|
|
"packageManager": "pnpm@9.13.2"
|
2025-06-05 20:56:15 +08:00
|
|
|
}
|