Template
removed nodemon from dependecies
Most devs have Nodemon installed globally on their system, so I removed the dependecy, and when a user types "npm start" on the server app, it will first look for nodemon, and if not found then it will do the standard "node server.js"
This commit is contained in:
1 parent
1c9a390ee7
commit
ab6817973d
2 files changed
+18
-26
No files matched your search
+2
-3
@@ -4,7 +4,7 @@
|
||||
"main": "server.js",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"start": "nodemon server.js"
|
||||
"start": "nodemon server.js||node server.js"
|
||||
},
|
||||
"author": "Ben Elferink",
|
||||
"license": "ISC",
|
||||
@@ -12,7 +12,6 @@
|
||||
"cors": "^2.8.5",
|
||||
"dotenv": "^8.2.0",
|
||||
"express": "^4.17.1",
|
||||
"mongoose": "^5.11.8",
|
||||
"nodemon": "^2.0.6"
|
||||
"mongoose": "^5.11.8"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user