I'm using Jenkins pipeline to compile npm app. I want to use a parameter for my npm app, see each branch will publish the app under different name. Also, I need some "default value, for the developers when they are working in their local env
for example, my package.json:
{
"name": ${some_env_var} : default_value",
"version: 1.0.0
...
}
does it possible?