Set value of a property in the project's package.json.

Path to package.json is resolved from the current working directory.

  • Parameters

    • objPath: string

      The path of the property to set

    • value: unknown

      The value of the property to set

    Returns void