accounts/dashboard/package.json
Haitao Pan f3d0a7f931 fix(dashboard): resolve npm run build errors
- Fix module path in prebuild script (../../scripts → ../scripts)
- Update API routes to use Promise-based params for Next.js 16
- Install @types/sanitize-html and @types/js-yaml
- Fix component prop naming (loading → isLoading, saving → isSaving, etc.)
- Update VLESS config type definition with missing 'id' property
- Fix TypeScript type conflicts and export declarations

🤖 Generated with [Claude Code](https://claude.com/claude-code)
2025-11-06 11:07:30 +08:00

63 lines
1.7 KiB
JSON

{
"name": "cloudnative-dashboard",
"version": "1.0.0",
"private": true,
"engines": {
"node": ">=18.17 <23"
},
"scripts": {
"dev": "next dev --turbo",
"prebuild": "tsx ../scripts/export-slugs.ts && tsx ../scripts/scan-md.ts && tsx ../scripts/fetch-dl-index.ts",
"build": "next build",
"build:static": "npm run prebuild && next build",
"start": "next start",
"lint": "next lint",
"test": "vitest run",
"test:unit": "vitest run",
"test:e2e": "playwright test"
},
"dependencies": {
"dompurify": "^3.2.6",
"gray-matter": "^4.0.3",
"js-yaml": "^4.1.0",
"lucide-react": "^0.319.0",
"marked": "^16.1.2",
"next": "^16.0.1",
"pdfjs-dist": "^4.2.67",
"prop-types": "^15.8.1",
"qr.js": "0.0.0",
"qrcode": "^1.5.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-grid-layout": "^1.4.4",
"react-pdf": "^9.1.0",
"react-resizable": "^3.0.4",
"sanitize-html": "^2.13.0",
"swr": "^2.3.0",
"zustand": "^4.5.4"
},
"devDependencies": {
"@playwright/test": "^1.49.1",
"@tailwindcss/typography": "^0.5.19",
"@testing-library/dom": "^9.3.1",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^14.3.1",
"@testing-library/user-event": "^14.6.1",
"@types/js-yaml": "^4.0.9",
"@types/node": "24.0.3",
"@types/react": "19.1.8",
"@types/react-grid-layout": "^1.3.5",
"@types/sanitize-html": "^2.16.0",
"autoprefixer": "^10.4.16",
"eslint": "8.57.0",
"eslint-config-next": "^15.5.3",
"jsdom": "^24.0.0",
"postcss": "^8.4.32",
"tailwindcss": "^3.4.3",
"tsconfig-paths-webpack-plugin": "^4.2.0",
"tsx": "^4.7.1",
"typescript": "^5.4.2",
"vitest": "^4.0.7"
}
}