feat: add db schema, init, and vitest config

This commit is contained in:
lila 2026-05-03 17:56:29 +02:00
parent 74cfc82bdd
commit 4fa3073412
13 changed files with 248 additions and 8 deletions

View file

@ -3,7 +3,11 @@
"version": "1.0.0",
"private": true,
"type": "module",
"scripts": {},
"scripts": {
"db:init": "tsx db/init.ts",
"test": "vitest run",
"test:watch": "vitest"
},
"dependencies": {
"@lila/shared": "workspace:*",
"better-sqlite3": "^12.9.0"
@ -12,6 +16,7 @@
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^24.12.0",
"tsx": "^4.21.0",
"typescript": "^5.9.3"
"typescript": "^5.9.3",
"vitest": "^4.1.0"
}
}