chore: cleanup package.json and automate api type generation

This commit is contained in:
bipproduction
2026-02-08 12:53:36 +08:00
parent 0f71798389
commit f86ac66820
10 changed files with 217 additions and 233 deletions

View File

@@ -4,10 +4,7 @@
"private": true,
"type": "module",
"scripts": {
"dev": "REACT_EDITOR=antigravity bun --hot src/index.ts",
"vite:dev": "bun vite-config.ts",
"vite:build": "bun vite-config.ts build",
"vite:preview": "bun vite-config.ts preview",
"dev": "bun run gen:api && REACT_EDITOR=antigravity bun --hot src/index.ts",
"lint": "biome check .",
"check": "biome check --write .",
"format": "biome format --write .",
@@ -48,15 +45,11 @@
"@playwright/test": "^1.58.2",
"@react-dev-inspector/vite-plugin": "^2.0.1",
"@tanstack/react-router-devtools": "^1.158.1",
"@tanstack/router-cli": "^1.157.16",
"@tanstack/router-plugin": "^1.157.16",
"@tanstack/router-vite-plugin": "^1.158.1",
"@types/bun": "latest",
"@types/react": "^19",
"@types/react-dom": "^19",
"@vitejs/plugin-react": "^5.1.3",
"concurrently": "^9.2.1",
"fast-glob": "^3.3.3",
"openapi-typescript": "^7.10.1",
"postcss": "^8.5.6",
"postcss-preset-mantine": "^1.18.0",