Sha256: 0af7486ba8c9bdb2f459d1d41e92b368e2129aa35e179b2b2ee5f6e10f93bc35

Contents?: true

Size: 381 Bytes

Versions: 27

Compression:

Stored size: 381 Bytes

Contents

# frozen_string_literal: true

# Install packages

say "Installing Cypress...", :green
run "yarn add -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

27 entries across 27 versions & 1 rubygems

Version Path
bridgetown-core-1.0.0.beta2 lib/bridgetown-core/configurations/cypress.rb
bridgetown-core-1.0.0.beta1 lib/bridgetown-core/configurations/cypress.rb
bridgetown-core-1.0.0.alpha11 lib/bridgetown-core/configurations/cypress.rb
bridgetown-core-1.0.0.alpha10 lib/bridgetown-core/configurations/cypress.rb
bridgetown-core-1.0.0.alpha9 lib/bridgetown-core/configurations/cypress.rb
bridgetown-core-1.0.0.alpha8 lib/bridgetown-core/configurations/cypress.rb
bridgetown-core-1.0.0.alpha7 lib/bridgetown-core/configurations/cypress.rb