I have added many packages in my Project using npm.
But after while cleaning my Project i was deleted my package.json by mistake.
so for create new package.json file i have run command nmp init
.
now i got the package.json but in my package.json file is like below.
{
"name": "name-will-be-here",
"version": "0.0.1",
"description": "description-will-be-here",
"main": "gulpfile.js",
" dependencies": {},
"devDependencies": {},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC"
}
Is there any commands for fill the details like before it is...?
but my Question is that...
How can i get all details of
dependencies
and devDependencies
which was already there before delete?