2026-07-18 20:34:47 +08:00
|
|
|
{
|
|
|
|
|
"name": "astrbot-desktop",
|
2026-07-18 23:37:29 +08:00
|
|
|
"version": "0.1.0-alpha.1",
|
2026-07-18 20:34:47 +08:00
|
|
|
"private": true,
|
|
|
|
|
"type": "module",
|
|
|
|
|
"packageManager": "pnpm@11.9.0",
|
|
|
|
|
"engines": {
|
|
|
|
|
"node": ">=24.17.0 <25",
|
|
|
|
|
"pnpm": ">=11.9.0 <12"
|
|
|
|
|
},
|
|
|
|
|
"scripts": {
|
|
|
|
|
"dev": "node ./node_modules/vite/bin/vite.js --configLoader runner",
|
|
|
|
|
"tauri": "node ./node_modules/@tauri-apps/cli/tauri.js",
|
|
|
|
|
"tauri:dev": "node ./node_modules/@tauri-apps/cli/tauri.js dev",
|
|
|
|
|
"tauri:build": "node ./node_modules/@tauri-apps/cli/tauri.js build",
|
|
|
|
|
"build": "node ./node_modules/typescript/bin/tsc -b && node ./node_modules/vite/bin/vite.js build --configLoader runner",
|
|
|
|
|
"format": "node ./node_modules/prettier/bin/prettier.cjs --write .",
|
|
|
|
|
"format:check": "node ./node_modules/prettier/bin/prettier.cjs --check .",
|
|
|
|
|
"lint": "node ./node_modules/eslint/bin/eslint.js . --max-warnings 0",
|
|
|
|
|
"typecheck": "node ./node_modules/typescript/bin/tsc -b --pretty false",
|
|
|
|
|
"test": "node ./node_modules/vitest/vitest.mjs run --configLoader runner",
|
|
|
|
|
"test:watch": "node ./node_modules/vitest/vitest.mjs --configLoader runner",
|
|
|
|
|
"pretest:e2e": "node ./node_modules/typescript/bin/tsc -b && node ./node_modules/vite/bin/vite.js build --configLoader runner",
|
|
|
|
|
"test:e2e": "node ./node_modules/@playwright/test/cli.js test",
|
|
|
|
|
"check:frontend": "node ./node_modules/prettier/bin/prettier.cjs --check . && node ./node_modules/eslint/bin/eslint.js . --max-warnings 0 && node ./node_modules/typescript/bin/tsc -b --pretty false && node ./node_modules/vitest/vitest.mjs run --configLoader runner && node ./node_modules/vite/bin/vite.js build --configLoader runner",
|
|
|
|
|
"rust:fmt": "cargo fmt --all -- --check",
|
|
|
|
|
"rust:check": "cargo check --workspace --all-targets",
|
|
|
|
|
"rust:clippy": "cargo clippy --workspace --all-targets -- -D warnings",
|
|
|
|
|
"rust:test": "cargo test --workspace",
|
|
|
|
|
"mock:dev": "cargo run -p mock-gateway -- --instance companion --port 43101",
|
|
|
|
|
"mock:test": "cargo test -p mock-gateway",
|
|
|
|
|
"check:rust": "cargo fmt --all -- --check && cargo clippy --workspace --all-targets -- -D warnings && cargo test --workspace && cargo check --workspace --all-targets"
|
|
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"@tauri-apps/api": "2.11.1",
|
|
|
|
|
"react": "19.2.7",
|
|
|
|
|
"react-dom": "19.2.7",
|
|
|
|
|
"zod": "4.4.3"
|
|
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
"@eslint/js": "10.0.1",
|
|
|
|
|
"@playwright/test": "1.61.1",
|
|
|
|
|
"@tauri-apps/cli": "2.11.4",
|
|
|
|
|
"@testing-library/jest-dom": "6.9.1",
|
|
|
|
|
"@testing-library/react": "16.3.2",
|
|
|
|
|
"@types/node": "24.13.3",
|
|
|
|
|
"@types/react": "19.2.17",
|
|
|
|
|
"@types/react-dom": "19.2.3",
|
|
|
|
|
"@vitejs/plugin-react": "6.0.3",
|
|
|
|
|
"eslint": "10.7.0",
|
|
|
|
|
"eslint-plugin-react-hooks": "7.1.1",
|
|
|
|
|
"eslint-plugin-react-refresh": "0.5.3",
|
|
|
|
|
"globals": "17.5.0",
|
|
|
|
|
"jsdom": "29.1.1",
|
|
|
|
|
"prettier": "3.9.5",
|
|
|
|
|
"typescript": "6.0.3",
|
|
|
|
|
"typescript-eslint": "8.64.0",
|
|
|
|
|
"vite": "8.1.5",
|
|
|
|
|
"vitest": "4.1.10"
|
|
|
|
|
}
|
|
|
|
|
}
|