• Returns the list of production and dev dependencies of a package.json

    Parameters

    • packageJsonPath: string

      Path to the package.json file

    Returns Promise<Record<string, string>>

    A promise that resolves with the list of dependencies.