b7c9604cc7
### What? * Updates to the pre-existing [`with-stripe-typescript` example](https://github.com/vercel/next.js/tree/canary/examples/with-stripe-typescript). ### Why? * Uses latest Stripe best practices. * Updates to App Router. Co-authored-by: Michael Novotny <446260+manovotny@users.noreply.github.com> Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com>
34 lines
858 B
JSON
34 lines
858 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2019",
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"resolveJsonModule": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"isolatedModules": true,
|
|
"incremental": true,
|
|
"jsx": "preserve",
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/actions/*": ["app/actions/*"],
|
|
"@/components/*": ["app/components/*"],
|
|
"@/config": ["config/"],
|
|
"@/lib/*": ["lib/*"],
|
|
"@/utils/*": ["utils/*"]
|
|
},
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
]
|
|
},
|
|
"exclude": ["node_modules"],
|
|
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"]
|
|
}
|