Files
classroomio/packages/db/package.json
T

52 lines
1.6 KiB
JSON
Raw Normal View History

2025-11-01 15:49:29 +01:00
{
"name": "@cio/db",
"version": "0.0.1",
2025-11-01 15:49:29 +01:00
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
2025-11-01 15:49:29 +01:00
"scripts": {
"build": "rm -rf dist tsconfig.tsbuildinfo && tsc && tsc-alias",
"dev": "tsc --watch",
2025-11-01 15:49:29 +01:00
"db": "drizzle-kit",
2026-03-09 11:18:22 +01:00
"db:reset": "tsx src/scripts/db-reset.ts",
"db:setup": "tsx src/scripts/db-setup.ts",
2026-03-09 11:18:22 +01:00
"db:setup:seed": "tsx src/scripts/db-setup.ts --seed",
"db:exercise-backfill": "tsx src/scripts/backfill-exercise-course.ts",
"migrate:answer-data": "tsx src/scripts/migrate-answer-data.ts",
"db:assets-backfill": "tsx src/scripts/backfill-lesson-assets.ts",
"db:sync-orphaned-profiles": "tsx src/scripts/sync-orphaned-profiles.ts",
2025-11-01 15:49:29 +01:00
"move-users": "tsx src/scripts/supabase-to-betterauth.ts",
"pull": "drizzle-kit pull --config drizzle.config.ts",
"generate-types": "tsx scripts/generate-types.ts && pnpm format",
"seed": "tsx src/scripts/seed.ts",
2026-03-09 11:18:22 +01:00
"format": "prettier . --write",
"db:supabase-to-betterauth": "tsx src/scripts/supabase-to-betterauth.ts"
2025-11-01 15:49:29 +01:00
},
"dependencies": {
2026-03-09 11:18:22 +01:00
"@better-auth/sso": "^1.4.18",
"@cio/email": "workspace:*",
2026-03-09 11:18:22 +01:00
"@cio/question-types": "workspace:*",
2025-11-01 15:49:29 +01:00
"@cio/tsconfig": "workspace:*",
"@cio/utils": "workspace:*",
2025-11-25 17:18:15 +00:00
"bcrypt": "6.0.0",
2026-03-09 11:18:22 +01:00
"better-auth": "^1.4.18",
"drizzle-kit": "^0.31.8",
"drizzle-orm": "^0.44.7",
2026-03-09 11:18:22 +01:00
"jose": "^6.1.3",
"postgres": "^3.4.7"
2025-11-01 15:49:29 +01:00
},
"devDependencies": {
2025-11-25 17:18:15 +00:00
"@types/bcrypt": "6.0.0",
2025-11-01 15:49:29 +01:00
"@types/node": "^24.8.1",
2026-03-09 11:18:22 +01:00
"@types/pg": "^8.16.0",
2025-11-01 15:49:29 +01:00
"dotenv": "^17.2.3",
2026-03-09 11:18:22 +01:00
"pg": "^8.18.0",
"tsc-alias": "^1.8.16",
2025-11-01 15:49:29 +01:00
"tsx": "^4.20.3",
"typescript": "^5.9.3"
}
}