feat: implement database reset and demo population scripts with tests
This commit is contained in:
1 parent
4df14584f2
commit
a2e5184b3e
4 files changed
+214
-1
No files matched your search
@@ -9,8 +9,11 @@
|
||||
"configure": "node scripts/configure.mjs",
|
||||
"db:setup": "tsx scripts/setup.ts",
|
||||
"db:seed": "tsx scripts/seed-demo.ts",
|
||||
"db:clear": "tsx scripts/reset-instance.ts clear",
|
||||
"db:reset": "tsx scripts/reset-instance.ts demo",
|
||||
"test": "tsx --test tests/unit.test.ts",
|
||||
"test:db": "tsx --test tests/database.test.ts",
|
||||
"test:reset": "tsx --test tests/reset.test.ts",
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in new issue
Block a user