postinstall-postinstall

2.1.0 • Public • Published

postinstall-postinstall

Run your app's postinstall npm script during this package's postinstall script.

Why

Yarn runs the postinstall script after yarn, yarn install and yarn add <package> but not after yarn remove <package>. If you add this package to your project, it will execute your project's postinstall hook even after a yarn remove <package>. This requires your postinstall script to be idempotent, because it will be run twice for yarn, yarn install, and yarn add <package>

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.1.0
    617,777
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.1.0
    617,777
  • 2.0.0
    6,353
  • 1.0.0
    1,325

Package Sidebar

Install

npm i postinstall-postinstall

Weekly Downloads

625,455

Version

2.1.0

License

MIT

Unpacked Size

2.74 kB

Total Files

5

Last publish

Collaborators

  • ds300