- Add user management with roles and permissions (RBAC) - Implement OAuth2 service provider supporting 4 grant types: authorization_code, password, client_credentials, refresh_token - Add JWT authentication with 7-day expiry - Add admin API for users, roles and OAuth clients management - Add CLI tool for user management (scripts/user-cli.js) - Add collapsible sidebar layout with login dialog - Add user management page and OAuth client management page - Add server middleware for auth token verification - Add seed script for initial data (admin/admin123)
38 lines
1.0 KiB
JSON
38 lines
1.0 KiB
JSON
{
|
|
"name": "sport-meeting-admin-sys",
|
|
"type": "module",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "nuxt build",
|
|
"dev": "nuxt dev",
|
|
"generate": "nuxt generate",
|
|
"preview": "nuxt preview",
|
|
"postinstall": "nuxt prepare",
|
|
"user:cli": "node scripts/user-cli.js",
|
|
"user:init": "node scripts/user-cli.js init"
|
|
},
|
|
"dependencies": {
|
|
"@element-plus/nuxt": "1.0.10",
|
|
"@pinia/nuxt": "0.11.3",
|
|
"bcryptjs": "^3.0.3",
|
|
"better-sqlite3": "^12.8.0",
|
|
"element-plus": "2.9.2",
|
|
"jsonwebtoken": "^9.0.3",
|
|
"nuxt": "^4.3.1",
|
|
"opencode-ai": "^1.2.27",
|
|
"pinia": "2.3.1",
|
|
"uuid": "^13.0.0",
|
|
"vue": "^3.5.29",
|
|
"vue-router": "^4.6.4",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@nuxt/eslint": "1.15.2",
|
|
"@nuxt/icon": "2.2.1",
|
|
"@types/bcryptjs": "^3.0.0",
|
|
"@types/jsonwebtoken": "^9.0.10",
|
|
"@types/uuid": "^11.0.0"
|
|
},
|
|
"packageManager": "pnpm@10.12.1+sha512.f0dda8580f0ee9481c5c79a1d927b9164f2c478e90992ad268bbb2465a736984391d6333d2c327913578b2804af33474ca554ba29c04a8b13060a717675ae3ac"
|
|
}
|