From ef435a15ca67c829ce6cd8551ac45c419cb9792e Mon Sep 17 00:00:00 2001 From: Pawel Zelawski Date: Thu, 10 Apr 2025 10:46:15 +0200 Subject: 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). --- tsconfig.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 tsconfig.json (limited to 'tsconfig.json') 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 -- cgit v1.2.3