The following steps only work for machine that has node.js and npm ready.
Open VSCode > Ctrl+P, write ext install npm script runner > enter > extension (left panel) > click 'npm support for vs code' > install > restart VSCode > done!
Test your npm command on the terminal