forked from binary-com/deriv-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
38 lines (38 loc) · 1.3 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"baseUrl": "src",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": false,
"jsx": "react-jsx",
"lib": ["dom", "esnext", "dom.iterable"],
"module": "esnext",
"moduleResolution": "Node",
"strict": true,
"target": "esnext",
"useDefineForClassFields": true,
"sourceMap": true,
"declaration": true,
"emitDeclarationOnly": true,
"declarationDir": "./dist/types",
"resolveJsonModule": true,
"outDir": "dist",
"types": ["node", "react", "jest", "@types/testing-library__jest-dom"],
"paths": {
"test-setup": ["test-setup"],
"Styles/*": ["styles/*"],
// TODO: Remove @ to replace with Capitalisation to avoid conflicts with node modules
"@assets/*": ["images/*"],
"@core/*": ["components/core/*"],
"@utils/*": ["utils/*"]
}
},
"ts-node": {
"compilerOptions": {
"module": "CommonJS"
}
},
"include": ["src", "*.d.ts", "./jest.setup.ts"],
"exclude": ["node_modules", "dist", "*.md", "./src/test-setup.tsx", "**/text.stories.tsx", "**/button.stories.tsx"]
}