woocommerce/plugins/woocommerce-admin/tsconfig.json

26 lines
743 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": "react",
// 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": [ "**/node_modules/@types" ],
"baseUrl": "./client",
"paths": {
"@woocommerce/*": [ "../packages/*/src" ]
}
},
"exclude": [ "node_modules", "build", "build-module", "dist", "vendor" ]
}