mirror of
https://github.com/aleleba/create-react-component-library.git
synced 2026-07-04 06:11:20 -06:00
- Remove 'cypress' from types array: Cypress ships its own types, not via @types/cypress — the /// <reference types="cypress" /> in support files resolves them correctly without this entry. - Exclude *.stories.* and *.test.* from the program: ts-loader does full program type-checking, pulling in stories (@storybook types unavailable) and Jest tests (@testing-library/jest-dom not in scope). These files are irrelevant to Cypress.
19 lines
234 B
JSON
19 lines
234 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
"rootDir": "."
|
|
},
|
|
"include": [
|
|
"src",
|
|
"cypress",
|
|
"src/@types"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
"dist",
|
|
"**/*.stories.*",
|
|
"**/*.test.ts",
|
|
"**/*.test.tsx"
|
|
]
|
|
}
|