Skip to content

railsblueprint/mina-yarn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mina::Yarn

Yarn plugin for mina

Installation

Add this line to your application's Gemfile:

gem 'mina-yarn'

And then execute:

$ bundle

Or install it yourself as:

$ gem install mina-yarn

Usage

require 'mina/yarn'

task :deploy => :environment do
  deploy do
    ...
    invoke 'yarn:install'
    ...
  end

  to :launch do
    invoke 'yarn:setup'
  end
end

Configuration

set :yarn_bin # default: 'yarn'
set :yarn_options # default: lambda { %{--production} }

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/railsblueprint/mina-yarn. 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.

License

The gem is available as open source under the terms of the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages