rna-code / npm-cache-phpci-plugin
PHPCI plugin for npm integration
1.0.0
2016-05-25 12:47 UTC
Requires
- php: >=5.3.3
Requires (Dev)
- block8/phpci: 1.6.x
This package is not auto-updated.
Last update: 2025-01-13 14:34:41 UTC
README
A plugin for PHPCI to download and install npm packages required by your application.
Install the Plugin
- Navigate to your PHPCI root directory and run
composer require rna-code/npm-cache-phpci-plugin
- If you are using the PHPCI daemon, restart it
- Update your
phpci.yml
in the project you want to deploy with
Prerequisites
- 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