How to install node_modules only those packages defined in the file package.json
<p>When I used npm install of Laravel project. It creates a lot of unnecessary libraries.
I want to know how to install only the packages I have defined in package.json file.</p>

<p><a href="https://i.stack.imgur.com/vv3Pe.png" rel="nofollow"><img src="https://i.stack.imgur.com/vv3Pe.png" alt="Screenshot of node_modules content"></a></p>