- .env for global environment files
- .env.development for development environment
- .env.staging for staging environment
- .env.production for production environment
-
npm run start
for development -
npm run start:staging
for staging -
npm run start:production
for production -
For more details read the accepted answer on this link: https://stackoverflow.com/questions/48524417/should-the-package-lock-json-file-be-added-to-gitignore