- .env for global environment files
- .env.development for development environment
- .env.staging for staging environment
- .env.production for production environment
-
npm run startfor development -
npm run start:stagingfor staging -
npm run start:productionfor 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