NPM recipe

Installing

Install with composer

composer require deployer/recipes --dev

Add to your deploy.php

require 'recipe/npm.php';

Configuration

  • bin/npm (optional): set npm binary, automatically detected otherwise.

Tasks

  • npm:install – install npm packages

Usage

after('deploy:update_code', 'npm:install');