fac-23 / microblogging-oli-orian-miah

Moo-net. A microblogging site dedicated to cows :cow:
https://moo-net.herokuapp.com/
0 stars 1 forks source link

package.jason #30

Open Alisyad9 opened 2 years ago

Alisyad9 commented 2 years ago

"scripts": { "test": "cypress open", "start": "node server.js", "dev": "nodemon server.js" },

you can get rid off the "start": "node server.js" since it is not needed. You already have nodemon

oliverjam commented 2 years ago

Some services expect a "start" script to be present. For example if Heroku doesn't find a Procfile it defaults to trying npm start to start up your server (https://devcenter.heroku.com/articles/deploying-nodejs#specifying-a-start-script)