Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postinstall-prepare

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postinstall-prepare

Yarn runs the `prepare` script after `yarn`, `yarn install` and `yarn add ` but not after `yarn remove `. If you add this package to your project, it will execute your project's `prepare` hook even after a `yarn remove `. This r

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
26K
decreased by-10.12%
Maintainers
1
Weekly downloads
 
Created
Source

postinstall-prepare

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

Why

Yarn runs the prepare 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 prepare hook even after a yarn remove <package>. This requires your prepare script to be idempotent, becase it will be run twice for yarn, yarn install, and yarn add <package>

FAQs

Package last updated on 11 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc