How do I restore node-modules and bower_components?
I want to source control files which are actually part of my application and not the dependencies. I want to restore those dependencies after I clone a fresh copy of my project. Something like the inverse of bower wiredep
You can just set up a package.json
for npm
to install your node_modules using npm install
. I believe bower also has something similar with bower.json
.
I think both npm init
and bower init
should get you started.
Edit: yeah, Bower has it too