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
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
.