I am new to angular and npm. I have a project I have been working on and would like to zip and email it. Is there an npm command to leave packages.json and clean the node-modules directory so that someone who gets the zip can unzip and run "npm install". Or is this just something you need to do from command line and remove all child directories under node-modules?
I think the only directory I need to clean is node_modules is that correct. Any help you can provide would be appreciated.
npm clean
npm cache clean
Or
you can delete the local node modules folder to zip wherein package json would be helper for same other folks.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With