Npm plugin for mina
Add this line to your application's Gemfile:
gem 'mina-npm'
And then execute:
$ bundle
Or install it yourself as:
$ gem install mina-npm
require 'mina/npm'
task :deploy => :environment do deploy do ... invoke 'npm:install' invoke 'bower:install' invoke 'grunt:task' ... end end
set :npm_bin # default: 'npm'
set :bower_bin # default: 'bower'
set :grunt_bin # default: 'grunt'
set :npm_options # default: '--production'
set :bower_options # default: '--allow-root'
set :grunt_options # default: ''
set :grunt_task # default: 'build'
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/mina-npm. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.