mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-02 12:18:15 +08:00
49117afb72
* refactor: front-end testing with vitest * fix: fix build failed
61 lines
1.3 KiB
JSON
61 lines
1.3 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"esModuleInterop": true,
|
|
"moduleResolution": "node",
|
|
"jsx": "react",
|
|
"target": "esnext",
|
|
"module": "esnext",
|
|
"allowJs": true,
|
|
"noUnusedLocals": false,
|
|
"preserveConstEnums": true,
|
|
"skipLibCheck": true,
|
|
"sourceMap": true,
|
|
"inlineSources": true,
|
|
"resolveJsonModule": true,
|
|
"declaration": true,
|
|
"experimentalDecorators": true,
|
|
"downlevelIteration": true,
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@nocobase/app-*": [
|
|
"packages/app/*/src"
|
|
],
|
|
"@nocobase/plugin-sample-*": [
|
|
"packages/samples/*/src"
|
|
],
|
|
"@nocobase/plugin-pro-*": [
|
|
"packages/pro-plugins/*/src"
|
|
],
|
|
"@nocobase/plugin-*": [
|
|
"packages/plugins/*/src"
|
|
],
|
|
"@nocobase/preset-*": [
|
|
"packages/presets/*/src"
|
|
],
|
|
"@nocobase/evaluators/client": [
|
|
"packages/core/evaluators/src/client"
|
|
],
|
|
"@nocobase/utils/client": [
|
|
"packages/core/utils/src/client"
|
|
],
|
|
"@nocobase/*": [
|
|
"packages/core/*/src"
|
|
]
|
|
}
|
|
},
|
|
"ts-node": {
|
|
"compilerOptions": {
|
|
"module": "commonjs"
|
|
}
|
|
},
|
|
"include": [
|
|
"packages/**/*",
|
|
"scripts/setupVitest.ts"
|
|
],
|
|
"exclude": [
|
|
"packages/**/node_modules",
|
|
"packages/**/dist",
|
|
"packages/**/lib"
|
|
]
|
|
}
|