/
tsconfig.json__tmpl__
26 lines (26 loc) · 1.15 KB
/
tsconfig.json__tmpl__
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
{
"extends": "../tsconfig.json",
"compilerOptions": {
"emitDecoratorMetadata": true
<% if(uiFramework === '@storybook/react') { %>, "outDir": "" <% } %>
},
<% if(uiFramework === '@storybook/react') { %>"files": [
"<%= offsetFromRoot %>../node_modules/@nrwl/react/typings/styled-jsx.d.ts",
"<%= offsetFromRoot %>../node_modules/@nrwl/react/typings/cssmodule.d.ts",
"<%= offsetFromRoot %>../node_modules/@nrwl/react/typings/image.d.ts"
],<% } %>
"exclude": ["../**/*.spec.ts" <% if(uiFramework === '@storybook/react') { %>, "../**/*.spec.js", "../**/*.spec.tsx", "../**/*.spec.jsx"<% } %>],
"include": [<% if(uiFramework === '@storybook/angular' && projectType === 'library') { %>
"../**/*.stories.ts",
"../**/*.stories.js",
"../**/*.stories.jsx",
"../**/*.stories.tsx",
"../**/*.stories.mdx",
"*.js"<% } else { %>
"../<%= mainDir %>/**/*.stories.ts",
"../<%= mainDir %>/**/*.stories.js",
"../<%= mainDir %>/**/*.stories.jsx",
"../<%= mainDir %>/**/*.stories.tsx",
"../<%= mainDir %>/**/*.stories.mdx",
"*.js"<% if(uiFramework === '@storybook/react-native') { %>, "*.ts", "*.tsx"<% } %><% } %>]
}