- Split server.js routes into modular files (server/routes/) - departures.js: Departure data endpoints - sites.js: Site search and nearby sites - config.js: Configuration endpoints - Reorganized file structure following Node.js best practices: - Moved sites-config.json to config/sites.json - Moved API_RESPONSE_DOCUMENTATION.md to docs/ - Moved raspberry-pi-setup.sh to scripts/ - Archived legacy files to archive/ directory - Updated all code references to new file locations - Added archive/ to .gitignore to exclude legacy files from repo - Updated README.md with new structure and organization - All functionality tested and working correctly Version: 1.2.0
37 lines
868 B
JSON
37 lines
868 B
JSON
{
|
|
"name": "sl-transport-departures-display",
|
|
"version": "1.0.0",
|
|
"description": "A digital signage system for displaying transit departures, weather information, and news tickers",
|
|
"main": "server.js",
|
|
"scripts": {
|
|
"start": "node server.js",
|
|
"dev": "nodemon server.js"
|
|
},
|
|
"keywords": [
|
|
"digital-signage",
|
|
"transit",
|
|
"raspberry-pi",
|
|
"weather",
|
|
"news-ticker"
|
|
],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"dotenv": "^16.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"nodemon": "^2.0.22"
|
|
},
|
|
"engines": {
|
|
"node": ">=12.0.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/yourusername/sl-departures-display.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/yourusername/sl-departures-display/issues"
|
|
},
|
|
"homepage": "https://github.com/yourusername/sl-departures-display#readme"
|
|
}
|