@wordpress/components
Version:
UI components for WordPress.
50 lines (49 loc) • 1.38 kB
JSON
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": "src",
"declarationDir": "build-types",
"types": [
"gutenberg-env",
"gutenberg-test-env",
"dom-scroll-into-view",
"jest",
"@testing-library/jest-dom",
"snapshot-diff",
"@wordpress/jest-console"
],
// TODO: Remove `skipLibCheck` after resolving duplicate declaration of the `process` variable
// between `@types/webpack-env` (from @storybook packages) and `gutenberg-env`.
"skipLibCheck": true,
"strictNullChecks": true
},
"references": [
{ "path": "../a11y" },
{ "path": "../compose" },
{ "path": "../date" },
{ "path": "../deprecated" },
{ "path": "../dom" },
{ "path": "../element" },
{ "path": "../escape-html" },
{ "path": "../hooks" },
{ "path": "../html-entities" },
{ "path": "../i18n" },
{ "path": "../icons" },
{ "path": "../is-shallow-equal" },
{ "path": "../keycodes" },
{ "path": "../primitives" },
{ "path": "../private-apis" },
{ "path": "../react-i18n" },
{ "path": "../rich-text" },
{ "path": "../warning" }
],
"include": [ "src/**/*" ],
"exclude": [
"src/**/*.android.js",
"src/**/*.ios.js",
"src/**/*.native.js",
"src/**/react-native-*",
"src/**/stories/**/*.js", // only exclude js files, tsx files should be checked
"src/**/test/**/*.js" // only exclude js files, ts{x} files should be checked
]
}