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.3.4 lib/bridgetown-core/configurations/cypress.rb
bridgetown-core-1.3.3 lib/bridgetown-core/configurations/cypress.rb
bridgetown-core-1.3.2 lib/bridgetown-core/configurations/cypress.rb
bridgetown-core-1.3.1 lib/bridgetown-core/configurations/cypress.rb
bridgetown-core-1.3.0 lib/bridgetown-core/configurations/cypress.rb
bridgetown-core-1.3.0.beta3 lib/bridgetown-core/configurations/cypress.rb
bridgetown-core-1.3.0.beta2 lib/bridgetown-core/configurations/cypress.rb
bridgetown-core-1.3.0.beta1 lib/bridgetown-core/configurations/cypress.rb
bridgetown-core-1.2.0 lib/bridgetown-core/configurations/cypress.rb
bridgetown-core-1.2.0.beta5 lib/bridgetown-core/configurations/cypress.rb
bridgetown-core-1.2.0.beta4 lib/bridgetown-core/configurations/cypress.rb
bridgetown-core-1.2.0.beta3 lib/bridgetown-core/configurations/cypress.rb
bridgetown-core-1.2.0.beta2 lib/bridgetown-core/configurations/cypress.rb
bridgetown-core-1.2.0.beta1 lib/bridgetown-core/configurations/cypress.rb
bridgetown-core-1.1.0 lib/bridgetown-core/configurations/cypress.rb
bridgetown-core-1.1.0.beta3 lib/bridgetown-core/configurations/cypress.rb
bridgetown-core-1.1.0.beta2 lib/bridgetown-core/configurations/cypress.rb
bridgetown-core-1.1.0.beta1 lib/bridgetown-core/configurations/cypress.rb
bridgetown-core-1.0.0 lib/bridgetown-core/configurations/cypress.rb
bridgetown-core-1.0.0.beta3 lib/bridgetown-core/configurations/cypress.rb