mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-14 14:52:08 +08:00
* chore(perf): use the external measurement harness Keep real Traffic, Logs and Connections scenes and the isolated native entry beside product APIs. Invoke the standalone runner with an explicit project path and remove bundled measurement orchestration. Support the optional owned virtual display and read-only isolation snapshots without changing ordinary product startup or networking. * docs: scope agent guidance to the active task Keep behavior and ownership guidance with the relevant task routes, including the external performance adapter workflow. Preserve focused self-review for routine changes and independent review where required. * docs(perf): link the standalone harness repository Link the harness repository and operating guide, and document first-time checkout setup while preserving explicit paths for routine invocation. * fix(perf): account for external harness dependencies in Knip * chore(perf): keep tool dependencies and guidance outside the product * docs(perf): keep product guidance focused on the adapter
143 lines
4.9 KiB
JSON
143 lines
4.9 KiB
JSON
{
|
|
"name": "clash-verge",
|
|
"version": "2.6.0",
|
|
"license": "GPL-3.0-only",
|
|
"scripts": {
|
|
"prepare": "husky || true",
|
|
"dev": "node scripts/dev.mjs dev",
|
|
"dev:service": "node scripts/dev.mjs service",
|
|
"dev:sidecar": "node scripts/dev.mjs sidecar",
|
|
"dev:diff": "node scripts/dev.mjs dev",
|
|
"dev:trace": "node scripts/dev.mjs 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": "tsrs -p . --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",
|
|
"release-version": "node scripts/release-version.mjs",
|
|
"release:autobuild": "pnpm release-version autobuild",
|
|
"release:deploytest": "pnpm release-version deploytest",
|
|
"eslint": "pnpm lint",
|
|
"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",
|
|
"format": "biome format --write .",
|
|
"format:check": "biome format .",
|
|
"i18n:check": "node scripts/cleanup-unused-i18n.mjs",
|
|
"i18n:format": "node scripts/cleanup-unused-i18n.mjs --align --apply",
|
|
"i18n:types": "node scripts/generate-i18n-keys.mjs",
|
|
"gen:contract": "node scripts/gen-contract.mjs",
|
|
"arch:check": "node scripts/check-architecture.mjs listen emit invoke",
|
|
"typecheck": "tsrs -p . --noEmit",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"knip:check": "knip",
|
|
"knip:report": "knip --no-exit-code"
|
|
},
|
|
"dependencies": {
|
|
"@dnd-kit/collision": "^0.5.0",
|
|
"@dnd-kit/dom": "^0.5.0",
|
|
"@dnd-kit/helpers": "^0.5.0",
|
|
"@dnd-kit/react": "^0.5.0",
|
|
"@emotion/react": "^11.14.0",
|
|
"@emotion/styled": "^11.14.1",
|
|
"@juggle/resize-observer": "^3.4.0",
|
|
"@monaco-editor/react": "^4.7.0",
|
|
"@mui/icons-material": "^9.4.0",
|
|
"@mui/material": "^9.4.0",
|
|
"@tanstack/react-virtual": "^3.14.13",
|
|
"@tauri-apps/api": "2.12.4",
|
|
"@tauri-apps/plugin-clipboard-manager": "2.5.0",
|
|
"@tauri-apps/plugin-dialog": "2.8.4",
|
|
"@tauri-apps/plugin-fs": "2.7.1",
|
|
"@tauri-apps/plugin-http": "2.9.0",
|
|
"@tauri-apps/plugin-opener": "2.7.3",
|
|
"@tauri-apps/plugin-updater": "2.14.1",
|
|
"ahooks": "^3.10.0",
|
|
"cidr-block": "^2.3.0",
|
|
"compare-versions": "^6.1.1",
|
|
"dayjs": "1.11.23",
|
|
"foxact": "^0.3.12",
|
|
"foxts": "^5.9.1",
|
|
"i18next": "^27.0.0",
|
|
"js-yaml": "^5.4.2",
|
|
"lodash-es": "^4.18.1",
|
|
"meta-json-schema": "^1.19.31",
|
|
"monaco-editor": "^0.57.0",
|
|
"monaco-yaml": "^5.5.1",
|
|
"nanoid": "^6.0.1",
|
|
"qrcode.react": "^4.2.0",
|
|
"react": "19.3.1",
|
|
"react-dom": "19.3.1",
|
|
"react-error-boundary": "6.1.6",
|
|
"react-hook-form": "^7.88.0",
|
|
"react-i18next": "18.0.1",
|
|
"react-markdown": "10.1.0",
|
|
"react-router": "^8.4.0",
|
|
"rehype-raw": "^7.0.0",
|
|
"rehype-sanitize": "^6.0.0",
|
|
"swr": "^2.5.1",
|
|
"tauri-plugin-mihomo-api": "github:clash-verge-rev/tauri-plugin-mihomo#main",
|
|
"types-pac": "^1.0.3",
|
|
"validator": "^13.15.35"
|
|
},
|
|
"devDependencies": {
|
|
"@actions/github": "^9.1.1",
|
|
"@biomejs/biome": "^2.5.14",
|
|
"@eslint-react/eslint-plugin": "^5.20.5",
|
|
"@eslint/js": "^10.0.1",
|
|
"@tauri-apps/cli": "2.12.4",
|
|
"@types/lodash-es": "^4.17.12",
|
|
"@types/node": "^26.0.0",
|
|
"@types/react": "19.3.0",
|
|
"@types/react-dom": "19.3.0",
|
|
"@types/validator": "^13.15.10",
|
|
"@vitejs/plugin-legacy": "^8.2.3",
|
|
"@vitejs/plugin-react": "^6.1.1",
|
|
"adm-zip": "^0.6.1",
|
|
"axios": "^1.20.0",
|
|
"cli-color": "^2.0.4",
|
|
"commander": "^15.0.0",
|
|
"cross-env": "^10.1.0",
|
|
"eslint": "^10.11.0",
|
|
"eslint-import-resolver-typescript": "^4.4.5",
|
|
"eslint-plugin-es-x": "^10.0.1",
|
|
"eslint-plugin-import-x": "^4.17.1",
|
|
"eslint-plugin-react-compiler": "19.1.0-rc.2",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"eslint-plugin-react-refresh": "^0.5.7",
|
|
"eslint-plugin-sukka": "^10.2.0",
|
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
"globals": "^17.12.0",
|
|
"https-proxy-agent": "^9.1.0",
|
|
"husky": "^9.1.7",
|
|
"jiti": "^2.7.0",
|
|
"knip": "6.45.1",
|
|
"lint-staged": "^17.5.1",
|
|
"sass": "^1.104.1",
|
|
"tar": "^7.5.22",
|
|
"terser": "^5.51.2",
|
|
"tsrs": "0.20.0-ts7.1.0-beta",
|
|
"typescript": "^6.0.3",
|
|
"typescript-eslint": "^8.70.0",
|
|
"vite": "^8.3.0",
|
|
"vite-plugin-svgr": "^5.2.0",
|
|
"vitest": "^5.0.1"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js,mjs}": [
|
|
"eslint --fix --max-warnings=0",
|
|
"biome format --write"
|
|
],
|
|
"*.{css,json}": [
|
|
"biome format --write --no-errors-on-unmatched"
|
|
]
|
|
},
|
|
"type": "module",
|
|
"packageManager": "pnpm@12.18.0"
|
|
}
|