This commit is contained in:
2023-07-29 17:57:45 +02:00
parent 150638b592
commit 4ec3c5ab2f
22 changed files with 273 additions and 196 deletions

View File

@@ -3,26 +3,10 @@
"version": "0.0.1",
"description": "Server API and frontend dashboard for monitoring climate stats with the Raspberry Pi",
"scripts": {
"start": "concurrently -p \"[{name}]\" -n \"server,dashboard\" -c \"bgBlue.gray.bold,bgMagenta.gray.bold\" \"npm:server\" \"npm:dashboard-static\"",
"build": "sh ./setup.sh",
"server": "cd ./server && npm run dev",
"dashboard-static": "cd ./dashboard && npm run build-watch",
"dashboard-serve": "cd ./dashboard && npm run dev"
},
"dependencies": {
"child-process-promise": "^2.2.1",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"ejs": "^3.1.6",
"express": "^5.0.0-alpha.8",
"mysql2": "^2.2.5",
"node-fetch": "^2.6.1"
"start": "cd ./server && ts-node ./src/main.ts",
"build": "sh ./setup.sh"
},
"devDependencies": {
"@types/child-process-promise": "^2.2.1",
"@typescript-eslint/eslint-plugin": "^4.17.0",
"@typescript-eslint/parser": "^4.17.0",
"concurrently": "^6.0.0",
"eslint": "^7.21.0",
"prettier": "^2.1.2",
"typescript": "^5.1.0"