Sha256: 3b99c890f1cf9a3e5bfc515e6ba0a5435e15c77587f8c136b85fbcf22ecc5584

Contents?: true

Size: 366 Bytes

Versions: 20

Compression:

Stored size: 366 Bytes

Contents

# frozen_string_literal: true

namespace :yarn do
  desc "Install npm packages with yarn"
  task install: :environment do
    sh "yarn install"
  end

  desc "Lint JS/SCSS files using yarn (prettier)"
  task lint: :install do
    sh "yarn lint"
  end

  desc "Autoformat JS/SCSS files using yarn (prettier)"
  task format: :install do
    sh "yarn format"
  end
end

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
katalyst-content-1.0.1 lib/tasks/yarn.rake
katalyst-navigation-1.3.3 lib/tasks/yarn.rake
katalyst-content-1.0.0 lib/tasks/yarn.rake
katalyst-navigation-1.3.2 lib/tasks/yarn.rake
katalyst-content-0.2.2 lib/tasks/yarn.rake
katalyst-navigation-1.3.1 lib/tasks/yarn.rake
katalyst-content-0.2.1 lib/tasks/yarn.rake
katalyst-navigation-1.3.0 lib/tasks/yarn.rake
katalyst-navigation-1.2.0 lib/tasks/yarn.rake
katalyst-content-0.2.0 lib/tasks/yarn.rake
katalyst-content-0.1.2 lib/tasks/yarn.rake
katalyst-content-0.1.1 lib/tasks/yarn.rake
katalyst-navigation-1.1.2 lib/tasks/yarn.rake
katalyst-content-0.1.0 lib/tasks/yarn.rake
katalyst-navigation-1.1.1 lib/tasks/yarn.rake
katalyst-navigation-1.1.0 lib/tasks/yarn.rake
katalyst-navigation-1.0.3 lib/tasks/yarn.rake
katalyst-navigation-1.0.2 lib/tasks/yarn.rake
katalyst-navigation-1.0.1 lib/tasks/yarn.rake
katalyst-navigation-1.0.0 lib/tasks/yarn.rake