mirror of
https://github.com/walkxcode/dashboard-icons.git
synced 2025-11-18 17:47:30 +01:00
build(web): add seed script for database population
Add npm script 'seed' that runs the seed-db.ts file using bun runtime to populate the PocketBase database with fake submission data for testing and development purposes
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
"lint": "biome lint --write",
|
||||
"ci": "biome check --write",
|
||||
"backend:start": "cd backend && ./pocketbase serve",
|
||||
"backend:download": "cd backend && curl -L -o pocketbase.zip https://github.com/pocketbase/pocketbase/releases/download/v0.30.0/pocketbase_0.30.0_darwin_arm64.zip && unzip pocketbase.zip && rm pocketbase.zip && rm CHANGELOG.md && rm LICENSE.md"
|
||||
"backend:download": "cd backend && curl -L -o pocketbase.zip https://github.com/pocketbase/pocketbase/releases/download/v0.30.0/pocketbase_0.30.0_darwin_arm64.zip && unzip pocketbase.zip && rm pocketbase.zip && rm CHANGELOG.md && rm LICENSE.md",
|
||||
"seed": "bun run seed-db.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@hookform/resolvers": "^5.2.1",
|
||||
|
||||
Reference in New Issue
Block a user