mirror of
https://github.com/Chewbaccalakis/rfid-database.git
synced 2026-09-09 16:01:56 -07:00
Add Next.js app with SQLite/Drizzle storage for sites and LF/HF tag dumps, multi-user Auth.js (credentials + optional OIDC), personal API tokens in Settings, versioned /api/v1 for UI and future CLI use, MCT/Proxmark/JSON import-export, PWA offline shell, Vitest tests, and GitHub Actions CI.
46 lines
1.2 KiB
JSON
46 lines
1.2 KiB
JSON
{
|
|
"name": "rfid-database",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "eslint .",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"create-user": "tsx scripts/create-user.ts",
|
|
"db:ensure": "tsx -e \"import { getDb, resetDbConnection } from './src/db/client'; getDb(); resetDbConnection(); console.log('ok');\""
|
|
},
|
|
"dependencies": {
|
|
"bcryptjs": "^3.0.3",
|
|
"better-sqlite3": "^13.0.3",
|
|
"drizzle-orm": "^0.45.2",
|
|
"next": "15.5.23",
|
|
"next-auth": "^5.0.0-beta.32",
|
|
"react": "19.1.0",
|
|
"react-dom": "19.1.0",
|
|
"uuid": "^14.0.2",
|
|
"zod": "^4.4.3"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3",
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/better-sqlite3": "^9.6.0",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"@types/uuid": "^10.0.0",
|
|
"@vitejs/plugin-react": "^6.1.0",
|
|
"drizzle-kit": "^0.31.10",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "15.5.23",
|
|
"tailwindcss": "^4",
|
|
"tsx": "^4.20.5",
|
|
"typescript": "^5",
|
|
"vitest": "^4.1.11"
|
|
}
|
|
}
|