I have a node.js app which i'm building/hosting on Heroku. I would like to use the environment variables set on Heroku when building my application. for example in package.json
"scripts": {
"postinstall": "build --option="MY_HEROKU_ENVIRONMENT_VARIABLE"
}
is it possible to read those variables when the script is run?
Thanks in advance /Eric