Anton Medvedev 47a193f9af
Add docgen
2020-10-02 01:11:13 +03:00

800 B

npm

Source

Installing

Add to your deploy.php

require 'contrib/npm.php';

Configuration

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

Usage

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

or if you want use npm ci command

after('deploy:update_code', 'npm:ci');
  • Tasks
    • npm:install — Install npm packages
    • npm:ci — Install npm packages with a clean slate

Tasks

npm:install

Source

In there is a {{previous_release}}, node_modules will be copied from it before installing deps.

npm:ci

Source