Sha256: 83b8f9e6ace51bb1d3079242eb5797b79b87c66013b97472d412912083840f1d

Contents?: true

Size: 384 Bytes

Versions: 3

Compression:

Stored size: 384 Bytes

Contents

# frozen_string_literal: true

# Install packages

say "Installing Cypress...", :green
add_npm_package "-D cypress"

# Copy cypress files and tasks into place
cypress_tasks = File.read(in_templates_dir("cypress_tasks"))

copy_file in_templates_dir("cypress.json"), "cypress.json"
inject_into_file("Rakefile", "\n#{cypress_tasks}")
directory in_templates_dir("cypress_dir"), "cypress"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bridgetown-core-2.0.0.beta3 lib/bridgetown-core/configurations/cypress.rb
bridgetown-core-2.0.0.beta2 lib/bridgetown-core/configurations/cypress.rb
bridgetown-core-2.0.0.beta1 lib/bridgetown-core/configurations/cypress.rb