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.
package.json
input
output
transformPackageJsonContents
the path to the input package.json
the path that the transformed package.json will be written to
Optional
optional Options which will control the transformation
an empty promise that resolves when the new file is successfully written
Load the contents of the
package.json
file located atinput
, calculate the relative path root betweeninput
andoutput
, transform the contents using transformPackageJsonContents, and write the results tooutput
.See
transformPackageJsonContents