@tsconfig/cypress (original) (raw)

1.0.2 • Public • Published a year ago

A base TSConfig for working with Cypress.

Add the package to your "devDependencies":

npm install --save-dev @tsconfig/cypress yarn add --dev @tsconfig/cypress

Add to your tsconfig.json:

"extends": "@tsconfig/cypress/tsconfig.json"


The tsconfig.json:

{ "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { "target": "es5", "lib": ["es5", "dom"], "types": ["cypress"] } }

You can find the code here.