woocommerce/plugins/woocommerce-admin/storybook/tsconfig.json

31 lines
821 B
JSON

{
"compilerOptions": {
// Target latest version of ECMAScript.
"target": "esnext",
// Search under node_modules for non-relative imports.
"moduleResolution": "node",
// Process & infer types from .js files.
"allowJs": true,
"jsx": "preserve",
// Don't emit; allow Babel to transform files.
"noEmit": true,
// Enable strictest settings like strictNullChecks & noImplicitAny.
"strict": true,
// Import non-ES modules as default imports.
"esModuleInterop": true,
"skipLibCheck": false,
"module": "esnext",
"typeRoots": [
"./typings",
"./node_modules/@types",
"packages/**/node_modules/@types"
],
"baseUrl": "./",
"paths": {
"@woocommerce/*": [ "packages/*/src" ],
"~/*": [ "client/*" ]
}
},
"exclude": [ "node_modules", "build", "build-module", "dist", "vendor" ]
}