scripts
key, inside package.json
file.
If the content is the following"scripts": {
"start": "node app.js",
"server": "live-server"
}
Then we can run npm run start
and npm will run node app.js
We can also run npm run server
and it will run live-server