Скрипты

How pnpm handles the scripts field of package.json.

Сценарии жизненного цикла#

pnpm:devPreinstall#

Runs when pnpm install runs in the project itself, including in CI. It does not run when the package is installed as a dependency of another project.

Запускается до установки какой-либо зависимости.

This script is executed only when set in the root project's package.json.