After I ejected from create-react-app, I was left with a zoo of dependencies inside of package.json. Is there a npm command or something else that would help me distill the dependencies down and get rid of any package mentions that are only dependencies of some other package. For example, if package.json looks like
package.json
{
"name": "mypackage",
...
],
"dependencies": {
"A": "1",
"B": "1",
"C": "1",
...
}
and both A and B depend on C and I don't care to specify C's version, is there a command to simply remove C from package.json and thus clean up this file?