set as follows
"scripts": {
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
"build": "node build/build.js",
"analyz": "set NODE_ENV=production && set npm_config_report=true && npm run build",
"start-api": "nodemon server/index.js",
"start": "npm run start-api && npm run dev"
},
but after running npm start
, only the previous instruction was executed, and the latter instruction was not executed.
but several of its instructions are completed after running npm run analyz
. I"m puzzled. =