• Load the contents of the package.json file located at input, calculate the relative path root between input and output, transform the contents using transformPackageJsonContents, and write the results to output.

    Parameters

    • input: string

      the path to the input package.json

    • output: string

      the path that the transformed package.json will be written to

    • Optional options: Omit<Options, "relativePathRoot">

      optional Options which will control the transformation

    Returns Promise<void>

    an empty promise that resolves when the new file is successfully written