- Introduced a new HTML documentation page for the oradio API, including a JavaScript file to handle dynamic content and API requests. - Added a CSS file for styling the documentation page. - Implemented an underground station importer script that fetches data from Radio-Browser and writes it to a JSON file. - Created a stats module to compute and manage vote and play statistics for radio stations. - Added a polyfill for modulepreload to ensure compatibility with older browsers.
29 lines
865 B
JSON
29 lines
865 B
JSON
{
|
|
"name": "online-radio-explorer",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "Touchscreen kiosk + admin for exploring and playing internet radio.",
|
|
"scripts": {
|
|
"dev": "concurrently -k -n web,api -c blue,green \"npm:dev:web\" \"npm:dev:api\"",
|
|
"dev:web": "vite",
|
|
"dev:api": "node --watch server/index.js",
|
|
"build": "vite build",
|
|
"start": "node server/index.js",
|
|
"seed": "node server/scripts/seed.js"
|
|
},
|
|
"dependencies": {
|
|
"bcryptjs": "^2.4.3",
|
|
"better-sqlite3": "^11.3.0",
|
|
"cookie": "^1.0.1",
|
|
"dotenv": "^16.4.5",
|
|
"express": "^4.21.0",
|
|
"node-cron": "^3.0.3",
|
|
"ws": "^8.18.0"
|
|
},
|
|
"devDependencies": {
|
|
"concurrently": "^9.0.1",
|
|
"hls.js": "^1.5.17",
|
|
"vite": "^5.4.8"
|
|
}
|
|
} |