woocommerce/plugins/woocommerce-admin/tsconfig.json

34 lines
903 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/*" ],
"@woocommerce/wc-admin-settings": [
"client/wc-admin-settings/index"
]
}
},
"exclude": [ "node_modules", "build", "build-module", "dist", "vendor" ]
}