How to set some environment variables from within package.json
to be used with npm start
like commands?
Here’s what I currently have in my package.json
:
{
...
"scripts": {
"help": "tagove help",
"start": "tagove start"
}
...
}
I want to set environment variables (like NODE_ENV
) in the start script while still being able to start the app with just one command, npm start
.