138 lines
4.8 KiB
JSON
138 lines
4.8 KiB
JSON
{
|
|
"name": "clash-verge",
|
|
"version": "2.4.3",
|
|
"license": "GPL-3.0-only",
|
|
"scripts": {
|
|
"prepare": "husky || true",
|
|
"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",
|
|
"build": "cross-env NODE_OPTIONS='--max-old-space-size=4096' tauri build",
|
|
"build:fast": "cross-env NODE_OPTIONS='--max-old-space-size=4096' tauri build -- --profile fast-release",
|
|
"tauri": "tauri",
|
|
"web:dev": "vite",
|
|
"web:build": "tsc --noEmit && vite build",
|
|
"web:serve": "vite preview",
|
|
"prebuild": "node scripts/prebuild.mjs",
|
|
"updater": "node scripts/updater.mjs",
|
|
"updater-fixed-webview2": "node scripts/updater-fixed-webview2.mjs",
|
|
"portable": "node scripts/portable.mjs",
|
|
"portable-fixed-webview2": "node scripts/portable-fixed-webview2.mjs",
|
|
"fix-alpha-version": "node scripts/fix-alpha_version.mjs",
|
|
"release-version": "node scripts/release-version.mjs",
|
|
"release:autobuild": "pnpm release-version autobuild",
|
|
"release:deploytest": "pnpm release-version deploytest",
|
|
"publish-version": "node scripts/publish-version.mjs",
|
|
"fmt": "cargo fmt --manifest-path ./src-tauri/Cargo.toml",
|
|
"clippy": "cargo clippy --all-features --all-targets --manifest-path ./src-tauri/Cargo.toml",
|
|
"lint": "eslint -c eslint.config.ts --cache --cache-location .eslintcache src",
|
|
"lint:fix": "eslint -c eslint.config.ts --cache --cache-location .eslintcache --fix src",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check .",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run"
|
|
},
|
|
"dependencies": {
|
|
"@dnd-kit/core": "^6.3.1",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@emotion/react": "^11.14.0",
|
|
"@emotion/styled": "^11.14.1",
|
|
"@juggle/resize-observer": "^3.4.0",
|
|
"@mui/icons-material": "^7.3.4",
|
|
"@mui/lab": "7.0.0-beta.17",
|
|
"@mui/material": "^7.3.4",
|
|
"@mui/x-data-grid": "^8.15.0",
|
|
"@tauri-apps/api": "2.9.0",
|
|
"@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",
|
|
"@tauri-apps/plugin-updater": "2.9.0",
|
|
"@types/json-schema": "^7.0.15",
|
|
"ahooks": "^3.9.6",
|
|
"axios": "^1.13.0",
|
|
"dayjs": "1.11.18",
|
|
"foxact": "^0.2.49",
|
|
"i18next": "^25.6.0",
|
|
"js-yaml": "^4.1.0",
|
|
"json-schema": "^0.4.0",
|
|
"lodash-es": "^4.17.21",
|
|
"monaco-editor": "^0.54.0",
|
|
"monaco-yaml": "^5.4.0",
|
|
"nanoid": "^5.1.6",
|
|
"react": "19.2.0",
|
|
"react-dom": "19.2.0",
|
|
"react-error-boundary": "6.0.0",
|
|
"react-hook-form": "^7.65.0",
|
|
"react-i18next": "16.2.1",
|
|
"react-markdown": "10.1.0",
|
|
"react-monaco-editor": "0.59.0",
|
|
"react-router": "^7.9.4",
|
|
"react-virtuoso": "^4.14.1",
|
|
"swr": "^2.3.6",
|
|
"tauri-plugin-mihomo-api": "git+https://github.com/clash-verge-rev/tauri-plugin-mihomo",
|
|
"types-pac": "^1.0.3",
|
|
"zustand": "^5.0.8"
|
|
},
|
|
"devDependencies": {
|
|
"@actions/github": "^6.0.1",
|
|
"@eslint-react/eslint-plugin": "^2.2.4",
|
|
"@eslint/js": "^9.38.0",
|
|
"@tauri-apps/cli": "2.9.1",
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@types/lodash-es": "^4.17.12",
|
|
"@types/node": "^24.9.1",
|
|
"@types/react": "19.2.2",
|
|
"@types/react-dom": "19.2.2",
|
|
"@vitejs/plugin-legacy": "^7.2.1",
|
|
"@vitejs/plugin-react": "5.1.0",
|
|
"adm-zip": "^0.5.16",
|
|
"cli-color": "^2.0.4",
|
|
"commander": "^14.0.2",
|
|
"cross-env": "^10.1.0",
|
|
"eslint": "^9.38.0",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
"eslint-plugin-import-x": "^4.16.1",
|
|
"eslint-plugin-prettier": "^5.5.4",
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
"eslint-plugin-react-refresh": "^0.4.24",
|
|
"eslint-plugin-unused-imports": "^4.3.0",
|
|
"glob": "^11.0.3",
|
|
"globals": "^16.4.0",
|
|
"https-proxy-agent": "^7.0.6",
|
|
"husky": "^9.1.7",
|
|
"jiti": "^2.6.1",
|
|
"lint-staged": "^16.2.6",
|
|
"meta-json-schema": "^1.19.14",
|
|
"node-fetch": "^3.3.2",
|
|
"prettier": "^3.6.2",
|
|
"sass": "^1.93.2",
|
|
"tar": "^7.5.1",
|
|
"terser": "^5.44.0",
|
|
"typescript": "^5.9.3",
|
|
"typescript-eslint": "^8.46.2",
|
|
"vite": "^7.1.12",
|
|
"vite-plugin-monaco-editor": "^1.1.0",
|
|
"vite-plugin-svgr": "^4.5.0",
|
|
"vitest": "^4.0.4"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js,jsx}": [
|
|
"eslint --fix",
|
|
"prettier --write",
|
|
"git add"
|
|
],
|
|
"*.{css,scss,json,md}": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"type": "module",
|
|
"packageManager": "pnpm@9.13.2"
|
|
}
|