Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 481 Bytes

npm.md

File metadata and controls

28 lines (17 loc) · 481 Bytes

Npm recipe

Installing

// deploy.php

require 'vendor/deployer/recipes/npm.php';

Configuration options

  • 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.

Tasks

  • npm:install Install npm packages

Suggested Usage

after('deploy:update_code', 'npm:install');
// or
before('deploy:symlink', 'npm:install');