CityTracker/server/package.json
Claudio Schaad 8d4448b28c Add admin backup export/import
Admins can export all cities, users, links, participants, and photos
as a zip for backups, and restore from one later. Import replaces all
existing data and clears sessions, so the admin has to log back in
afterward.
2026-07-21 20:38:37 +02:00

32 lines
869 B
JSON

{
"name": "@citytracker/server",
"version": "1.0.0",
"private": true,
"main": "dist/index.js",
"scripts": {
"dev": "tsx watch src/index.ts",
"build": "tsc && node -e \"require('fs').cpSync('src/db/migrations','dist/db/migrations',{recursive:true})\"",
"start": "node dist/index.js",
"clean": "rimraf dist"
},
"dependencies": {
"@citytracker/shared": "*",
"adm-zip": "^0.6.0",
"argon2": "^0.40.3",
"better-sqlite3": "^11.3.0",
"express": "^4.21.0",
"express-session": "^1.18.0",
"multer": "^1.4.5-lts.1",
"zod": "^3.23.8"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.11",
"@types/express": "^4.17.21",
"@types/express-session": "^1.18.0",
"@types/multer": "^1.4.11",
"@types/node": "^20.14.15",
"rimraf": "^5.0.9",
"tsx": "^4.19.0",
"typescript": "^5.5.4"
}
}