I am trying to use env variable form file in package.json. All this commands return message "Unbound variable $NODE_ENV"
"scripts": {
"xxx1": "dotenv -e ../.env echo $NODE_ENV",
"xxx2": "env-cmd -f ../.env echo $NODE_ENV",
"xxx3": "NODE_ENV=123 echo $NODE_ENV",
}
../.env:
NODE_ENV=123
${NODE_ENV} return same error. Looks like I do something wrong in the end of command. Help me please