// deploy.php
require 'vendor/deployer/recipes/npm.php';
- bin/npm (optional): set npm binary, automatically try to detect it otherwise.
By default, if no env setting is provided, this recipe will fallback to the global setting.
npm:install
Install npm packages
after('deploy:update_code', 'npm:install');
// or
before('deploy:symlink', 'npm:install');