gpstracker/package.json
Fabio Manganiello 533ebe960f
Refactored backend.
- Add versioning to API endpoints.
- Refactored $db and $repos as global variables.
- Extracted routes into separate components with deferred registration.
- Support for a different db URL for location data than the one used by
  the application.
- Added sqlite and passport dependencies (passport will soon be used to
  handle authentication).
2025-03-01 11:45:13 +01:00

42 lines
849 B
JSON

{
"name": "server",
"version": "1.0.0",
"description": "",
"main": "main.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node dist/main.js",
"dev": "nodemon",
"build": "tsc"
},
"nodemonConfig": {
"watch": [
"src"
],
"ignore": [
"dist"
],
"exec": "tsc && node ./dist/main.js",
"ext": "ts,js,json"
},
"keywords": [],
"author": "",
"license": "ISC",
"type": "commonjs",
"dependencies": {
"cors": "^2.8.5",
"dotenv": "^16.4.7",
"express": "^4.21.2",
"passport": "^0.7.0",
"pg": "^8.13.3",
"sequelize": "^6.37.5",
"sqlite3": "^5.1.7"
},
"devDependencies": {
"@types/cors": "^2.8.17",
"@types/express": "^5.0.0",
"@types/node": "^22.13.4",
"nodemon": "^3.1.9",
"typescript": "^5.7.3"
}
}