rna-code/npm-cache-phpci-plugin

PHPCI plugin for npm integration

1.0.0 2016-05-25 12:47 UTC

This package is not auto-updated.

Last update: 2024-03-25 10:51:24 UTC


README

A plugin for PHPCI to download and install npm packages required by your application.

Install the Plugin

  1. Navigate to your PHPCI root directory and run composer require rna-code/npm-cache-phpci-plugin
  2. If you are using the PHPCI daemon, restart it
  3. Update your phpci.yml in the project you want to deploy with

Prerequisites

  1. npm-cache needs to be installed.

Plugin Options

  • command [string, require] - Command name. See docs
  • directory [string, optional] - Relative path to run npm-cache in.
  • flags [list, optional] - Command flags

PHPCI Config

    RNACode\PHPCI\NpmCache:
        command: install