mirror of
https://github.com/bolucat/Archive.git
synced 2025-12-24 13:28:37 +08:00
132 lines
5.2 KiB
JSON
132 lines
5.2 KiB
JSON
{
|
|
"name": "@nyanpasu/monorepo",
|
|
"version": "2.0.0",
|
|
"repository": "https://github.com/libnyanpasu/clash-nyanpasu.git",
|
|
"license": "GPL-3.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "run-p -r web:devtools tauri:dev",
|
|
"dev:diff": "run-p -r web:devtools tauri:diff",
|
|
"build": "tauri build",
|
|
"build:debug": "tauri build -f verge-dev deadlock-detection -d -c \"{ \\\"tauri\\\" : { \\\"updater\\\": { \\\"active\\\": false } }} \"",
|
|
"build:nightly": "tauri build -f nightly -c ./backend/tauri/tauri.nightly.conf.json",
|
|
"tauri": "tauri",
|
|
"tauri:dev": "tauri dev -c ./backend/tauri/tauri.conf.json",
|
|
"tauri:diff": "tauri dev -f verge-dev deadlock-detection -c ./backend/tauri/tauri.conf.json",
|
|
"tauri:preview": "pnpm prepare:preview && tauri dev -f verge-dev deadlock-detection -c ./backend/tauri/tauri.preview.conf.json",
|
|
"web:dev": "pnpm --filter=@nyanpasu/nyanpasu dev",
|
|
"web:build": "pnpm --filter=@nyanpasu/nyanpasu build",
|
|
"web:serve": "pnpm --filter=@nyanpasu/nyanpasu preview",
|
|
"web:visualize": "pnpm --filter=@nyanpasu/nyanpasu bundle:visualize",
|
|
"web:devtools": "pnpm react-devtools",
|
|
"lint": "run-s lint:*",
|
|
"lint:prettier": "prettier --check .",
|
|
"lint:eslint": "eslint --cache .",
|
|
"lint:styles": "stylelint --cache --allow-empty-input \"**/*.{css,scss}\"",
|
|
"lint:ts": "run-s lint:ts:*",
|
|
"lint:ts:scripts": "tsc --noEmit --project ./scripts/tsconfig.json",
|
|
"lint:ts:ui": "tsc --noEmit --project ./frontend/ui/tsconfig.json",
|
|
"lint:ts:interface": "tsc --noEmit --project ./frontend/interface/tsconfig.json",
|
|
"lint:ts:nyanpasu": "tsc --noEmit --project ./frontend/nyanpasu/tsconfig.json",
|
|
"lint:clippy": "cargo clippy --manifest-path ./backend/Cargo.toml --all-targets --all-features",
|
|
"lint:rustfmt": "cargo fmt --manifest-path ./backend/Cargo.toml --all -- --check",
|
|
"knip": "knip",
|
|
"test": "run-p test:*",
|
|
"test:backend": "cargo test --manifest-path ./backend/Cargo.toml --all-features",
|
|
"fmt": "run-p fmt:*",
|
|
"fmt:backend": "cargo fmt --manifest-path ./backend/Cargo.toml --all",
|
|
"fmt:prettier": "prettier --write .",
|
|
"check": "tsx scripts/check.ts",
|
|
"updater": "tsx scripts/updater.ts",
|
|
"updater:nightly": "tsx scripts/updater-nightly.ts",
|
|
"send-notify": "tsx scripts/telegram-notify.ts",
|
|
"send-notify:nightly": "tsx scripts/telegram-notify.ts --nightly",
|
|
"publish": "tsx scripts/publish.ts",
|
|
"portable": "tsx scripts/portable.ts",
|
|
"upload:osx-aarch64": "tsx scripts/osx-aarch64-upload.ts",
|
|
"generate:git-info": "tsx scripts/generate-git-info.ts",
|
|
"generate:manifest": "run-p generate:manifest:*",
|
|
"generate:manifest:latest-version": "tsx scripts/generate-latest-version.ts",
|
|
"prepare": "husky",
|
|
"prepare:nightly": "tsx scripts/prepare-nightly.ts",
|
|
"prepare:release": "tsx scripts/prepare-release.ts",
|
|
"prepare:preview": "tsx scripts/prepare-preview.ts"
|
|
},
|
|
"dependencies": {
|
|
"@prettier/plugin-oxc": "0.0.4",
|
|
"husky": "9.1.7",
|
|
"lodash-es": "4.17.21"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "20.1.0",
|
|
"@commitlint/config-conventional": "20.0.0",
|
|
"@eslint/compat": "1.4.1",
|
|
"@eslint/eslintrc": "3.3.1",
|
|
"@ianvs/prettier-plugin-sort-imports": "4.7.0",
|
|
"@tauri-apps/cli": "2.8.4",
|
|
"@types/fs-extra": "11.0.4",
|
|
"@types/lodash-es": "4.17.12",
|
|
"@types/node": "24.10.0",
|
|
"@typescript-eslint/eslint-plugin": "8.46.3",
|
|
"@typescript-eslint/parser": "8.46.3",
|
|
"autoprefixer": "10.4.22",
|
|
"conventional-changelog-conventionalcommits": "9.1.0",
|
|
"cross-env": "10.1.0",
|
|
"dedent": "1.7.0",
|
|
"eslint": "9.39.1",
|
|
"eslint-config-prettier": "10.1.8",
|
|
"eslint-import-resolver-alias": "1.1.2",
|
|
"eslint-plugin-html": "8.1.3",
|
|
"eslint-plugin-import": "2.32.0",
|
|
"eslint-plugin-n": "17.23.1",
|
|
"eslint-plugin-prettier": "5.5.4",
|
|
"eslint-plugin-promise": "7.2.1",
|
|
"eslint-plugin-react": "7.37.5",
|
|
"eslint-plugin-react-compiler": "19.1.0-rc.2",
|
|
"eslint-plugin-react-hooks": "7.0.1",
|
|
"globals": "16.5.0",
|
|
"knip": "5.68.0",
|
|
"lint-staged": "16.2.6",
|
|
"neostandard": "0.12.2",
|
|
"npm-run-all2": "8.0.4",
|
|
"postcss": "8.5.6",
|
|
"postcss-html": "1.8.0",
|
|
"postcss-import": "16.1.1",
|
|
"postcss-scss": "4.0.9",
|
|
"prettier": "3.6.2",
|
|
"prettier-plugin-ember-template-tag": "2.1.0",
|
|
"prettier-plugin-tailwindcss": "0.7.1",
|
|
"prettier-plugin-toml": "2.0.6",
|
|
"react-devtools": "7.0.1",
|
|
"stylelint": "16.25.0",
|
|
"stylelint-config-html": "1.1.0",
|
|
"stylelint-config-recess-order": "7.4.0",
|
|
"stylelint-config-standard": "39.0.1",
|
|
"stylelint-declaration-block-no-ignored-properties": "2.8.0",
|
|
"stylelint-order": "7.0.0",
|
|
"stylelint-scss": "6.12.1",
|
|
"tailwindcss": "4.1.17",
|
|
"tsx": "4.20.6",
|
|
"typescript": "5.9.3",
|
|
"typescript-eslint": "8.46.3"
|
|
},
|
|
"packageManager": "pnpm@10.20.0",
|
|
"engines": {
|
|
"node": "22.21.1"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"vite-plugin-monaco-editor": "npm:vite-plugin-monaco-editor-new@1.1.3",
|
|
"material-react-table": "npm:@greenhat616/material-react-table@4.0.0"
|
|
},
|
|
"onlyBuiltDependencies": [
|
|
"@swc/core",
|
|
"@tailwindcss/oxide",
|
|
"core-js",
|
|
"esbuild",
|
|
"meta-json-schema",
|
|
"oxc-resolver"
|
|
]
|
|
}
|
|
}
|