Sets up the basic project configuration for Cognitive Clarity. This includes: - Initializing `package.json` with necessary dependencies (React, Gemini API, Lucide React) and build scripts for Vite. - Creating a basic `index.html` with Tailwind CSS and Google Fonts integration. - Setting up `index.tsx` as the React application entry point. - Configuring `tsconfig.json` for TypeScript compilation with Vite. - Establishing `vite.config.ts` for development server setup and environment variable handling. - Adding a standard `.gitignore` file. - Updating `README.md` with local run instructions and AI Studio links. - Defining `metadata.json` for application details. - Creating core type definitions in `types.ts`. - Populating `constants.ts` with initial CBT glossary terms. - Adding utility functions for audio processing in `services/audioUtils.ts`.
29 lines
542 B
JSON
29 lines
542 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"experimentalDecorators": true,
|
|
"useDefineForClassFields": false,
|
|
"module": "ESNext",
|
|
"lib": [
|
|
"ES2022",
|
|
"DOM",
|
|
"DOM.Iterable"
|
|
],
|
|
"skipLibCheck": true,
|
|
"types": [
|
|
"node"
|
|
],
|
|
"moduleResolution": "bundler",
|
|
"isolatedModules": true,
|
|
"moduleDetection": "force",
|
|
"allowJs": true,
|
|
"jsx": "react-jsx",
|
|
"paths": {
|
|
"@/*": [
|
|
"./*"
|
|
]
|
|
},
|
|
"allowImportingTsExtensions": true,
|
|
"noEmit": true
|
|
}
|
|
} |