@yvalkova/cypress-setup
v1.0.0
Published
Opinionated Cypress setup with TypeScript and some useful utils.
Downloads
2
Readme
@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:
- Check if TypeScript is already installed. If not, it will install the latest version.
- Install Cypress.
- Initialize Cypress files.
- Add useful utils.
- Add Cypress scripts to
package.json
. - 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.