I've got a project which happens to have a full node_modules directory, and a package-lock.json file, but no package.json file.
so I ran npm init to create a new package.json file, but now I'm struggling to make it contain the dependecies of the project.
Is there a way to make npm read the node_modules directory or the package-lock.json and create a matching package.json file?