Scripts

How pnpm handles the scripts field of package.json.

Lifecycle Scripts

pnpm:devPreinstall

Runs only on local pnpm install.

Runs before any dependency is installed.

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