mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-31 05:03:21 +08:00
So we do not get the warning: ESM You have emitDecoratorMetadata enabled but @swc/core was not installed, skipping swc plugin ...anymore
60 lines
1.1 KiB
JSON
60 lines
1.1 KiB
JSON
{
|
|
"compileOnSave": false,
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"incremental": false,
|
|
"noImplicitAny": true,
|
|
"jsx": "react",
|
|
"moduleResolution": "Node",
|
|
"target": "ES2020",
|
|
"module": "CommonJS",
|
|
"skipLibCheck": false,
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"isolatedModules": true,
|
|
"strictBindCallApply": true,
|
|
"lib": [
|
|
"dom",
|
|
"esnext"
|
|
],
|
|
"types": [
|
|
"node",
|
|
"jest"
|
|
],
|
|
"strict": false,
|
|
"strictNullChecks": false,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"resolveJsonModule": true,
|
|
"paths": {
|
|
"verdaccio": [
|
|
"./typings.d.ts"
|
|
]
|
|
}
|
|
},
|
|
"exclude": [
|
|
"dist",
|
|
"**/dist",
|
|
"node_modules",
|
|
"**/node_modules",
|
|
"**/*.spec.ts",
|
|
"**/__tests__",
|
|
"**/*.test.ts",
|
|
"**/setup-jest.ts"
|
|
],
|
|
"include": [
|
|
"./**/*"
|
|
],
|
|
"ts-node": {
|
|
"transpileOnly": true,
|
|
"files": true,
|
|
"compilerOptions": {
|
|
"types": [
|
|
"node"
|
|
]
|
|
}
|
|
}
|
|
} |