Because we don\'t want sensitive data in the project code, including the package.json file, using environment variables would be a logical choice in my opinion.
Exam
Let's use grep to get a value environment variable from the .env file.
"scripts": { "start": "NODE_ENV=$(grep NODE_ENV .env | cut -d '=' -f2) some_script" }