1.0.0 • Published 8 months ago

@yvalkova/cypress-setup v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

@yvalkova/cypress-setup

This package simplifies the setup process for Cypress, an end-to-end testing framework, with opinionated defaults, and some useful utils.

Usage

npx @yvalkova/cypress-setup

This command will perform the following tasks:

  1. Check if TypeScript is already installed. If not, it will install the latest version.
  2. Install Cypress.
  3. Initialize Cypress files.
  4. Add useful utils.
  5. Add Cypress scripts to package.json.
  6. Add Cypress files to .gitignore.

Motivation

I found myself setting up Cypress projects a couple of times, and I ended up copying configuration from previous projects, so I created this package to be able to do that effortlessly.

TODO

  • Add common utility functions
  • Add a safety check to abort execution if Cypress is already installed.

License

This package is distributed under the MIT License.

1.0.0

8 months ago

0.0.3

8 months ago

0.0.2

8 months ago

0.0.1

8 months ago