In the scripts instruction in package.json, how to write the instruction if you want to change the parameters in it?

"scripts": {
   
    "dev-proxy": "NODE_PORT=3000 webpack-dev-server --config webpack.dev.js --progress"
  }

I want to run this instruction

npm run dev-proxy --NODE_PORT=125000

change the port number NODE_PORT? Excuse me, how can it be realized?

Apr.11,2021

"scripts": {
    "dev-proxy": "webpack-dev-server --config webpack.dev.js --progress"
  }
npm run dev-proxy -- --NODE_PORT=125000
Menu