woocommerce/plugins/woocommerce-admin/tsconfig.json

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