typicode

typicode/pinst

🍺 dev only postinstall hooks (package.json)

JavaScript
263
8
MIT License

pinst is a tool for developers who want to run postinstall hooks only during development, without affecting the end-user experience. It's particularly useful for Yarn 2+ users, as it renames the postinstall hook during packaging to disable it, then re-enables it afterward. This allows developers to execute dev-only commands in postinstall without those commands running for end-users.

Total donated
Undistributed
Share with your subscribers: