Skip to content

create a script to restore package.json after publishing the npm package #5

Description

@kirandash
  • create restore.ts file in src folder which on run should restore the package.json file

  • Update usage documentation

'postpack': 'node ./node_modules/.bin/clean-package-dot-json restore'

the above script should be able to restore the package.json file

  • Update scripts in package.json to run restore script on postpack

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions