mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
37 lines
829 B
Handlebars
37 lines
829 B
Handlebars
{
|
|
"compilerOptions": {
|
|
"target": "ESNext",
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"verbatimModuleSyntax": true,
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"baseUrl": "./",
|
|
"paths": {
|
|
"@/*": ["./src/*"]
|
|
{{#if (eq orm "prisma")}},
|
|
"prisma": ["node_modules/prisma"]
|
|
{{/if}}
|
|
},
|
|
"outDir": "./dist",
|
|
"types": [
|
|
{{#if (eq runtime "node")}}
|
|
"node"
|
|
{{else if (eq runtime "bun")}}
|
|
"bun"
|
|
{{else if (eq runtime "workers")}}
|
|
"@cloudflare/workers-types",
|
|
"node"
|
|
{{else}}
|
|
"node",
|
|
"bun"
|
|
{{/if}}
|
|
],
|
|
{{#unless (or (eq backend "convex") (eq backend "none"))}}
|
|
"composite": true,
|
|
{{/unless}}
|
|
"jsx": "react-jsx"{{#if (eq backend "hono")}},
|
|
"jsxImportSource": "hono/jsx"{{/if}}
|
|
}
|
|
}
|