summaryrefslogtreecommitdiff
path: root/tsconfig.json
diff options
context:
space:
mode:
authorPawel Zelawski <pawel.zelawski@outlook.com>2025-04-10 10:46:15 +0200
committerPawel Zelawski <pawel.zelawski@outlook.com>2025-04-10 10:46:15 +0200
commitef435a15ca67c829ce6cd8551ac45c419cb9792e (patch)
treed8c1cbe036370d6952a306f0fea0a7de3522ae31 /tsconfig.json
parentb290aec2899208169b5f90c9e2b66ebffd565a87 (diff)
feat: setup project structure and tooling
- Initialized npm project and added core dependencies (React, Express, etc.). - Added development dependencies (TypeScript, Vite, ESLint, Prettier, etc.). - Configured TypeScript (`tsconfig.json`). - Configured Vite (`vite.config.ts`) with React plugin and API proxy. - Configured ESLint (`.eslintrc.cjs`) and Prettier (`.prettierrc.cjs`, `.prettierignore`). - Added standard `.gitignore`. - Created basic project structure (`src/client`, `src/server`, `public`). - Created default `.env` file (PORT=3001, PUBLIC_URL=http://localhost:3001).
Diffstat (limited to 'tsconfig.json')
-rw-r--r--tsconfig.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/tsconfig.json b/tsconfig.json
new file mode 100644
index 0000000..c3d78aa
--- /dev/null
+++ b/tsconfig.json
@@ -0,0 +1,24 @@
+{
+ "compilerOptions": {
+ "target": "ESNext",
+ "module": "ESNext",
+ "lib": ["DOM", "DOM.Iterable", "ESNext"],
+ "jsx": "react-jsx",
+ "moduleResolution": "Node",
+ "resolveJsonModule": true,
+ "isolatedModules": true,
+ "allowSyntheticDefaultImports": true,
+ "esModuleInterop": true,
+ "forceConsistentCasingInFileNames": true,
+ "strict": true,
+ "skipLibCheck": true,
+ "baseUrl": ".",
+ "paths": {
+ "~/*": ["./src/*"]
+ },
+ "outDir": "dist",
+ "noEmit": true
+ },
+ "include": ["src", "vite.config.ts", ".eslintrc.cjs"],
+ "exclude": ["node_modules", "dist"]
+} \ No newline at end of file