@tsconfig/cypress
v1.0.2
Published
A base TSConfig for working with Cypress.
Downloads
34,695
Readme
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.