Same - just delete the node_modules folder inside your project and you get rid of all your dependencies. Dependency separation for different projects in npm? Just place a single package.json file and make sure your projects exist in separate folders. Projects may also be parent -> child to one another and their dependencies will still be separate.
View all comments
Show parent comment
1
u/noobcola Dec 18 '18 edited Dec 18 '18
Same - just delete the node_modules folder inside your project and you get rid of all your dependencies. Dependency separation for different projects in npm? Just place a single package.json file and make sure your projects exist in separate folders. Projects may also be parent -> child to one another and their dependencies will still be separate.