docs/contrib/npm.md
require 'contrib/npm.php';
bin/npm (optional): set npm binary, automatically detected otherwise.after('deploy:update_code', 'npm:install');
after('npm:install', 'npm:build');
bin/npm (optional): set npm binary, automatically detected otherwise.after('deploy:update_code', 'npm:install');
after('npm:install', 'npm:build');
return which('npm');
Installs npm packages.
Uses npm ci command. This command is similar to npm install,
except it's meant to be used in automated environments such as
test platforms, continuous integration, and deployment -- or
any situation where you want to make sure you're doing a clean
install of your dependencies.
Runs npm build.