added nodemon to automate starting the server.js when i changed some codes

This commit is contained in:
2024-09-23 09:52:25 +08:00
parent 2110ca4669
commit 2a2f0060a2
2 changed files with 302 additions and 3 deletions
+3 -2
View File
@@ -4,7 +4,7 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node server.js"
"start": "nodemon server.js"
},
"author": "F04C, Michael, Ronmel",
"license": "ISC",
@@ -15,7 +15,8 @@
"express": "^4.21.0",
"jsonwebtoken": "^9.0.2",
"mysql": "^2.18.1",
"mysql2": "^3.11.3"
"mysql2": "^3.11.3",
"nodemon": "^3.1.6"
},
"keywords": [],
"description": ""