Returns the list of production and dev dependencies of a package.json
Path to the package.json file
A promise that resolves with the list of dependencies.
Returns the list of production and dev dependencies of a package.json