I’ve run node . in various NodeJS apps in the past, and it seems to know to run index.js, server.js, etc. Is there a package.json setting (or something similar) that I can configure so that NodeJS knows which file should run?
I’ve run node . in various NodeJS apps in the past, and it seems
Share
npm does have a one configuration for that: